Using Swift with Cocoa and Objective-C (Swift 4.0.3)
Swift Programming Series
This book can be downloaded and read in iBooks on your Mac or iOS device.
Swift is a programming language for iOS, macOS, watchOS, and tvOS app development. It is designed to seamlessly integrate with Cocoa, Cocoa Touch, and Objective-C, allowing you to use the same familiar classes, patterns, and practices to build apps. Swift makes working with Cocoa and Objective-C safer, faster, easier, and more fun.
This book provides:
– An overview of a Swift Xcode project
– Design patterns and best practices for working with Cocoa, Objective-C, and C
– Step–by–step instructions to use Swift and Objective-C in the same app
– Strategies to migrate your Objective-C code to Swift
Everything you need to mix and match Objective-C and Swift
This book contains all the material you need to incorporate Objective-C (and some C) code in your Swift application (including code from Apple Cocoa Frameworks), and also how to migrate applications from Objective-C to Swift.