OReilly.iOS.6.Programming.Cookbook.2012.RETAIL.eBook-ELOHiM.pdf
(
36652 KB
)
Pobierz
iOS 6 Programming Cookbook
Vandad Nahavandipoor
Beijing
Cambridge
Farnham
Köln
Sebastopol
Tokyo
•
•
•
•
•
iOS 6 Programming Cookbook
by Vandad Nahavandipoor
Copyright © 2013 Vandad Nahavandipoor. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (
http://my.safaribooksonline.com
)
. For more information, contact our
corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com
.
Editors:
Andy Oram and Rachel Roumeliotis
Production Editor:
Rachel Steely
Copyeditor:
Jasmine Kwityn
Proofreader:
Jason Schneiderman
Indexer:
Bob Pfahler
Cover Designer:
Karen Montgomery
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
December 2012:
First Edition.
Revision History for the First Edition:
2012-11-19 First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449342753
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc.
iOS 6 Programming Cookbook
, image of a shrew tenrec, and related trade dress are
trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-34275-3
[LSI]
1353339479
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1.
The Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Creating a Simple iOS App in Xcode
2
1.2 Understanding Interface Builder
5
1.3 Compiling iOS Apps
7
1.4 Running iOS Apps on the Simulator
11
1.5 Running iOS Apps on iOS Devices
12
1.6 Packaging iOS Apps for Distribution
15
1.7 Declaring Variables in Objective-C
20
1.8 Allocating and Making Use of Strings
23
1.9 Comparing Values in Objective-C with an if Statement
27
1.10 Implementing Loops with for Statements
30
1.11 Implementing while Loops
32
1.12 Creating Custom Classes
35
1.13 Defining Functionality for Classes
38
1.14 Defining Two or More Methods with the Same Name
43
1.15 Allocating and Initializing Objects
46
1.16 Adding Properties to Classes
48
1.17 Moving from Manual Reference Counting to Automatic Reference
Counting
52
1.18 Typecasting with Automatic Reference Counting
57
1.19 Delegating Tasks with Protocols
60
1.20 Determining Whether Instance or Class Methods Are Available
66
1.21 Determining Whether a Class Is Available at Runtime
69
1.22 Allocating and Making Use of Numbers
70
1.23 Allocating and Making Use of Arrays
72
1.24 Allocating and Making Use of Dictionaries
77
1.25 Allocating and Making Use of Sets
80
1.26 Creating Bundles
83
1.27 Loading Data from the Main Bundle
84
1.28 Loading Data from Other Bundles
88
iii
Plik z chomika:
sbox
Inne pliki z tego folderu:
Xcode 4 iOS Development - Beginner's Guide - S. Daniel (Packt, 2011) BBS.pdf
(19533 KB)
UDK iOS Game Development Beginners Guide 2012.pdf
(10304 KB)
Learning iOS Programming 3rd Edition V413HAV.pdf
(97532 KB)
OReilly.iOS.6.Programming.Cookbook.2012.RETAIL.eBook-ELOHiM.pdf
(36652 KB)
Learning iPhone Programming (2010) (Elements).pdf
(7780 KB)
Inne foldery tego chomika:
Android
C++
Klasyka Informatyki
Matematyka
STUDIA
Zgłoś jeśli
naruszono regulamin