Cover image for Professional iOS Database Application Programming.
Professional iOS Database Application Programming.
Title:
Professional iOS Database Application Programming.
Author:
Alessi, Patrick.
ISBN:
9781118417577
Personal Author:
Edition:
2nd ed.
Physical Description:
1 online resource (424 pages)
Contents:
Professional: iOS Database Application Programming -- Copyright -- Credits -- About the Author -- About the Technical Editor -- Acknowledgments -- Contents -- Introduction -- What's New in This Edition -- Who This Book is For -- What This Book Covers -- How This Book is Structured -- What You Need to Use This Book -- Conventions -- Source Code -- Errata -- P2P.Wrox.Com -- Part I: Manipulating and Displaying Data on the iPhone and iPad -- Chapter 1: Introducing Data-Driven Applications -- Building a Simple Data-Driven Application -- Creating the Project -- Adding a UITableView -- Retrieving Data -- Implementing Your Data Model Class -- Displaying the Data -- Further Exploration -- Design Patterns -- Reading a Text File -- Moving Forward -- Chapter 2: The iOS Database: SQLite -- What Is SQLite? -- The SQLite Library -- SQLite and Core Data -- Building a Simple Database -- Designing the Database -- Creating the Database -- Populating the Database -- Tools to Visualize the SQLite Database -- Connecting to Your Database -- Starting the Project -- The Model Class -- The DBAccess Class -- Parameterized Queries -- Writing to the Database -- Displaying the Catalog -- Viewing Product Details -- Moving Forward -- Chapter 3: Displaying Your Data: The UITableView -- Customizing the Table View -- Table View Cell Styles -- Adding Subviews to the contentView -- Subclassing UITableViewCell -- Implementing Sections and an Index -- Implementing Search -- Optimizing Table View Performance -- Reusing Existing Cells -- Opaque Subviews -- Custom Drawn Cells with drawRect -- UI Conventions for Accessory Views -- Moving Forward -- Chapter 4: User Interface Elements -- Building Your Interface with Storyboards -- Starting the Storyboard Example Application -- Adding the Sub-detail Screen to the Storyboard -- Adding a Modal Screen to the Storyboard.

Displaying Master/Detail Data with the Split View Controller -- Introducing the UISplitViewController -- The UISplitViewControllerDelegate Protocol -- Starting the Split View Sample Application -- Building the Detail Interface -- Adding Surveys with the Master/Detail View -- Displaying Data in a Popover -- Building the InfoViewController -- Displaying the UIPopoverController -- Gesture Recognizers -- The UIGestureRecognizer Class -- Using Gesture Recognizers -- File Sharing Support -- Enable File Sharing in the Sample Application -- Serializing the Survey Data Array -- Deserializing and Loading the Survey Data Array -- Sharing the Data -- Moving Forward -- Part II: Managing Your Data with Core Data -- Chapter 5: Introducing Core Data -- The Basics of Core Data -- The Core Data Architecture -- The Core Data Stack -- SQLite and Core Data -- Core Data and iCloud -- Data Protection -- Using Core Data: A Simple Task Manager -- Creating the Project -- Examining the Template Code -- Modifying the Template Code -- Moving Forward -- Chapter 6: Modeling Data in Xcode -- Modeling Your Data -- Defining Entities and Their Attributes -- Adding Relationships Between Entities -- Creating Fetched Properties and Fetch Request Templates -- Creating Custom NSManagedObject Subclasses -- Implementing Validation Rules -- Implementing Default Values -- Creating the Tasks Model -- Moving Forward -- Chapter 7: Building a Core Data Application -- The Tasks Application Architecture -- The Data Model -- The Class Model -- The User Interface -- Coding the Application -- MasterViewController and the Basic UI -- Generating the Managed Object Subclasses -- Adding and Viewing Tasks -- Building the ViewTaskController -- Changes to the MasterViewController -- Building the Editing Controllers -- Editing Text with the EditTextViewController.

