Muutke küpsiste eelistusi

Beginning Xcode: Swift 3 Edition 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 463 pages, kõrgus x laius: 254x178 mm, kaal: 9076 g, 496 Illustrations, color; 21 Illustrations, black and white; XXI, 463 p. 517 illus., 496 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 09-Nov-2016
  • Kirjastus: APress
  • ISBN-10: 1430250046
  • ISBN-13: 9781430250043
  • Pehme köide
  • Hind: 48,70 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 57,29 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 463 pages, kõrgus x laius: 254x178 mm, kaal: 9076 g, 496 Illustrations, color; 21 Illustrations, black and white; XXI, 463 p. 517 illus., 496 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 09-Nov-2016
  • Kirjastus: APress
  • ISBN-10: 1430250046
  • ISBN-13: 9781430250043

This book will not only get you up and running with Apple's latest version of Xcode, but it also shows you how to use Swift in Xcode and includes a variety of projects to build.

If you already have some programming experience with iOS SDK and Objective-C, but want a more in-depth tutorial on Xcode, especially Xcode with Apple’s new programming language, Swift, then Beginning Xcode, Swift Edition is for you. 

The book focuses on the new technologies, tools and features that Apple has bundled into the new Xcode 7, to complement the latest iOS 9 SDK. By the end of this book, you'll have all of the skills and a variety of examples to draft from to get your Swift app from idea to App Store with all the power of Xcode.

What You’ll learn

  • How to use Swift and new Swift-related features in Xcode
  • How to get started with Xcode, using Workspaces, Interface Builder, storyboarding, tables/collection views and more
  • How to dive deeper into Xcode using advanced searches, filtering, advanced editing, debugging, and source control
  • How to take advantage of Xcode's vast libraries, frameworks and bundles
  • How to create exciting interactive apps for iPhone or iPad using Sprite Kit, Map Kit, and other Apple technologies
  • How to share your app using organizer, localization, auto layout, and more

Who this book is for

This book is for those with some Objective-C/Cocoa and/or iOS SDK app development experience, but want to be more efficient in writing and testing their code, and people who want to know in-depth examples of Swift in Xcode.

