作者简介:
Vandad Nahavandipoor已经有多年用Cocoa、CocoaTouch、Assembly、Delphi和.NET开发软件的经验。他在为移动支付解决方案的业界领先者工作时,给世界最大的品牌客户提供了移动应用,其中包括Visa和USBank。
内容简介:
《iOS 5编程Cookbook(影印版)》由Vandad NahaVandipoor著。现在你能够克服那些在你为iPhone、iPad或者iPod touch创建应用时所遭遇的令人苦恼的现实问题。通过这本更新手册中的100多个全新场景,你将可以快速学会编写完整iOS应用的必要步骤,无论那些应用是否简单如音乐播放器,或者带有需要混合动画、图像、多媒体、数据库和iCloud存储的复杂功能。
如果你能够适应iOS SDK的话,这本《iOS 5编程Cookbook(影印版)》将教给你如何使用数以百计的iOS技术。每个场景都提供了清晰的解决方案和你可以立刻使用的示例代码。
目录:
Preface
1.The Basics
1.1 Creating a Simple iOS App in Xcode
1.2 Understanding Interface Builder
1.3 Compiling iOS Apps
1.4 Running iOS Apps on the Simulator
1.5 Running iOS Apps on iOS Devices
1.6 Packaging iOS Apps for Distribution
1.7 Declaring Variables in Objective-C
1.8 Allocating and Making Use of Strings
1.9 Comparing Values in Objectiye-C with an If Statement
1.10 Implementing Loops with For Statements
1.11 Implementing While Loops
1.12 Creating Custom Classes
1.13 Defining Functionality for Classes
1.14 Defining Two or More Methods with the Same Name
1.15 Allocating and Initializing Objects
1.16 Adding Properties to Classes
1.17 MovingFromManualReferenceCountingtoAutomaticReference Counting
1.18 Typecastmg with Automatic Reference Counting
1.19 Delegating Tasks with Protocols
1.20 Determining Whether Instance or Class Methods Are Available
1.21 Determining Whether a Class Is Available at Runtime
1.22 Allocating and Making Use of Numbers
1.23 Allocating and Making Use ofArrays
1.24 Allocating and Making Use of Dictionaries
1.25 Allocating and Making Use of Sets
1.26 CreatingBundles
1.27 Loading Data From the Main Bundle
1.28 Loading Data From Other Bundles
1.29 Sending Notifications with NSNotificationCenter
1.30 Listening for Notifications Sent From NSNotificationCenter
2.Implementing Controllers and Views
2.1 Displaying Alerts with UIAlertView
2.2 Creating and Using Switches with UISwitch
2.3 PickingValues with UIPickerView
2.4 Picking the Date and Time with UIDatePicker
2.5 Implementing Range P.ickers with UISlider
2.6 Grouping Compact Options wirh UISegmentedControl
2.7 Presenting and Managing Views with UIViewController
2.8 Implementing Navigation with UINavigationController
2.9 Manipulating a Navigation Controller's Array of View Controllers
2.10 Displaying an Image on a Navigation Bar
2.11 Adding Buttons to Navigation Bars Using UIBarButtonltem
2.12 Presenting Multiple View Controllers with UITabBarController
2.13 Displaying Static Text with UILabel
2.14 Accepting User Text Input with UITextField
2.15 Displaying Long Lines of Text with UITextView
2.16 Adding Buttons to the User Interface with UIButton
2.17 Displayinglmages with UIImageView
2.18 Creating Scrollable Content with UIScrollView
2.19 Loading Web Pages with UIWebView
2.20 Presenting Master-DetailViews with UISplitView Controller
2.21 Enabling Paging with UIPageView Controller
2.22 Displaying Popovers with UIPopover Controller
2.23 Displaying Progress with UIProgressView
2.24 Listening and Reacting to Keyboard Notifications
3.Constructing and Using TableViews
3.1 Instantiating a Table View
3.2 Assigning a Delegate to a Table View
3.3 Populating a Table View with Data
3.4 Receiving and Handling Table View Events
3.5 Using Different Types of Accessories in a Table View Cell
3.6 Creating Custom Table View CellAccessories
3.7 Displaying Hierarchical Data in Table Views
3.8 Enabling Swipe Deletion of Table View Cells
3.9 Constructing Headers and Footers in Table Views
3.10 Displaying Context Menus on Table Views Cells
3.11 Moving Cells and Sections in Table Views
3.12 Deleting Cells and Sections From Table Views
……
4.Storyborad
5.Concurrency
6.Core Location and Maps
7.Implementing Gesture Recognizers
8.Networking, JSON, XML, and Twitter
9.Audio and Video
10.Address Book
11.Camera and the Photo Library
12.Multitasking
13.Core Data
14.Dates, Calendars, and Events
15.Graphics and Animations
16.Core Motion
17.iCloud
Index
好评度