Using Swift with Cocoa and Objective-C (Swift 4.0.3)

Artist Apple Inc.

Description

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

Reviews

Small immigration from od.c to swift

5

By heyrodrigo

It may not show a full comparison but it gives you advice about migrate from objective c to swift

A quick read - as it should be

5

By kltz

An excellent, concise overview of integrating Swift into an existing Objective-C project. Doesn't need to be too long because the concepts aren't complicated, as it should be. Apple has provided an excellent migration path towards this more modern language!

Kae

5

By iam4kae

Great

You Need This Book

4

By David Steuber

Everything about mixed Objective-C / Swift code is here. This is useful even when you are starting a new project from scratch since you will be using Cocoa or Cocoa Touch.