: David Mark, Jeff LaMarche
: More iPhone 3 Development Tackling iPhone SDK 3
: Apress
: 9781430225065
: 1
: CHF 32.80
:
: Allgemeines, Lexika
: English
: 552
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

Interested in iPhone development? Want to learn more? Whether you're a self-taught iPhone development genius or have just made your way through the pages ofBeginning iPhone 3 Development, we have the perfect book for you.

More iPhone 3 Development: Tackling iPhone SDK 3 digs deeper into Apple's latest SDK. Best-selling authorsDave Mark andJeff LaMarche explain concepts as only they can, covering topics like Core Data, peer-to-peer networking using GameKit and network streams, working with data from the web, MapKit, in-application e-mail, and more. All the concepts and APIs are clearly presented with code snippets you can customize and use, as you like, in your own apps.

If you are going to write a professional iPhone app, you'll want to get your arms around Core Data, and there's no better place to do so than in the pages of this book. The book continues right whereBeginning iPhone 3 Development left off with a series of chapters devoted to Core Data, the standard for persistence that Apple introduced to iPhone with SDK 3. Jeff and Dave carefully step through each of the Core Data concepts and show you techniques and tips specifically for writing larger applications-offering a breadth of coverage you won't find anywhere else.

The Core Data coverage alone is worth the price of admission. But there's so much more. This book covers a variety of networking mechanisms, from GameKit's relatively simple BlueTooth peer-to-peer model, to the addition of Bonjour discovery and network streams, through the complexity of accessing files via the web. Dave and Jeff will also take you through coverage of concurrent programming and some advanced techniques for debugging your applications.

Whether you are a relative newcomer to iPhone development or an old hand looking to expand your horizons, there's something for everyone inMore iPhone 3 Development.

Note: A few of the apps in this book demonstrate technologies not yet supported by the simulator. To run them on your iPhone or iPod touch, you'll need to join one of Apple's paid iPhone developer programs.



Dave Mark is a longtime Mac developer and author who has written a number of books on Mac and iOS development, including Beginning iPhone 4 Development (Apress, 2010), More iPhone 3 Development (Apress, 2010), Learn C on the Mac (Apress, 2008), The Macintosh Programming Primer series (Addison-Wesley, 1992), and Ultimate Mac Programming (Wiley, 1995). Dave loves the water and spends as much time as possible on it, in it, or near it. He lives with his wife and three children in Virginia.
Contents at a Glance5
Table of contents 6
About the Authors13
About the Technical Reviewer14
Acknowledgments15
Preface16
Chapter 1 Here We Go Round Again17
What This Book Is17
What You Need to Know17
What You Need Before You Can Begin18
What s In this Book20
Are You Ready?22
Chapter 2 The Anatomy of Core Data24
A Brief History of Core Data25
Creating a Core Data Template Application25
Core Data Concepts and Terminology27
The Data Model and Persistent Store28
The Data Model Class: NSManagedObjectModel29
The Persistent Store and the Persistent Store Coordinator31
Reviewing the Data Model33
Entities and the Data Model Editor33
Entities33
Properties34
Attributes34
Relationships35
Fetched Properties36
Fetch Requests36
Managed Objects36
Key-Value Coding36
Managed Object Context37
Saves on Terminate38
Loading Data from the Persistent Store39
The Fetched Results Controller41
Creating a Fetched Results Controller41
The Fetched Results Controller Delegate Methods44
Will Change Content Delegate Method44
Did Change Content Delegate Method45
Did Change Object Delegate Method45
Did Change Section Delegate Method50
Retrieving a Managed Object from the Fetched ResultsController51
Creating and Inserting a New Managed Object51
Deleting Managed Objects53
Putting Everything in Context54
Chapter 3 A Super Start: Adding, Displaying, and Deleting Data56
Setting up the Xcode Project57
Application Architecture58
Modifying the Application Delegate Interface59
Adding to the Application Delegate Implementation60
Creating the Table View Controller61
Setting up Main Window.xib62
Connecting the Outlets65
Designing the Data Model65
Adding an Entity66
Editing the New Entity67
Adding Attributes to the New Entity69
Adding the Name Attribute69
Editing the Attribute70
Attribute Types71
The Integer Datatypes71
The Decimal, Double, and Float Datatypes72
The String Datatype72