Setting Priorities with the EditPriorityViewController -- Adding and Editing Locations with the EditLocationViewController -- Modifying Dates with the EditDateController -- Finishing Up the Editing Controllers -- Displaying Results in the MasterViewController -- Sorting Results with NSSortDescriptor -- Filtering Results with NSPredicate -- Generating Grouped Tables Using the NSFetchedResultsController -- Implementing Custom Managed Objects -- Coding a Dynamic Property -- Defaulting Data at Runtime -- Validating a Single Field -- Multi-field Validation -- Moving Forward -- Chapter 8: Core Data-Related Cocoa Features -- Key-Value Coding -- Keys and Keypaths -- Setting Values Using Keys -- Collection Operators -- Additional Considerations When Using KVC -- Key-Value Observing -- Observing Changes to an Object -- Automatic and Manual Implementations of KVO -- Key-Value Observing Example -- Using NSPredicate -- Creating Predicates -- Using Predicates -- Sort Descriptors -- Moving Forward -- Chapter 9: Core Data Migration and Performance -- Model Versioning and Schema Migration -- Model Versioning -- Lightweight Migration -- Generating a Mapping Model -- Safely Threading with Core Data -- Designing for Threading -- Threading and Core Data -- Threading with NSOperation -- Core Data Threading Example -- Core Data Performance -- Faulting -- Data Store Types -- Storing Binary Data -- Entity Inheritance -- Runtime Performance -- Managing Changes with the Fetched Results Controller -- Performance Analysis Using Instruments -- Starting Instruments -- The Instruments Interface -- The Core Data Instruments -- Moving Forward -- Part III: Application Integration Using Web Services -- Chapter 10: Working with XML on the iPhone -- iOS SDK and the Web -- Web Application Architecture -- Synchronous Data Retrieval -- The URL Loading System -- Web Access Sample.

Requesting Data from the Server -- XML and the iPhone SDK -- Brief Overview of XML -- Parsing XML with NSXML Parser -- Extending the Example, Parsing the XML -- Generating XML with libxml -- XML Generation Sample -- Moving Forward -- Chapter 11: Integrating with Web Services -- Network Application Architecture -- Two-Tier Architecture -- Three-Tier Architecture (n-tier) -- Application Communication -- Introducing Web Services -- SOAP Messaging -- The REST Protocol -- Example 1: Location-Based Search -- Starting Out -- Building the Interface -- Core Location -- The Local Search API -- Using the Search Bar -- Handling the Web Service Response -- Example 2: Content Analysis -- Getting Started -- Building the User Interface -- Implementing the POST Call -- Receiving the XML Response -- Parsing the Response XML -- Finishing Up -- Moving Forward -- Appendix A: Tools for Troubleshooting Your Applications -- Instruments -- Starting Instruments -- The Trace Document -- Objective-C Memory Management -- Sample Memory Leak Application -- Analyzing a Memory Leak in Instruments -- The Static Analyzer -- Index -- Advertisement.
Abstract:
Updated and revised coverage that includes the latest versions of iOS and Xcode Whether you're a novice or experienced developer, you will want to dive into this updated resource on database application programming for the iPhone and iPad. Packed with more than 50 percent new and revised material - including completely rebuilt code, screenshots, and full coverage of new features pertaining to database programming and enterprise integration in iOS 6 - this must-have book intends to continue the precedent set by the previous edition by helping thousands of developers master database application programming. Shows you how to store data using SQLite, model and manage data using Core Data, and integrate with Web Services Explains how to take advantage of the built-in capabilities of the iPhone and iPad Details techniques for integrating iOS applications into enterprise class systems Encourages you to take advantage of multi-core processors, store data in the cloud, and use storyboards to develop the UI for your app By the end of the book, you will be able to confidently implement a data driven application for the iPhone and iPad and integrate an iOS application within an existing enterprise system.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: