Learn Objective-C on the Mac [electronic resource] : For OS X and iOS /
Knaster, Scott.author.
Dalrymple, Mark.author.
Malik, Waqar.author.
Learn to write apps for some of today's hottest technologies, including the iPhone and iPad (using iOS), as well as the Mac (using OS X). It starts with Objective-C, the base language on which the native iOS software development kit (SDK) and the OS X are based. Learn Objective-C on the Mac: For OS X and iOS, Second Edition updates a best selling book and is an extensive, newly updated guide to Objective-C. Objective-C is a powerful, object-oriented extension of C, making this update the perfect follow-up to Dave Mark's bestselling Learn C on the Mac. Whether you're an experienced C programmer or you're coming from a different language such as C++ or Java, leading Mac experts Scott Knaster and Waqar Malik show how to harness the power of Objective-C in your apps! A complete course on the basics of Objective-C using Apple's newest Xcode tools An introduction to object-oriented programming Comprehensive coverage of new topics like blocks, GCD, ARC, class extensions, as well as inheritance, composition, object initialization, categories, protocols, memory management, and organizing source files An introduction to building user interfaces using what is called the UIKit A primer for non-C programmers to get off the ground even faster.
Title page; Copyright page; Contents at a glance; Table of contents; Objective-C Objects; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Working with This Book; Chapter 1: Hello; Before You Start; Where the Future Was Made Yesterday; What's Coming Up; Getting Ready; Summary; Chapter 2: Extensions to C; The Simplest Objective-C Program; Building Hello Objective-C; Deconstructing Hello Objective-C; That Wacky #import Thing; Introducing Frameworks; NSLog() and @""strings""; The NS Prefix: A Prescription Against Name Collisions; NSString: Where it's @
Are You the Boolean Type?Mighty BOOL in Action; The First Function; The Second Function; The Comparison Itself; Summary; Chapter 3: Introduction to Object-Oriented Programming; It's All Indirection; Variables and Indirection; Indirection Through Filenames; Using Indirection in Object-Oriented Programming; Procedural Programming; The Shape of Things to Draw; The Part That Does the Work; Implementing Object Orientation; Time Out for Terminology; OOP in Objective-C; The @interface Section; The @implementation Section; Instantiating Objects; Extending Shapes-Object; Summary
Chapter 4: InheritanceWhy Use Inheritance?; Inheritance Syntax; Time Out for Terminology; How Inheritance Works; Method Dispatching; Instance Variables; Overriding Methods; I Feel Super!; Summary; Chapter 5: Composition; What Is Composition?; Car Talk; Customizing for NSLog(); Accessor Methods; Setting the Engine; Setting the Tires; Tracking Changes to Car; Extending CarParts; Composition or Inheritance?; Summary; Chapter 6: Source File Organization; Split Interface and Implementation; Making New Files in Xcode; Breaking Apart the Car; Using Cross-File Dependencies
Recompiling on a Need-to-Know BasisMaking the Car Go; Importation and Inheritance; Summary; Chapter 7: More About Xcode; One Window to Rule Them All; Changing the Company Name; Using Editor Tips and Tricks; Writing Your Code with a Little Help from Xcode; Indentation (Pretty Printing); You Complete Me; Kissing Parentheses; Mass Edits; Navigating Around in Your Code; emacs is Not a Mac; Open Sesame Seed!; Focus Your Energy; The Navigation Bar Is Open; Getting Information; A Little Help, Please; Is There a Documentor in the House?; Debugging; Crush Puny Bugs; Xcode's Debugger; Subtle Symbolism
Let's Debug!Taking a Look-See; Cheat Sheet; Summary; Chapter 8: A Quick Tour of the Foundation Kit; Solid Foundation; Using the Project Boilerplate Code; Some Useful Types; Home on the Range; Geometric Types; Stringing Us Along; Build That String; Class Methods; Size Matters; Comparative Politics; Insensitivity Training; Is It Inside?; Mutability; Collection Agency; NSArray; Mutable Arrays; Enumeration Nation; Fast Enumeration; NSDictionary; Use but Don't Extend; Family Values; NSNumber; NSValue; NSNull; Example: Looking for Files; Behind the Sign That Says "Beware of the Leopard"; Summary
Chapter 9: Memory Management
Rev. ed. of: Learn Objective-C on the Mac / Mark Dalrymple. c2009.
Includes index.
Learn to write apps for some of today's hottest technologies, including the iPhone and iPad (using iOS), as well as the Mac (using OS X). It starts with Objective-C, the base language on which the native iOS software development kit (SDK) and the OS X are based. Learn Objective-C on the Mac: For OS X and iOS, Second Edition updates a best selling book and is an extensive, newly updated guide to Objective-C. Objective-C is a powerful, object-oriented extension of C, making this update the perfect follow-up to Dave Mark's bestselling Learn C on the Mac. Whether you're an experienced C programmer or you're coming from a different language such as C++ or Java, leading Mac experts Scott Knaster and Waqar Malik show how to harness the power of Objective-C in your apps! A complete course on the basics of Objective-C using Apple's newest Xcode tools An introduction to object-oriented programming Comprehensive coverage of new topics like blocks, GCD, ARC, class extensions, as well as inheritance, composition, object initialization, categories, protocols, memory management, and organizing source files An introduction to building user interfaces using what is called the UIKit A primer for non-C programmers to get off the ground even faster.
Mac OS
Apple computer.
Software engineering.
Apple and iOS.
Software Engineering/Programming and Operating Systems.