Getting started with iOS 5 Programming (version 3rd)

Source: Internet
Author: User
Tags tmp folder

Getting started with iOS 5 Programming (version 3rd)
Basic Information
Original Title: Beginning iOS 5 Application Development
Author: [us] Wei-Meng Lee [Introduction to translators]
Translator: Song mei
Press: Tsinghua University Press
ISBN: 9787302299943
Mounting time:
Published on: February 1, October 2012
Start: 16
Page number: 1
Version: 1-1
Category: Computer> Software and programming> mobile development> other mobile development technologies

More about "" and "iOS 5 Programming entry classic (version 3rd)"
Directory
Getting started with iOS 5 Programming (version 3rd)-developing iPhone and iPad applications
Chapter 2 iOS 5 Programming Quick Start 1
1.1 obtain development tools and SDK 1
1.2 xcode component 2
1.2.1 xcode 3
1.2.2 IOS simulator 4
1.2.3 interface builder 8
1.2.4 instruments 8
1.3 IOS Architecture Overview 9
1.4 some information you need to know before you start 11
1.4.1 IOS version 12
1.4.2 test on real devices 12
1.4.3 screen resolution 12
1.5 Conclusion 14
Chapter 2: write the first "Hello world !" Application 15
2.1 xcode Quick Start 15
2.1.1 use interfacebuilder 18
2.1.2 write code 22
2.2 custom application icon 23
2.3 show startup image 26
2.4 Summary 29
Chapter 3 view, socket variables and actions 31
3.1 socket variables and actions 31
3.2 use View 36
3.2.1 use warning view 37
3.2.2 use Action Form 41
3.2.3 page controls and image views 43
3.2.4 use Web View 51
3.3 dynamically Add a view using code 54
3.4 understanding the view hierarchy 57
3.5 summary 59
Chapter 3 View Controller 63
4.1 single view application template 63
4.1.1 application delegation 66
4.1.2 use View Controller to control UI 69
4.2 empty Application Template 72
4.2.1 add view controllers and views programmatically
4.2.2 add an animation for view switching 83
4.3 master-detail application template 85
4.4 tabbed Application Template 100
4.5 conclusion 104
Chapter 4 multi-platform support for iPhone and iPad 5th
5.1 Method 1: Modify the device target settings 107
5.2 Method 2: create a universal application 113
5.3 port selection method 117
5.4 conclusion 117
Chapter 2 Keyboard Input 6th
6.1 use keyboard 119
6.2 custom input type 121
6.2.1 hide keyboard 122
6.2.2 The keyboard 128 is automatically displayed after the view is loaded.
6.3 check whether the keyboard is visible 128
6.3.1 use scroll view 129.
6.3.2 scroll view 133 when displaying the keyboard
6.4 conclusion 139
Chapter 5 screen rotation 7th
7.1 response device rotation 141
7.1.1 different types of screen orientation 144
7.1.2 processing rotation 144
7.2 rotate the screen 150 programmatically
7.2.1 rotate screen 150 during running
7.2.2 set the View window to 150 in a specific direction.
7.3 conclusion 151
Chapter 4 Create and persist data using the table view 8th
8.1 simple table view 153
8.1.1 add header and footer 158
8.1.2 add image 159
8.1.3 display option 160
8.1.4 indent 163
8.1.5 modify the Row Height of 163
8.2 use the table view in master-detail application 164
8.3 segmented display 164
8.3.1 add index 172
8.3.2 add search 173
8.3.3 display and selection of details mark 184
8.3.4 navigate to another View window 186
8.4 Conclusion 189
Chapter 4 use application preferences 9th
9.1 create an application preference 191
9.2 access the set value in programming mode: 197
9.2.1 loading setting value 202
9.2.2 reset preference value 204
9.2.3 Save the Setting Value 205
9.3 conclusion 206
Chapter 4 File Processing 10th
10.1 understand the application folder 210
10.1.1 use the documents and library folder 210
10.1.2 save the file to a Temporary Folder 215
10.1.3 should I use documents or TMP folder 215
10.2 use attribute list 215
10.3 copy and package resources 222
10.4 Import and Export files 224
10.4.1 Export Document 226
10.4.2 file sharing 229
10.4.3 import document 232
10.4.4 import a custom document 235
10.5 conclusion 236
Chapter 2 using SQLite for database storage 11th
11.1 link to sqlite3 database 240
11.2 create and open a database 242
11.2.1 check the created database 243
11.2.2 create table 244
11.2.3 insert record 245
11.2.4 Bind Variable 246
11.2.5 retrieval record 249
11.3 package SQLite database 251 in the Application
11.4 conclusion 252
Chapter 2 iCloud programming 12th
12.1 how to store and use documents in iCloud 255
12.1.1 enable iCloud storage 256 for Applications
12.1.2 set the project entitlement 259
12.1.3 use the uidocument class to manage the iCloud document 261
12.1.4 store document 263 in iCloud
12.2 store key/value data in iCloud 274
12.3 conclusion 277
Chapter 5 simple animation and video playback 13th
13.1 use nstimer class 279
13.2 change view 286
13.2.1 translation 287
13.2.2 rotate 288
13.2.3 zoom 290
13.3 add an animation effect of 291 for a series of images
13.4 play video 294 on iPhone
13.5 conclusion 298
Chapter 2 Access built-in applications 14th
14.1 send email 301
14.1.1 call safari 308
14.1.2 call dialing program 308
14.1.3 call the SMS 308
14.2 Access camera and photo library 311
14.2.1 access to photo gallery 311
14.2.2 Access camera 317
14.3 Conclusion 320
Chapter 2 Access sensor 15th
15.1 use gyroscope and accelerator 321
15.2 visualization sensor data 327
15.3 use the shake API to detect shaking 332
15.4 conclusion 338
Chapter 4 Use Web Services 16th
16.1 basic knowledge about using XML Web Services 340
16.1.1 use soap 1.1 341
16.1.2 use soap 1.2 342
16.1.3 use http get 343
16.1.4 use http post 343
16.2 use Web Services in IOS applications through soap 344
16.3 Parse XML response 352
16.4 use JSON Web Service 357
16.5 integrate Twitter 363 into Applications
16.6 conclusion 369
Chapter 2 Bluetooth programming 17th
17.1 use the game KIT framework 371
17.1.1 search for peer devices 372
17.1.2 send and receive data 379
17.2 voice chat 382
17.3 conclusion 390
Chapter 2 bonjour programming 18th
18.1 create an application 391
18.2 release service 393
18.3 browsing service 396
18.4 conclusion 402
Chapter 2 Remote notification programming using the apple push notification service 19th
19.1 use Apple push notification service 404
404 certificate generation request
19.1.2 generate development certificate 405
19.1.3 create Application ID 406
19.1.4 configure app ID 407 for push notifications
19.1.5 create provisioning profile 410
19.1.6 install provisioning profile 411 on the device
19.2 create an iOS app 412
19.3 create push notification provider 417
19.4 conclusion 420
Chapter 1 Map Display 20th
20.1 use the map KIT framework to display maps and monitor changes 423
20.2 obtain location data 428
433 hardware requirements for location-specific tracking
20.2.2 use the map to display location 434
Direction 2.3 obtain direction information 437
4.1.2.4 rotating map 441
Limit 2.5 display note 446
451 inverse geographic code
4.1.2.7 show arrow button 454
20.3 conclusion 457
Chapter 4 compiling background applications 21st
21.1 understand the background execution in IOS 459
21.1.1 check different application status 460
21.1.2 disable background mode 463
21.1.3 multi-task detection support: 463
21.1.4 Tracking position in the background: 464
21.1.5 saves location applications by 468 more energy
21.2 local notification 469
21.3 use nsnotification to notify other objects 476
21.4 conclusion 481
Appendix A tests on actual devices 483
Appendix B xcode Quick Start 503
Appendix C objective-C Quick Start 529
Appendix D exercise answer 557

Source of this book: China Interactive publishing network

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.