Skip to main content

Objective-C Programming For Dummies

Objective-C Programming For Dummies

Neal Goldstein

ISBN: 978-1-118-21398-8

Oct 2012

480 pages

In Stock



A step-by-step guide to understanding object-oriented programming with Objective-C

As the primary programming language for iPhone, iPad, and Mac OS X applications, Objective-C is a reflective, object-oriented language that all programmers must know before creating apps. Assuming no prior programming language experience, this fun-and-friendly book provides you with a solid understanding of Objective-C. Addressing the latest version of Xcode, debugging, code completion, and more, veteran author Neal Goldstein helps you gain a solid foundation of this complex topic, and filters out any unnecessary intricate technical jargon.

  • Assumes no prior knowledge of programming and keeps the tone clear and entertaining
  • Explains complicated topics regarding Objective-C with clarity and in a straightforward-but-fun style that has defined the For Dummies brand for 20 years
  • Features all material completely compliant with the latest standards for Objective-C and Apple programming

Objective-C Programming For Dummies is the ideal beginner book if your objective is to venture into iPhone, iPad, and Mac OS X development for the first time!

Introduction 1

Part I: Getting to the Starting Line 7

Chapter 1: Computer Programming Exposed! 9

Chapter 2: Creating Your First Program 21

Chapter 3: The Object in Objective-C 63

Part II: Speaking the Language of Objective-C 71

Chapter 4: Language and Programming Basics 73

Chapter 5: Functions and Data Structures 111

Chapter 6: Adding a Little More Class to Your Program 145

Chapter 7: Objects Objects Everywhere 175

Chapter 8: Using the Debugger 193

Chapter 9: Using Control Statements and Loops 211

Part III: Walking the Object-Oriented Walk 233

Chapter 10: Basic Inheritance 235

Chapter 11: Encapsulating Objects 255

Chapter 12: The Birth of an Object 275

Chapter 13: Getting a Handle on Memory Management 289

Part IV: Moving from Language to Application 307

Chapter 14: Getting Data from Other Objects 309

Chapter 15: Show Me the Data 323

Chapter 16: Extending the Behavior of Objects 357

Chapter 17: Adding an iPhone User Interface 373

Chapter 18: Adding a Mac User Interface 403

Part V: The Part of Tens 419

Chapter 19: Ten Debugging Tips 421

Chapter 20: Ten Ways to Be a Happy Developer 425

Index 431

Bonus Content
Welcome to Mobile 2.0
Bonus Content Chapter
Block Programming in Objective-C
Chapter 2 Example Files
Chapter 4 Example Files
Chapter 5 Example Files
Chapter 6 Example Files
Chapter 7 Example Files
Chapter 8 Example Files
Chapter 9 Example Files
Chapter 10 Example Files
Chapter 11 Example Files
Chapter 12 Example Files
Chapter 13 Example Files
Chapter 14 Example Files
Chapter 15 Example Files
Chapter 16 Example Files
Chapter 17 Example Files
Chapter 18 Example Files
Welcome to Mobile 2.0
Updates for pages 181 and 187