Documentation Archive Developer
Search

ScriptingBridge Changes

ScriptingBridge

Modified SBApplication
Introduction
FromOS X 10.10
ToOS X 10.5

Modified SBApplication.init(URL: NSURL!)
Declaration
From
init(URL url: NSURL!)
To
init!(URL url: NSURL!)

Modified SBApplication.init(bundleIdentifier: String!)
Declaration
From
init(bundleIdentifier ident: String!)
To
init!(bundleIdentifier ident: String!)

Modified SBApplication.init(processIdentifier: pid_t)
Declaration
From
init(processIdentifier pid: pid_t)
To
init!(processIdentifier pid: pid_t)

Modified SBApplicationDelegate.eventDidFail(UnsafePointer<AppleEvent>, withError: NSError!) -> AnyObject!
Declaration
From
func eventDidFail(_ event: ConstUnsafePointer<AppleEvent>, withError error: NSError!) -> AnyObject!
To
func eventDidFail(_ event: UnsafePointer<AppleEvent>, withError error: NSError!) -> AnyObject!

Modified SBElementArray
Introduction
FromOS X 10.10
ToOS X 10.5

Modified SBObject
Introduction
FromOS X 10.10
ToOS X 10.5

Modified SBObject.init()
Declaration
From
init()
To
init!()

Modified SBObject.init(data: AnyObject!)
Declaration
From
init(data data: AnyObject!)
To
init!(data data: AnyObject!)

Modified SBObject.init(elementCode: DescType, properties:[NSObject: AnyObject]!, data: AnyObject!)
Declaration
From
init(elementCode code: DescType, properties properties: [NSObject : AnyObject]!, data data: AnyObject!)
To
init!(elementCode code: DescType, properties properties: [NSObject : AnyObject]!, data data: AnyObject!)

Modified SBObject.lastError() -> NSError!
Introduction
FromOS X 10.10
ToOS X 10.6

Modified SBObject.init(properties: [NSObject: AnyObject]!)
Declaration
From
init(properties properties: [NSObject : AnyObject]!)
To
init!(properties properties: [NSObject : AnyObject]!)