Book description
In just 24 sessions of one hour or less, start using Core Data to build powerful data-driven apps for iOS devices and Mac OS X computers! Using this book’s straightforward, step-by-step approach, you’ll discover how Apple’s built-in data persistence framework can help you meet any data-related requirement, from casual to enterprise-class. Beginning with the absolute basics, you’ll learn how to create data models, build interfaces, interact with users, work with data sources and table views. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!
Step-by-step instructions carefully walk you through the most common Core Data development tasks.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
Notes present interesting information related to the discussion.
Tips offer advice or show you easier ways to perform tasks.
Cautions alert you to possible problems and give you advice on how to avoid them.
Jesse Feiler is a leading expert on Apple database development. Feiler has worked with databases since the 1980s, writing about technologies that have since evolved into Core Data. His database clients have included Federal Reserve Bank of New York, Young & Rubicam, and many small and nonprofit organizations. His recent books include Data-Driven iOS Apps for iPad and iPhone with FileMaker Pro, Bento by FileMaker, and FileMaker Go; and FileMaker 12 in Depth.
Learn how to…
• Start writing database apps fast, with Xcode 4’s powerful tools and templates
• Master the Objective-C features and patterns Core Data relies upon
• Understand Core Data’s goals, components, and behavior
• Model data graphically with Xcode 4’s Data Model Editor
• Leverage the full power of Managed Objects
• Use controllers to integrate your data model with your code
• Fetch, use, and store data from any source
• Develop interfaces and features more quickly with Interface Builder
• Add navigation and control features that integrate seamlessly with Core Data
• Interact with users via popovers, segmented controls, action sheets, and tab bars
• Create table views that users can edit
• Let Xcode 4 and Core Data validate your data for you
• Use predicates to precisely select the right data
• Get ready for iCloud features to sync and move data among your iCloud-enabled devices
Category: iOS/Mac Programming
Covers: Core Data
User Level: Beginning-to-Intermediate
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Acknowledgments
- Want to Hear from You!
- Reader Services
- Introduction
-
Part I. Getting Started with Core Data
-
Hour 1. Introducing Xcode 4
- Getting to Know Xcode
- Goodbye “Hello, World”
- Hello, App Development for Mac OS X and iOS
- Getting Started with Xcode
- Using the Navigator
- Using Editors
- Working with Assistant
- Getting Help in an Editor Window
- Using Utilities—Inspectors
- Using Utilities—Libraries
- Using the Text Editor
- Using the Organizer Window
- Summary
- Workshop
- Activities
- Hour 2. Creating a Simple App
- Hour 3. Understanding the Basic Code Structure
-
Hour 1. Introducing Xcode 4
-
Part II. Using Core Data
- Hour 4. Getting the Big Core Data Picture
- Hour 5. Working with Data Models
- Hour 6. Working with the Core Data Model Editor
- Hour 7. What Managed Objects Can Do
- Hour 8. Controllers: Integrating the Data Model with Your Code
-
Hour 9. Fetching Data
- Choosing the Core Data Architecture
- Exploring the Core Data Fetching Process
- Using Managed Object Contexts
- Creating and Using a Fetch Request
- Stopping the Action to Add New Data
- Optimizing Interfaces for Core Data
- Taking Advantage of Mac OS Interface Features for Core Data
- Taking Advantage of iOS Interface Features for Core Data
- Summary
- Workshop
- Activities
- Hour 10. Working with Predicates and Sorting
- Part III. Developing the Core Data Interface
- Part IV. Building the Core Data Code
- Part V. Managing Data and Interfaces
- Appendix A. What’s Old in Core Data, Cocoa, Xcode, and Objective-C
- Index
Product information
- Title: Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours, Second Edition
- Author(s):
- Release date: June 2012
- Publisher(s): Sams
- ISBN: 9780133105100
You might also like
book
iOS Auto Layout Demystified, Second Edition
Completed Updated for iOS 7 and Xcode 5 Auto Layout transforms the way you create iOS …
book
iOS UICollectionView: The Complete Guide, Second Edition
Fully updated for iOS 7, will help you build highly immersive, cutting-edge iOS user interfaces that …
book
iOS 5 Recipes: A Problem-Solution Approach
iOS 5 Recipes: A Problem-Solution Approach is your guide to developing solutions on iPad, iPhone, and …
video
iOS 11 Programming with SWIFT: Develop iOS mobile applications from scratch
You want to build iOS applications for the iPhone and iPad, but where do you start? …