Beginning Xcode Swift Edition - Matthew Knott.pdf
(
31123 KB
)
Pobierz
I
od
Xc
s
de
lu
nc
Learn to build powerful iPhone and iPad apps
using Xcode 6 and Swift
e
6
Xcode
SWIFT EDITION
Matthew Knott
Beginning
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Author ................................................................................................................
xv
About the Technical Reviewer ..........................................................................................
xvii
Acknowledgments .............................................................................................................
xix
Introduction .......................................................................................................................
xxi
Part 1: Getting Acquainted ...........................................................................
1
Chapter 1: Welcome to Xcode............................................................................................3
Chapter 2: Diving Right In ...............................................................................................17
Chapter 3: Project Templates and Getting Around...........................................................43
Chapter 4: Building Interfaces .........................................................................................75
Chapter 5: Getting Help and Code Completion ...................................................................
119
Chapter 6: Constraints ...................................................................................................143
Part 2: Diving Deeper ................................................................................
179
Chapter 7: Storyboards..................................................................................................181
Chapter 8: Table and Collection Views ..........................................................................225
Chapter 9: Frameworks, Libraries, and Targets.............................................................287
v
vi
Contents at a Glance
Chapter 10: Advanced Editing .......................................................................................315
Chapter 11: Debugging and Analysis ............................................................................343
Part 3: Final Preparations and Releasing .................................................
377
Chapter 12: Version Control with Git .............................................................................379
Chapter 13: Localization ................................................................................................413
Chapter 14: Devices and the Organizer .........................................................................455
Chapter 15: Building, Sharing, and Distributing Applications .......................................483
Index .................................................................................................................................525
Introduction
Welcome to
Beginning Xcode,
the book that aims to give you all the knowledge to start writing
applications using what is probably the most powerful integrated development environment (IDE)
ever. And that IDE is free.
As with many Apple products, Xcode has simplicity and ease of use in abundance, but don’t be
fooled: the shiny exterior masks a workhorse of a tool, incredibly powerful and with an extensive set
of integrated tools for every eventuality. Xcode is the development environment that all other IDEs
have a poster of pinned to their bedroom walls.
Xcode hasn’t always been this shining Rock God of awesomeness; it used to be a sorry band of
ragtag applications. When I first picked up Xcode 3 in 2007, I remember going through a multitude
of different applications to perform varying tasks, such as the very basic Interface Builder, and
finding out how to adapt my knowledge of C into Objective-C. Back then, what I really wanted was
something that showed me how to get the most out of Xcode and could give me the understanding I
needed to get going with the hundreds of app ideas I had in my head.
Fast-forward seven years, and both Xcode and I have come a long way. I feel as if I’ve gone from
being a kid, bumping my leaky paddleboat aimlessly around a lake, to being a handsome sea
captain at the prow of my vessel, gazing forth as I slice through choppy waves with grace and ease.
Well, aside from the handsome part, the analogy is a good one. Xcode 6is more complete and
powerful than ever before: it’s an integrated product that puts in your hands the same power used by
the developers at Apple who write the apps found in iOS and Mac OS X.
I’ve always had a mixed experience with development books and have often been sick of building
the same old apps again and again. In this book I’ve aimed to take you through almost every facet of
Xcode, helping you to understand the capabilities of each of the key areas as you build a number of
cool and exciting projects along the way and come to grips with the new Swift programing language.
By the end of the book, you should be ready to turn the ideas in your head into reality—and I can’t
wait to see what that looks like.
xxi
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
B-29 Superfortress vs Ki-44 - Donald Nijboer.epub
(25672 KB)
B-17 Flying Fortress Units of t - William Hess.epub
(18102 KB)
B00XANZZ4A_EBOK_nodrm.azw3
(31349 KB)
B.R. Bhagwat - Mahabharata.azw3
(20673 KB)
B A Paris - Behind Closed Doors_nodrm.epub
(2167 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin