... Address Book 55 010.2Retrieving All the People in the Address Book 55 210.3Retrieving Properties of Address Book Entries 55 310.4Inserting a Person Entry into the Address Book 55 810 .5 Inserting ... 747 15. 3Constructing, Setting, and Using Colors 749 15. 4Drawing Images 754 15. 5Drawing Lines 759 15. 6Constructing Paths 766 15. 7Drawing Rectangles 771 15. 8Adding Shadows to Shapes 776Table of Contents ... While Playing Audio 51 79.3Recording Audio 51 89.4Handling Interruptions While Recording Audio 52 59 .5 Playing Audio over Other Active Sounds 52 69.6Playing Video Files 53 09.7Capturing Thumbnails...
... . . 55 114.1 Drawing Basic Shapes on a Graphics Context 55 214.2 Drawing Paths on a Graphics Context 55 5viii | Table of ContentsFigure 1-1. The New File dialogAfter you click Finish, Xcode ... of Calendars 50 213.2 Adding Events to Calendars 50 413.3 Accessing the Contents of Calendars 50 713.4 Removing Events from Calendars 51 213 .5 Adding Recurring Events to Calendars 52 313.6 Retrieving ... available in iOS 3 and iOS 4. In some recipes, you will find code that runs only on iOS 4 and later; in those recipes,I note that you will need the iOS 4 SDK or later to compile the example code. xi...
... Entries 54 411 .5 Inserting a Person Entry into the Address Book 54 911.6 Inserting a Group Entry into the Address Book 55 211.7 Adding Persons to Groups 55 511.8 Searching the Address Book 55 711.9 ... at:http://oreil.ly /iOS6 _Programming_ CBTo access the source codes for this book, please see the author’s website at:https://github.com/vandadnp /ios- 6 -programming- cookbook- source- codesTo comment ... Simple iOS App in Xcode 21.2 Understanding Interface Builder 5 1.3Compiling iOS Apps 71.4 Running iOS Apps on the Simulator 111 .5 Running iOS Apps on iOS Devices 121.6Packaging iOS Apps...
... Entries 54 411 .5 Inserting a Person Entry into the Address Book 54 911.6 Inserting a Group Entry into the Address Book 55 211.7 Adding Persons to Groups 55 511.8 Searching the Address Book 55 711.9 ... . . . . . . 50 510.1Playing Audio Files 50 510.2Handling Interruptions while Playing Audio 50 710.3Recording Audio 50 810.4Handling Interruptions while Recording Audio 51 510 .5 Playing Audio ... from Files 57 512.3Creating Folders on Disk 58 012.4Enumerating Files and Folders 58 112 .5 Deleting Files and Folders 58 612.6Securing Files on Disk 59 012.7Saving Objects to Files 59 513. Camera...
... 6 iOS5Programming Pushing the Limits Source Code As you work through the examples in this book, you may choose either to type in all the code manually or to use the sourcecode les ... ................................. 355 Core Foundation Types 355 Naming and Memory Management 356 Allocators 357 Introspection 358 Strings and Data 359 Constant Strings 359 Creating Strings 359 Converting to C Strings 360Other ... Glyphs 3 45 Drawing Text Along a Curve 346Comparison of Rich Text Options 351 Third-Party Options 351 NSAttributedString-Additions-for-HTML 351 CoreTextWrapper 352 OmniUI 352 Summary 352 Further...
... . . . 6 25 15. 1. Detecting and Probing the Camera 627 15. 2. Taking Photos with the Camera 632 15. 3. Taking Videos with the Camera 636 15. 4. Storing Photos in the Photo Library 639 15. 5. Storing ... While Playing Audio 53 412.3. Recording Audio 53 512.4. Handling Interruptions While Recording Audio 54 212 .5. Playing Audio over Other Active Sounds 54 312.6. Playing Video Files 54 712.7. Capturing ... . . . . . 50 111.1. Downloading Asynchronously with NSURLConnection 50 111.2. Handling Timeouts in Asynchronous Connections 50 411.3. Downloading Synchronously with NSURLConnection 50 611.4....
... . . 157 The Documentation Window 158 Class Documentation Pages 159 Sample Code 163Other Resources 164Quick Help 164Symbols 1 65 Header Files 1 65 Internet Resources 1669. Life Cycle of a Project ... Methods 50 Sending a Message 50 Declaring a Method 51 Nesting Method Calls 52 No Overloading 53 Parameter Lists 54 Unrecognized Selectors 54 Typecasting and the id Type 56 Messages as Data Type 60C ... 244Notifications 246Receiving a Built-In Notification 247Unregistering 249NSTimer 251 Delegation 251 Data Sources 255 Actions 256 The Responder Chain 261Deferring Responsibility 261Nil-Targeted Actions...