Master the core technologies of iPhone and iPad development,
Let ordinary developers create wealth myth!
Unveiling IOS software development secrets: iPhone & iPad enterprise applications and Game Development (China-pub)
Basic Information
Author:Min bin
Press: Electronic Industry Press
ISBN:9787121133022
Mounting time: 2011-6-2
Published on: February 1, May 2011
Http://product.china-pub.com/198191
IOS software development secrets: iPhone & iPad enterprise applications and game development online reading of e-books
Introduction
IOS software development secrets: iPhone & iPad enterprise applications and game development provides a rigorous and systematic understanding of iPhone and iPad software development from entry to expert knowledge, it also provides reusable business code from real projects. Every example in the book is a refinement of the project experience. It provides an in-depth explanation of the core technical points of iPhone and iPad software development, covering all theme that IOS software development requires in real business projects, it also integrates the technical depth and value-added practicality introduced by examples to become a special feature of this book. The CD attached with the book contains the complete engineering source code of a large number of cases in the book, which allows readers to refer to and learn.
IOS software development secrets: iPhone & iPad enterprise applications and game development can be used as university teaching materials, enterprise training materials, or as a reference book for Apple's technology majors, it is suitable for reference and reading by university teachers and students, enterprise administrators, developers, training institutions and trainees, and IT professionals.
Directory
IOS software development secrets: iPhone & iPad enterprise applications and Game Development
Chapter 1 iPhone development environment settings 1
1.1 install the Snow Leopard operating system 2
1.2 install the iPhone SDK 5
1.3 No certificate Development Environment xcode settings 7
1.4 set xcode 11 with a certificate Development Environment
1.5 install the source code version management tool 12
1.6 install wine 12
1.7 use wine to install source Insight 13
1.8 related network resources 14
Chapter 15 objective-C Programming Basics
2.1 objective-C Introduction 16
2.2 first iPhone app 16
2.3 objective-C basic type 17
2.3.1 ID 17
2.3.2 sel 17
2.3.3 bool 18
2.3.4 nil, null, and nsnull 18
2.4 constant declaration and preprocessing macro 20
2.5 use # import header file 22. 2.6 Use # pragma mark to separate code block 22
2.7 objective-C memory management: retain and release 22
2.8 string operation 26
2.8.1 String constant 26
2.8.2 obtain the substring 27
2.8.3 merge and format strings 28
2.8.4 separator string 28
2.8.5 conversion between nsstring and char * 29
2.8.6 string comparison 29
2.9 process value object 30
2.10 processing date and time nsdate 31
2.11 processing nsdata type 32
2.12 set operation 32
2.12.1 Array Operation: nsarray and nsmutablearray 32
2.12.2 dictionary operations: nsdictionary and nsmutabledictionary 42
2.12.3 set operations: nsset and nsmutableset 47
2.12.4 stack operation 49
2.13 Object-Oriented Programming: Class, instance, and message 50
2.13.1 class definition 50
2.13.2 class constructor and destructor 51
2.13.3 Singleton mode 53
2.13.4 @ class, @ protocol Forward Declaration 53
2.13.5 self and super 54
2.13.6 instance methods and class Methods 54
2.13.7 Object Property (@ property) 55
2.13.8 static attributes (static attributes) 58
Class categories 59
2.15 objective-C interface programming 60
2.15.1 Interface Programming @ protocol 60
2.15.2 after Interface Programming 63 threads
2.15.3 Interface Programming of communications 65
2.15.4 Interface Programming-nsoperationqueue 68
2.15.5 private Method for Interface Programming 69
2.15.6 Interface Programming static library hiding class 70
2.15.7 Interface Programming @ protocol encapsulation class 72
2.15.8 interface stability and inheritance 73
2.16 nstimer programming 77
2.17 serialization and deserialization 78
2.17.1 property list 78 of serialization Method
2.17.2 serialization method-nskeyedarchiver 78
2.17.3 serialization method of core data 79
2.18 objective-C and C, C ++ mixed programming 80
2.19 message and nsinvocation 87
2.20 method swizzling 90
2.21 use nsassert for code debugging 93
2.22 summary in this Chapter 93
2.23 reference books 93
Chapter 5 iPhone SDK development basics 95
3.1 iPhone SDK introduction 96
3.2 first iPhone interface program 99
3.3 iPhone app startup process 105
3.4 iPhone application lifecycle 107
3.5 master iPhone app Communication Center uiapplication and uiapplicationdelegate 110
3.6 iPhone coordinate system 111
3.7 uiview level management 116
3.8 touch test 120
3.9 multitouch and object movement 122
3.10 uiview rotation and scaling 125
3.11 uiscrollview programming 127
3.12 iPhone framework 129
3.12.1 use uinavigationcontroller to organize and manage uiview 130
3.12.2 use uitabbarcontroller to organize and manage uiview 130
3.12.3 use uisplitviewcontroller to organize and manage uiview 133
3.13 screen rotations 135
3.14 uibutton programming 138
3.15 management interface font 139
3.16 use uilabel management interface text 141
3.17 management interface color 143
3.18 interface style (transitioning styles) 148
3.19 word sorting table programming 149
3.20 nsuserdefaults and property list file 150
3.21 file system and external resource management 152
3.22 simple animation creation 155
3.23 flash screen creation-program startup animation 157
3.24 multi-line text input control creation 159
3.25 image processing 162
3.26 core audio programming 163
3.27 uitableview programming 165
3.28 uisegmentedcontrol programming 167
3.29 openflow programming 169
3.30 uipagecontrol programming 172
3.31 custom instrumentation controls 175
3.32 summary 180
Chapter 2 advanced programming for iPhone SDK 4th
4.1 base64 codec 182
4.2 web service and XML data parsing 183
4.3 JSON data parsing 184
4.4 master SQLite user data management 187
4.5 cache and core data management 191
4.6 use AES algorithm for data encryption and decryption 207
4.7 E-Commerce Security Basics-RSA algorithm and Data Encryption 210
4.7.1 development of. Net version RSA Algorithm Library 210
4.7.2 create an iPhone RSA Algorithm Library 217
4.8 Create Custom User interface controls 220
4.8.1 ComboBox control and uipikerview design 220
4.8.2 custom uidatepicker creation 224
4.9 uiwebview and JavaScript advanced programming 229
4.10 Summary 236
Chapter 2 iPhone enterprise application instance analysis 5th
5.1 comprehensive application overview 238
5.2 system introduction 238
5.3 system requirements and major use cases 239
5.4 process 241
5.5 main implementation classes and relationships 242
5.6 program framework analysis 244
5.7 Key Technical Points Analysis 249
5.7.1 Asynchronous Network Communication 249
5.7.2 252 core data cache data
5.7.3 RSA algorithm encryption and decryption 258
5.7.4 create a custom control 258
5.7.5 table control customization 260
5.7.6 custom uitoolbar 266
5.7.7 directory browser creation 268
5.7.8 file upload and download 273
5.8 summary 277
Chapter 2 iPad software development basics 6th
6.1 Introduction to IPAD software development 280
6.2 uisplitviewcontroller programming 280
6.3 uipopovercontroller programming 287
6.4 custom mpmovieplayercontroller for video playback 290
6.5 develop a palette control 294
6.6 send email 296
6.7 Google map programming 297
6.8 Summary 314
Chapter 2 iPad commercial software instance analysis 7th
7.1 comprehensive application overview 318
7.2 system introduction 318
7.3 system requirements and major use cases 319
7.4 process 321
7.5 main implementation classes and relationships 321
7.6 Program Framework 323
7.7 Key Technical Points Analysis 335
7.7.1 image pagination and scrolling display 335
7.7.2 dynamic management of multi-language interface 340
7.7.3 play online video 341
7.8 Summary 344
Chapter 2 iOS game development basics 8th
8.1 overview 346
8.2 cocos2d system introduction 346
8.3 cocos2d programming basics 349
8.3.1 The first cocos2d program 349
8.3.2 basic animation 353
8.4 box2d physical engine 356
8.4.1 core concepts 356
8.4.2 collision detection 357
8.5 chipmuck physical engine 361
8.5.1 important concepts 361
8.5.2 Physical Simulation and Collision Detection 363
8.6 particle system 365
8.6.1 Orbital Satellite (Orbit Satellite) 366
8.6.2 space rocks 367
8.7 summary 369
Chapter 2 IOS commercial game instance analysis 9th
9.1 overview 372
9.2 flash back 372
9.3 release of spell (ghost castle) 376
9.3.1 tile map management 378 in ghostcastle
9.3.2 tile map Management in cocos2d 381
9.4 sweet dreams 384
9.5 war of destruction (ravagedbywar) 391
9.5.1 A * algorithm 392
9.5.2 implementation of the a * Algorithm in the war of destruction 397
9.6 blow fish (puffpuff) 399
9.7 summary 403
Chapter 4 iphone software release 10th
10.1 App Store overview 406
10.2 iphone software release Step 406
10.3 create IPA installation package 410
10.4 IOS configuration file and settings System Programming 411
10.5 summary 415
Annex 417