About the Author xv
Acknowledgments xvii
Introduction xix
Part I Getting Acquainted
1(158)
Chapter 1 Welcome to Xcode
3(10)
What Is Xcode?
3(1)
What Is Swift?
3(1)
Why Choose Xcode?
4(1)
Getting and Installing Xcode
4(2)
Firing Up Xcode
6(1)
Apple's Resources for Developers
7(1)
The Dev Center
8(1)
Your Developer Account
9(1)
Source Code
10(1)
Additional Resources
11(1)
Summary
12(1)
Chapter 2 Diving Right In
13(24)
Creating Your First Xcode Project
14(5)
The Project
19(1)
Designing the Interface
20(4)
Making Connections
24(3)
Running and Testing Your Application
27(1)
Adding Files
28(3)
Organizing Files in Xcode
31(5)
Summary
36(1)
Chapter 3 Project Templates and Getting Around
37(28)
Project Templates
37(1)
Master-Detail Applications
38(1)
Page-Based Applications
39(1)
Single View Applications
40(1)
Tabbed Applications
41(1)
Games
42(1)
New for iOS 10 and Xcode 8
42(1)
Template Selection
43(2)
Getting Around
45(1)
Navigators
45(2)
Toolbar
47(1)
Editor
48(2)
Utilities
50(9)
Configuring the Second View Controller
59(4)
Debugging Area
63(1)
Summary
64(1)
Chapter 4 Building Interfaces
65(38)
Getting Ready
66(3)
Adding Tab Bar Icons to an Asset Catalog
69(2)
Before You Start
71(1)
Building the Interface
72(4)
Setting the Tab Icons
76(2)
Tracking Location with the Track It Tab
78(9)
Mixing Colors with the Slide It Tab
87(5)
Adding "Off the Menu" Controls
92(7)
Changing the Interface with Code
99(2)
Summary
101(2)
Chapter 5 Getting Help and Code Completion
103(22)
Getting Help
103(1)
Creating the Project
104(1)
Downloading Additional Documentation
104(1)
Quick Help
105(2)
Documentation Viewer
107(6)
Apple's Web Site
113(1)
Code Completion
114(3)
Opening Web Sites in Safari
117(1)
Sending an E-Mail with MFMailComposeViewController
117(1)
Sending a Text Message
118(1)
Building the Interface
119(3)
Running the Application
122(1)
Summary
123(2)
Chapter 6 Constraints
125(34)
Understanding Auto Layout
125(1)
Building an Authentication View
126(1)
Design Considerations
127(5)
Debugging Views in Xcode
132(1)
Manually Adding Constraints
133(6)
Automatically Adding Constraints
139(4)
Previewing Your Layout
143(1)
Size Classes
144(7)
Finishing Touches
151(1)
Customizing Text Fields
151(7)
Summary
158(1)
Part II Diving Deeper
159(178)
Chapter 7 Storyboards
161(40)
A Brief History of Storyboards
162(2)
Creating a New Project Called SocialApp
164(4)
Creating View Controllers
168(8)
Pairing the View to the Controller
176(2)
Building Up the Storyboard
178(3)
Linking Scenes and Building Interfaces
181(1)
What Are Segues?
181(5)
Adding a Navigation Controller
186(2)
Creating an Interface for the Feed View Controller
188(5)
Creating an Interface for Tweet View Controller
193(3)
Creating an Interface for the Compose View Controller
196(3)
Summary
199(2)
Chapter 8 Table and Collection Views
201(56)
What Is a Table View?
201(1)
Table View Composition
202(1)
Table View Styles
203(1)
Configuring the Accounts View
203(2)
The Key Attributes of Table Views
205(1)
Manipulating Static Table Views
206(3)
The Accounts and Social Framework
209(1)
Retrieving and Displaying Twitter Accounts
210(9)
Configuring the Feed View
219(15)
Configuring the Tweet View
234(2)
Configuring the Compose View
236(4)
Discovering the Collection View
240(1)
Embedding a Tab Bar Controller
240(2)
Persisting User Preferences with UserDefaults
242(4)
Adding a Collection View Controller
246(3)
Configuring a Collection View
249(2)
Displaying Items in a Collection View
251(5)
Summary
256(1)
Chapter 9 Frameworks, Libraries, and Targets
257(24)
Understanding Frameworks
257(1)
Creating the Project
258(15)
Static Libraries, Frameworks, and Swift
273(1)
Working with Multiple Targets
273(6)
Summary
279(2)
Chapter 10 Advanced Editing
281(26)
Getting Started
281(3)
Efficient Editing
284(1)
Changing Color Schemes
284(5)
Organizing and Navigating Code
289(4)
Building the Scene
293(4)
Folding Code
297(3)
The Code Snippet Library
300(6)
Summary
306(1)
Chapter 11 Debugging and Analysis
307(30)
Building the Application
308(5)
Using Breakpoints to Resolve Logical Errors
313(1)
Setting a Breakpoint
314(1)
The Debug Navigator
315(1)
The Debug Area
316(1)
The Breakpoint Navigator
317(4)
Runtime Errors
321(1)
Using Exception Breakpoints
322(2)
Compile-Time Errors
324(1)
Thelssue Navigator
325(1)
Tools to Help with Debugging
326(2)
Debugging a Location
328(1)
Print Debugging with the Printer Simulator
329(3)
Playground
332(3)
Summary
335(2)
Part III Final Preparations and Releasing
337(118)
Chapter 12 Version Control with Git
339(30)
Why Use Version Control?
339(1)
What Is Git?
339(1)
Creating the Project
340(3)
The AVFoundation Framework
343(1)
Creating the Interface
344(7)
Committing Changes
351(2)
Examining Changes with the Version Editor
353(3)
Branching in a Repository
356(2)
Merging Branches
358(3)
Removing a Branch
361(1)
Using a Remote Repository
362(1)
Registering for GitHub and Creating a Repository
362(2)
Adding a GitHub Repository to Xcode
364(2)
Pushing to a Remote Repository
366(1)
Updating the Remote Repository
367(1)
Summary
368(1)
Chapter 13 Localization
369(36)
Creating the SayMyName Application
370(2)
Adding the Resources
372(1)
Creating the Application Interface
373(1)
Laying Out the Views
373(3)
Building the Interface
376(4)
Writing the Code for the SayMyName Application
380(1)
Retrieving a Contact
380(4)
Converting Text to Speech
384(3)
Localizing the Application
387(1)
Enabling Localization
387(2)
Adding Another Language
389(1)
Storyboards and Localization
390(2)
Localizing Images
392(3)
Localizing Code with Localizable.strings
395(3)
Testing Localizations
398(1)
Testing Localization with Xcode 8
399(3)
Setting the Application Language in the Scheme
402(2)
Summary
404(1)
Chapter 14 Devices and the Organizer
405(18)
The Role of the Organizer in Xcode 8
405(1)
Preparing Xcode for Deploying to a Device
406(1)
Enrolling in the Apple Developer Program
406(5)
Adding Your Developer Account to Xcode
411(3)
Preparing a Device for Deployment
414(2)
Managing Devices in Xcode
416(2)
Capturing a Screenshot from a Running Application
418(1)
The Archives Organizer
418(1)
Archiving Your Application
419(3)
Summary
422(1)
Chapter 15 Building, Sharing, and Distributing Applications
423(32)
Final Checks Before Publishing Your Application
423(3)
Building a Launch Screen
426(3)
Discovering iTunes Connect
429(4)
Creating an App ID
433(2)
Creating an Application Profile
435(6)
Uploading an Application to iTunes Connect
441(1)
Creating a Distribution Certificate and Profile
442(1)
Validating Your Application
443(1)
Submitting Your Application to the App Store
444(1)
Submitting Applications Using the Archives Organizer
444(1)
Submitting Applications Using the Application Loader
445(1)
Changing Build Numbers
445(1)
Creating an .ipa File
446(3)
Submitting an Application for Approval
449(2)
Using the iTunes Connect App
451(2)
Summary
453(1)
Next Steps
454(1)
Index 455
Matthew Knott has been writing code for as long as he can remember; from marveling at moving pixels on a BBC Micro to writing ridiculous text adventures for his Mother on an overheating ZX Spectrum 48k. Matthew has been a professional software developer for the last 12 years, the last 6 of which have been spent in the education sector where he has now entered the sometimes-scary world of management, although when they see the mess he made of the budget that wont last long. Matthews work and hobby is basically the same thing, but when hes not working, he is loving life in a beautiful part of Wales with his Wife Lisa, and two kids Mikey and Charlotte.