BlackBerry
Dynamics and the
Swift programming
language
BlackBerry
Dynamics
and the
Swift
programming
languageThe
BlackBerry Dynamics SDK for iOS
is
compatible with the Swift
programming language from Apple
(for supported versions, see Software requirements). Note the following limitations and best practices:
Item | Description |
---|---|
Xcode template | The easiest way to use Swift with the BlackBerry Dynamics SDK is to create a
new Xcode project with the Single View template that includes all
necessary frameworks and compile-time directives. For more information about
creating the template, see Create an Objective-C or Swift project with the Xcode template.You can include your Swift source files
into the project and build with Xcode . |
Sample apps | The BlackBerry Dynamics SDK includes the following sample apps in Swift . The sample
apps are stored in ~/Library/Application
Support/BlackBerry/Good.platform/iOS/Examples/. The Swift 3 versions
are located in the "swift" folder, and the Swift 4 versions
are located in the "swift4" folder. iPhone X is the default device for the Swift 4.0 sample
applications.
|