iOS 5 Programming Cookbook.pdf
(
25541 KB
)
Pobierz
iOS 5 Programming Cookbook
Vandad Nahavandipoor
Beijing
Cambridge
Farnham
Köln
Sebastopol
Tokyo
•
•
•
•
•
iOS 5 Programming Cookbook
by Vandad Nahavandipoor
Revision History for the :
See
http://oreilly.com/catalog/errata.csp?isbn=9781449311438
for release details.
ISBN: 978-1-449-31143-8
1318287906
To Agnieszka Marta Dybowska.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1.
The Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Creating a Simple iOS App in Xcode
2
1.2 Understanding Interface Builder
7
1.3 Compiling iOS Apps
13
1.4 Running iOS Apps on the Simulator
15
1.5 Running iOS Apps on iOS Devices
17
1.6 Packaging iOS Apps For Distribution
21
1.7 Declaring Variables in Objective-C
27
1.8 Comparing Values in Objective-C with an If Statement
29
1.9 Implementing Loops with For Statements
32
1.10 Implementing While Loops
35
1.11 Creating Custom Classes
37
1.12 Defining Functionality for Classes
42
1.13 Defining Two or More Methods with the Same Name
46
1.14 Allocating and Initializing Objects
49
1.15 Adding Properties to Classes
51
1.16 Moving from Manual Reference Counting to Automatic Reference
Counting
54
1.17 Typecasting with Automatic Reference Counting
59
1.18 Delegating Tasks with Protocols
63
1.19 Determining Whether Instance or Class Methods are Available
71
1.20 Determining Whether a Class is Available at Run Time
74
1.21 Allocating and Making Use of Strings
75
1.22 Allocating and Making Use of Numbers
79
1.23 Allocating and Making Use of Arrays
81
1.24 Allocating and Making Use of Dictionaries
86
1.25 Allocating and Making Use of Sets
89
1.26 Creating Bundles
92
1.27 Loading Data From the Main Bundle
93
1.28 Loading Data From Other Bundles
97
iii
Plik z chomika:
piotrbard
Inne pliki z tego folderu:
iPad & iPhone User - Issue 111 2016.pdf
(9320 KB)
iPad & iPhone User - Issue 119 2017.pdf
(13282 KB)
iPad & iPhone User - Issue 113 2016.pdf
(12279 KB)
iPad iPhone User Issue 116 2017.pdf
(6109 KB)
iPad mini The Complete Manual 7th ED - 2016 UK.pdf
(6925 KB)
Inne foldery tego chomika:
AppleMagazine
Filmy
iATKOS ML2 10.8.2 (Build 12C54)
iMagazine
iOS 10.9.1 iAtkos M
Zgłoś jeśli
naruszono regulamin