![]() NSInteger score = 556 NSString *name = BOOL loggedIn = NO Variables and constants Create a variable If you can already program in Swift and want to get up to speed with Objective-C as quickly as possible, I have just the book for you: Objective-C for Swift Developers. Where necessary I have added small clarification notes to give you more understanding. In all instances, Objective-C code is shown on the left and the equivalent Swift code on the right. Well, that's exactly what you'll find below: a Rosetta stone of Apple development, demonstrating variables, collections, functions, classes, and more. ![]() ![]() If you're moving from Objective-C to Swift, or perhaps from Swift to Objective-C, it can be useful to have a quick start guide showing equivalent code samples in both languages. ![]()
0 Comments
Leave a Reply. |