1.

Record Nr.

UNINA9910141049903321

Autore

DeVoe Jiva

Titolo

Objective-c [[electronic resource] /] / Jiva DeVoe

Pubbl/distr/stampa

Indianapolis, IN, : Wiley Pub., Inc, 2011

ISBN

1-283-02609-0

9786613026095

1-118-25769-3

1-118-00340-3

Edizione

[1st edition]

Descrizione fisica

1 online resource (403 p.)

Collana

Developer Reference ; ; v.29

Disciplina

005.1/17

005.117

Soggetti

Object-oriented programming (Computer science)

Programming languages (Electronic computers)

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Objective-C; About the Author; Credits; Preface; Acknowledgments; Contents; Part I: Introducing Objective-C; Chapter 1: Introducing Objective-C; Using Xcode for Development; Understanding the Compilation Process; Using the Xcode Static Analyzer; Understanding the Objective-C Runtime; Summary; Chapter 2: Understanding Basic Syntax; Working with Statements and Expressions; Working with Functions; Controlling Program Flow; Applying What You Have Learned; Summary; Chapter 3: Adding Objects; Understanding Objects; Working with Properties; Applying Objects

Chapter 4: Understanding Objective-C Memory ManagementUsing Reference Counting; Using Garbage Collection; Exploring Key Garbage Collector Patterns; Understanding What Memory Management Model to Use for Your Projects; Summary; Part II: Exploring Deeper Features; Chapter 5: Working with Blocks; Understanding Blocks; Understanding Important Block Scoping; Using Blocks with Threads; Working with Common Block Design Patterns; Applying Blocks to an Embarrassingly Parallel Task; Summary; Chapter 6: Using Key Value Coding and Key Value Observing; Accessing Object Properties Using Key Value Coding



Observing Changes to KVC-Compliant ValuesApplying Key Value Observing; Summary; Chapter 7: Working with Protocols; Favoring Composition Over Inheritance; Implementing Protocols in Your Objects; Exploring examples of protocol use; Summary; Chapter 8: Extending Existing Class Capabilities; Working with Third-Party Frameworks and Classes; Working with Categories; Extending Classes using Anonymous Categories; Associating Variables with Existing Classes; Summary; Chapter 9: Writing Macros; Reviewing the Compilation Process; Defining Macros; Summary; Chapter 10: Handling Errors; Classifying Errors

Using the Different Mechanisms for Error HandlingSummary; Part III: Using the Foundation Framework; Chapter 11: Understanding How the Frameworks Fit Together; Understanding the Foundation Framework; Using Frameworks in Your Projects; Summary; Chapter 12: Using Strings; Understanding the String Declaration Syntax; Summary; Chapter 13: Working with Collections; Working with Arrays; Understanding Collections and Memory Management; Enumerating; Sending Messages to Elements; Sorting and Filtering; Using Blocks with Collections; Summary; Chapter 14: Using NSValue, NSNumber, and NSData

Using NSValue and NSNumberUsing NSData and NSMutableData; Summary; Chapter 15: Working with Times and Dates; Using NSDateFormatter; Summary; Part IV: Exploring Advanced Topics; Chapter 16: Multiprocessing with Threads; Synchronizing Code; Using NSThread; Using NSOperation and NSOperationQueue; Summary; Chapter 17: Objective-C Design Patterns; Recognizing Patterns in Solutions; Describing Design Patterns in Objective-C; Summary; Chapter 18: Reading and Writing Data with NSCoder; Using NSArchiver and NSUnarchiver; Working with Archiver File Formats and Legacy Data; Summary

Chapter 19: Using Objective-C on Other Platforms

Sommario/riassunto

A soup-to-nuts guide on the Objective-C programming language Objective-C is the language behind Cocoa and Cocoa Touch, which is the Framework of applications written for the Macintosh, iPod touch, iPhone, and iPad platforms. Part of the Developer Reference series covering the hottest Apple topics, this book covers everything from the basics of the C language to advanced aspects of Apple development. You'll examine Objective-C and high-level subjects of frameworks, threading, networking, and much more.Covers the basics of the C language and then quickly moves onto Object