O'Reilly logo

iOS App Development Portable Genius by Richard Wentk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6: How Do I Use Objects in My Code?

9781118462133-co0601.tif

Objective-C is very different from C. The code looks similar, and many apps combine elements of both languages. But using Objective-C makes you think about the design of your app in a more abstract way that is less tied to computer hardware. Objective-C is a much looser language than C, and you can use its features to change how your app responds to events as it runs. With Objective-C, the goal isn’t just code that works; the goal is intelligent code with a wide range of possible behaviors. You can use Objective-C to create simple, linear code, but its powerful features can help you add smarts to your apps.

Moving from C to Objective-C

Introducing Objective-C Code

Defining Classes in Your App

Going Deeper with Objective-C

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required