Chapter 15. Interacting with Objective-C

The future for OS X and iOS development very clearly lies in Swift. Given that it’s a completely new language, and Cocoa development is so closely tied to Objective-C, convincing developers to move across completely without ensuring some level of interoperability would never have been an easy task.

Fortunately, the level of integration between the two languages can be adjusted to suit the individual developer or organization. You can selectively introduce Swift classes to an existing Objective-C project, or include entire Swift-based frameworks, allowing you to start small and introduce greater amounts of Swift code as time goes on.

Conversely, if you want to start new projects in Swift, yet still leverage ...

Get Swift Translation Guide for Objective-C Users: Develop and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.