![]() 作者:Dan Pilone/Tracey Pilone 出版社: O'Reilly Media 副标题: A Learner's Guide to Creating Objective-C Applications for the iPhone and iPad 出版年: 2013-12-22 页数: 675 定价: USD 49.99 装帧: Paperback ISBN: 9781449316570 内容简介 · · · · · ·Let's say you have a killer app idea for iPhone and iPad. Where do you begin? Head First iPhone and iPad Development will help you get your first application up and running in no time. You'll not only learn how to design for Apple's devices, you'll also master the iPhone SDK tools -- including Xcode -- and Objective-C programming principles to make your app stand out. Whether y... 作者简介 · · · · · ·Dan Pilone Dan Pilone is a Senior Software Architect with Blueprint Technologies, Inc. He has designed and implemented systems for Hughes, ARINC, UPS, and the Naval Research Laboratory. He also teaches project management and software design and engineering at The Catholic University in Washington D.C. Dan is the author of several books on software development, including UML 2.0... 目录 · · · · · ·Chapter 1 Getting Started: Getting mobile with iOSSo you want to build an iOS app... Welcome to the Apple universe! iOS apps are written in Objective-C It all starts with the SDK Pin Xcode...you’re going to be here a lot · · · · · ·() Chapter 1 Getting Started: Getting mobile with iOS So you want to build an iOS app... Welcome to the Apple universe! iOS apps are written in Objective-C It all starts with the SDK Pin Xcode...you’re going to be here a lot Meet Sue, your new boss Xcode and Git...new best friends Xcode is the hub of your iOS project The iOS simulator Your code is stored in source files Code Editor, Hub...and debugging, too One iPhone, two iPhones, red iPhone, blue iPhone... Your iPhone Development toolbox Chapter 2 Basic iOS Patterns: Building from scratch iOS apps run full screen, but there’s a lot going on Model-View-Controller is a design pattern Get started with Xcode and Git Design time! Design time...redux Cosmetic changes are easy in Xcode You could code this if you’re into that kind of thing... iOS controls are more than skin deep You’ll create the action using the Xcode GUI editor Connect your controls to your actions So how do we get to that text? Properties handle creating getters and setters Create a property for that text field You connect your controls to outlets Twitter, the easy way... Your iOS Basics toolbox Chapter 3 Interlude: Syntax Classes: Interface and Implementation Header files describe the interface to your class Properties are about efficiency Message passing: How Objective-C gets around Speaking of messages.... Your Syntax toolbox Chapter 4 Tables, Views, and Data: A table with a view Congratulations! SpinCity browsing app overview The way iOS apps work Using the touch screen.... Hierarchical data—get out your table view We need to hook these views together... Three views in one template Use MVC to separate your concerns... Adding a new class Properties expose class attributes Data Access Objects hide low-level data access You’ve built your DAO! A table is a collection of cells Your View toolbox Chapter 5 Multiview Applications: It’s all about the details An app with a view... Table views don’t always look like...tables Change your UIViewController to a UITableView Controller Layout for the new detail view Layout your view within the storyboard Design the rest of the view dynamically Segues connect view controllers Connect your scenes in your storyboard Segues let you prepare for a new scene Update your prepareforSegue callback There’s an app a list for that Create a new property list You need to load each album from the plist Convert your data to plists in one easy step Your View toolbox Chapter 6 The Review Process, Design, and Devices: How to live with Apple It’s Apple’s world...you’re just living in it Device checking... it’s not optional Device checking case study: the camera iOS handles the heavy lifting Hmmm... supported device, missing feature The HIG helps, rather than hurting you You’ve already gotten used to the HIG... Design = look + feel iOS 7 Top 5 More to think about: your iPad is not your iPhone Your Apple toolbox Chapter 7 Basic Core Data and Table View Cells: Reruns are hard to find This is your application This is your application on data Introducing Core Data ...and speaking of data The Gilligizer app Core Data starts with...data Core Data works with entities Core Data describes entities with a Managed Object Model Build your Show entity Our generated Show class matches our Managed Object Model NSManagedObject also implements the properties You have an object...now present it. Present each entity in Gilligizer Your Core Data toolbox Chapter 8 Implementing search with core data: Looking for info The app is working, but it’s limited... Use an NSFetchRequest to describe your search Let’s give it a shot... iOS 7 has Core Data and UIKit support for searching SearchDisplayController handles just about everything Use predicates for filtering data The NSFetchRequest predicate controls what data is returned It was a trick question... Your searching toolbox Chapter 9 Core data, mapkit, and core location: Finding a phone booth Everything old is cool new again An app, an iPad, and a phone booth iOS apps are read-only (well, kind of...) An iOS application structure defines where you can read and write data Enter... UIImagePicker Prompt the user with action sheets Where Who... are you? Where Who, who? Core Location can find you in a few ways Map Kit comes with every iOS device Annotations require a little more work finesse Fully implement the annotation protocol Your kit Toolbox · · · · · · () |
给别人买的
新书,看看后追评
以前就看过的书
一方面满足了自己的好奇心