1.

Record Nr.

UNINA9910438104103321

Autore

Lee Keith

Titolo

Pro Objective-C / / Keith Lee

Pubbl/distr/stampa

New York : , : Apress, , 2013

ISBN

1-4302-5051-8

Edizione

[1st ed. 2013.]

Descrizione fisica

1 online resource (xxviii, 446 pages) : illustrations (some color)

Collana

Gale eBooks

Disciplina

004

005.117

Soggetti

Objective-C (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

"Develop high-quality, professional apps on OS X and iOS with Objective-C"--Cover.

Includes index.

Nota di bibliografia

Includes bibliographical references and index.

Nota di contenuto

""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer ""; ""Acknowledgments""; ""Introduction""; ""Chapter 1: Getting Started""; ""Introduction""; ""Apple Objective-C Platform""; ""Why Objective-C?""; ""Developing a Simple Objective-C Program""; ""Creating the Project""; ""Xcode Workspace""; ""Completing Your Test Drive""; ""Roundup""; ""Chapter 2: Using Classes""; ""Developing Your First Class""; ""Adding a Class to the Project""; ""Coding the Atom Class Interface""; ""Coding the Atom Class Implementation""; ""Instance Variables""

""Instance Variable Access""""Declaring Instance Variables""; ""Accessing Instance Variables""; ""Properties""; ""Property Declaration""; ""Property Attributes""; ""Property Definition""; ""Explicit Definition""; ""Synthesis via Keyword""; ""Autosynthesis""; ""Dynamic Generation""; ""Property-Backed Instance Variables""; ""Property Access""; ""Methods""; ""Syntax""; ""Invoking Methods""; ""Protocol""; ""Syntax""; ""Category""; ""Extensions""; ""Roundup""; ""Chapter 3: Objects and Messaging""; ""Creating Objects""; ""Object Initialization""; ""Extending the Elements Project""

""Refactoring the Atom Class""""Creating the Hydrogen Initializer Method""; ""Creating a Hydrogen Factory Method""; ""Message Dispatch""; ""Message Forwarding""; ""Forwarding Options""; ""Adding Fast Forwarding to the Hydrogen Class""; ""Message Forwarding Helper



Class""; ""Roundup""; ""Chapter 4: Memory Management""; ""Program Memory Usage""; ""Objective-C Memory Model""; ""Implementing Manual Retain-Release""; ""Object Reference and Object Ownership""; ""Basic Memory Management Rules""; ""Deallocating Memory""; ""Delayed Release via Autorelease""; ""Using MRR""

""Using Automatic Reference Counting""""Rules and Conventions for Using ARC""; ""ARC Lifetime Qualifiers""; ""Using ARC""; ""Avoiding Circular References""; ""Roundup""; ""Chapter 5: The Preprocessor""; ""Overview""; ""Operations""; ""Preprocessor Language""; ""Directives""; ""Header File Inclusion""; ""Conditional Compilation""; ""Diagnostics""; ""Pragma""; ""Macros""; ""Warning, Don�t Overuse Macros!""; ""Roundup""; ""Chapter 6: Expert Section Using ARC""; ""ARC and Object Ownership""; ""Claiming Ownership Interest in Objects""; ""Releasing Ownership Interest in Objects""

""Variable Reassignment""""nil Assignment""; ""Owner Deallocation""; ""Creating Multiple Order Entries""; ""Using ARC with Apple Frameworks and Services""; ""Objective-C Toll Free Bridging""; ""ARC Bridged Casts""; ""Using ARC Bridged Casts""; ""Roundup""; ""Chapter 7: Runtime System""; ""Dynamic Features""; ""Object Messaging""; ""Selectors""; ""Empty Selector Segments""; ""The SEL Type""; ""Method Signatures""; ""Using Object Messaging""; ""Dynamic Typing""; ""Dynamic Binding""; ""Dynamic Method Resolution""; ""Providing a Method Implementation Dynamically""; ""Dynamic Loading""

""Introspection""

Sommario/riassunto

The Objective-C programming language continues to grow in popularity and usage because of the power and ease-of-use of the language itself, along with the numerous features that continue to be added to the platform.  If you have a basic knowledge of the language and want to further your expertise, Pro Objective-C is the book for you. Pro Objective-C provides an in-depth, comprehensive guide to the language, its runtime, and key API’s. It explains the key concepts of Objective-C in a clear, easy to understand manner, and also provides detailed coverage of its more complex features. In addition, the book includes numerous practical examples--code excerpts and complete applications--that demonstrate how to apply in code what you’re learning. The book begins with an exploration of Objective-C's basic features and key language elements. After reviewing the basics, it proceeds with an in-depth examination of the Objective-C dynamic programming features and runtime system. Next the book covers the Foundation Framework, the base layer of APIs that can be used for any Objective-C program. Finally, new and advanced features of Objective-C are introduced and shown how they make the Objective-C language even more powerful and expressive. Each topic is covered thoroughly and is packed with the details you need to develop Objective-C code effectively. The most important features are given in-depth treatment, and each chapter contains numerous examples that demonstrate both the power and the subtlety of Objective-C. Start reading Pro Objective-C and begin developing high-quality, professional apps on the OS X and iOS platforms using the Objective-C programming language!