Atjaunināt sīkdatņu piekrišanu

E-grāmata: Swift iOS 24-Hour Trainer

  • Formāts: EPUB+DRM
  • Izdošanas datums: 06-Jan-2016
  • Izdevniecība: Wrox Press
  • Valoda: eng
  • ISBN-13: 9781119073420
Citas grāmatas par šo tēmu:
  • Formāts - EPUB+DRM
  • Cena: 32,87 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Ielikt grozā
  • Pievienot vēlmju sarakstam
  • Šī e-grāmata paredzēta tikai personīgai lietošanai. E-grāmatas nav iespējams atgriezt un nauda par iegādātajām e-grāmatām netiek atmaksāta.
  • Formāts: EPUB+DRM
  • Izdošanas datums: 06-Jan-2016
  • Izdevniecība: Wrox Press
  • Valoda: eng
  • ISBN-13: 9781119073420
Citas grāmatas par šo tēmu:

DRM restrictions

  • Kopēšana (kopēt/ievietot):

    nav atļauts

  • Drukāšana:

    nav atļauts

  • Lietošana:

    Digitālo tiesību pārvaldība (Digital Rights Management (DRM))
    Izdevējs ir piegādājis šo grāmatu šifrētā veidā, kas nozīmē, ka jums ir jāinstalē bezmaksas programmatūra, lai to atbloķētu un lasītu. Lai lasītu šo e-grāmatu, jums ir jāizveido Adobe ID. Vairāk informācijas šeit. E-grāmatu var lasīt un lejupielādēt līdz 6 ierīcēm (vienam lietotājam ar vienu un to pašu Adobe ID).

    Nepieciešamā programmatūra
    Lai lasītu šo e-grāmatu mobilajā ierīcē (tālrunī vai planšetdatorā), jums būs jāinstalē šī bezmaksas lietotne: PocketBook Reader (iOS / Android)

    Lai lejupielādētu un lasītu šo e-grāmatu datorā vai Mac datorā, jums ir nepieciešamid Adobe Digital Editions (šī ir bezmaksas lietotne, kas īpaši izstrādāta e-grāmatām. Tā nav tas pats, kas Adobe Reader, kas, iespējams, jau ir jūsu datorā.)

    Jūs nevarat lasīt šo e-grāmatu, izmantojot Amazon Kindle.

Jump into the app development world with confidence!

iOS Swift 24-Hour Trainer combines book and video lessons in Apple's Swift programming language to prepare you to build iPhone and iPad apps—and distribute them through the Appstore. First, this approachable text covers the fundamentals of Swift by introducing you to iOS development in this language, and presenting best practices for setting up a development environment and using variables, statements, expressions, operators, functions, and closures. Next, you explore common tasks, such as alert views, table views, and collection views. You then deepen your knowledge of Swift by considering network programming and local data storage. Finally, this engaging resource dives into slightly more advanced concepts, such as tab bars, web views, the accelerometer, camera, photo library, Google maps, and core location.

Swift was designed by Apple to incorporate modern scripting features while offering simpler, cleaner syntax than Objective-C to maintain a minimal and easy to read style. This more expressive code offers numerous key features, such as closures unified with function pointers, tuples and multiple value returns, generics, and functional programming patterns.

  • Learn how to obtain a device UDID
  • Test your applications on an actual device, so you can see your work in action
  • Distribute your applications outside of the App store, allowing you to test your work with real users
  • Review common reasons why apps are rejected by Apple to strengthen your case when submitting your apps for distribution

iOS Swift 24-Hour Trainer is an essential guide to Apple's Swift programming language for beginning programmers.

Recenzijas

"... this book serves as an excellent introduction to the Swift language, providing context, timeline and system requirements, both developer and run-time." (BCS - The Chartered Institute of IT, February 2017)

Introduction xxiii
Section I: Hello iOS!
Lesson 1 Hello iOS!
3(16)
iOS Developer Essentials
3(8)
A Suitable Mac
3(1)
A Device for Testing
4(1)
An iOS Developer Account
4(2)
The Official iOS SDK
6(1)
The Typical App Development Process
6(2)
Wireframes and Design
8(1)
Coding
8(1)
Testing
8(1)
Home Screen Icon
9(1)
Application Launch Image
10(1)
Try It
11(8)
Lesson Requirements
11(1)
Hints
11(1)
Step-by-Step
11(8)
Lesson 2 : A Tour Of XCODE And The iOS Simulator
19(16)
The Welcome Screen
19(1)
Creating a New Project
20(2)
An Overview of the Xcode IDE
22(9)
The Navigator Area
22(4)
The Editor Area
26(2)
The Utilities Area
28(2)
The Debugger Area
30(1)
The Toolbar
30(1)
Features of the iOS Simulator
31(2)
Installing and Uninstalling Applications
32(1)
Limitations of the iOS Simulator
33(1)
Try It
33(2)
Lesson Requirements
33(1)
Hints
33(1)
Step-by-Step
33(2)
Lesson 3 Introducing Swift
35(18)
Introducing Xcode Playgrounds
35(2)
Constants and Variables
37(1)
Data Types
38(1)
Comments
39(1)
Strings
39(1)
Tuples
40(1)
Optionals
41(1)
Control Flow Statements
42(7)
if-else
42(2)
switch-case
44(1)
Loops
45(4)
Control Transfer Statements
49(1)
Try It
50(3)
Lesson Requirements
50(1)
Hints
50(1)
Step-by-Step
50(3)
Lesson 4 Functions
53(4)
Declaring Functions
53(1)
Parameters and Return Values
53(2)
Try It
55(2)
Lesson Requirements
55(1)
Hints
55(1)
Step-by-Step
55(2)
Lesson 5 Closures
57(6)
Function Types
57(1)
Closure Types
58(2)
Global Closures
58(1)
Nested Closures
58(1)
Closure Expressions
59(1)
Try It
60(3)
Lesson Requirements
60(1)
Hints
60(1)
Step-by-Step
60(3)
Lesson 6 Error Handling
63(6)
The ErrorType Protocol
63(1)
Throwing and Catching Errors
64(2)
Suppressing Error Handling
65(1)
The defer Statement
66(1)
Try It
66(3)
Lesson Requirements
66(1)
Hints
67(1)
Step by Step
67(2)
Lesson 7 Object-Oriented Programming With Swift
69(16)
Creating Classes with Swift
70(1)
Properties
70(1)
Methods
71(3)
Instantiating Objects
74(1)
Inheritance
74(2)
Computed Properties
76(1)
Enumerations
77(1)
Protocols
77(4)
Try It
81(4)
Lesson Requirements
81(1)
Hints
81(1)
Step-by-Step
81(4)
Lesson 8 Supporting Multiple Device Types
85(10)
Device Differences
86(4)
Screen Size
86(1)
Icon Size
87(2)
Device Orientation
89(1)
The Universal XCode Template
90(1)
Try It
91(4)
Lesson Requirements
91(1)
Hints
91(1)
Step-by-Step
91(4)
Lesson 9 Introduction To UIKit And Adaptive Layout
95(22)
Introducing the UIKit Framework
95(4)
The UIButton Class
97(1)
The UILabel Class
98(1)
Basic Constraints
99(7)
Previewing Your Layout
106(2)
Creating Outlets
108(2)
Creating Actions
110(1)
Try It
110(7)
Lesson Requirements
110(1)
Hints
111(1)
Step-by-Step
111(6)
Lesson 10 Introduction To Storyboards
117(26)
Try It
124(19)
Lesson Requirements
124(1)
Hints
125(1)
Step-by-Step
125(18)
Section II: More iOS Development
Lesson 11 Handling User Input
143(12)
Text Fields
143(3)
Text Views
146(1)
Try It
147(8)
Lesson Requirements
147(1)
Hints
148(1)
Step-by-Step
148(7)
Lesson 12 Alert Views And Action Sheets
155(12)
Alert Views
155(4)
Action Sheets
159(2)
Try It
161(6)
Lesson Requirements
161(1)
Hints
161(1)
Step-by-Step
161(6)
Lesson 13 Adding Images To Your View
167(10)
The UIImage Class
167(3)
The UIImageView Class
170(2)
Try It
172(5)
Lesson Requirements
172(1)
Hints
172(1)
Step-by-Step
172(5)
Lesson 14 Pickers
177(16)
Date Pickers
181(3)
Custom Pickers
184(1)
Try It
185(8)
Lesson Requirements
185(1)
Hints
185(1)
Step-by-Step
186(7)
Lesson 15 Navigation Controllers
193(10)
Adding a Navigation Controller to a Storyboard
193(3)
The Navigation Controller Interface
196(1)
Try It
197(6)
Lesson Requirements
198(1)
Hints
198(1)
Step-by-Step
198(5)
Lesson 16 Table Views
203(14)
Table View Appearance
203(2)
Creating a Table View with Interface Builder
205(6)
Static Table Views
206(1)
Dynamic Table Views
207(4)
Try It
211(6)
Lesson Requirements
211(1)
Hints
211(1)
Step-by-Step
211(6)
Lesson 17 Collection Views
217(12)
Creating a Collection View with Interface Builder
218(1)
Collection View Cells
219(1)
Collection View Delegate and Data Source
220(2)
Try It
222(7)
Lesson Requirements
222(1)
Hints
223(1)
Step-by-Step
223(6)
Lesson 18 Tab Bars And Toolbars
229(16)
Creating a Tab Bar Controller
231(4)
Toolbars
235(3)
Try It
238(7)
Lesson Requirements
239(1)
Hints
239(1)
Step-by-Step
239(6)
Lesson 19 Creating Views That Scroll
245(12)
The UIScrollView Class
245(3)
Scroll Views and Text Fields
248(1)
Try It
249(8)
Lesson Requirements
249(1)
Hints
250(1)
Step-by-Step
250(7)
Lesson 20 Popovers And Modal Views
257(12)
Popovers
257(3)
Modal Views
260(2)
Try It
262(7)
Lesson Requirements
262(1)
Hints
263(1)
Step-by-Step
263(6)
Lesson 21 Touches And Gestures
269(8)
Touch Events
269(1)
Gesture Recognizers
270(1)
Try It
271(6)
Lesson Requirements
271(1)
Hints
272(1)
Step-by-Step
272(5)
Section III: Storing Data And Network Programming
Lesson 22 Property Lists
277(8)
Creating Property Lists
277(2)
Reading Property Lists
279(1)
Try It
280(5)
Lesson Requirements
280(1)
Hints
280(1)
Step-by-Step
280(5)
Lesson 23 Application Settings
285(10)
Adding a Settings Bundle
285(4)
Reading Preferences with Code
289(1)
Try It
290(5)
Lesson Requirements
290(1)
Hints
290(1)
Step-by-Step
291(4)
Lesson 24 Introduction To iCloud Storage
295(32)
Basic Concepts
295(2)
Preparing to Use the iCloud Storage APIs
297(12)
Creating an iCloud-Enabled App ID
297(5)
Creating an Appropriate Provisioning Profile
302(6)
Enabling Appropriate Entitlements in Your Xcode Project
308(1)
Checking for Service Availability
309(1)
Using iCloud Document Storage
310(5)
Creating a New iCloud Document
311(1)
Opening an Existing Document
312(1)
Saving a Document
312(1)
Searching for Documents on iCloud
313(2)
Try It
315(12)
Lesson Requirements
315(1)
Hints
316(1)
Step-by-Step
316(11)
Lesson 25 Introduction To Cloudkit
327(54)
Containers, Databases, and Records
327(3)
Development and Production Environments
330(1)
The CloudKit Dashboard
331(7)
Creating a Record Type
331(2)
Deleting a Record Type
333(1)
Creating Relationships Between Record Types
333(1)
Adding Records
334(2)
Modifying and Deleting Records
336(1)
Resetting the Development Schema
337(1)
Deploying to Production
337(1)
Preparing to Use CloudKit
338(12)
Create an iCloud-Enabled App ID
338(6)
Create an Appropriate Provisioning Profile
344(6)
Enable Appropriate Entitlements in Your Xcode Project
350(1)
Common Operations
350(2)
Checking for Service Availability
351(1)
Creating Records Programmatically
351(1)
Retrieving Records
352(1)
Try It
352(29)
Lesson Requirements
353(1)
Hints
353(1)
Step-by-Step
353(28)
Lesson 26 Introduction To Core Data
381(18)
Basic Concepts
381(3)
Managed Object
381(1)
Managed Object Context
381(1)
Persistent Store Coordinator
382(1)
Entity Description
383(1)
Managed Object Model
383(1)
Adding Core Data to a Project
384(5)
Instantiating Core Data Objects
389(1)
Writing Managed Objects
390(1)
Reading Managed Objects
391(1)
Try It
391(8)
Lesson Requirements
391(1)
Hints
392(1)
Step-by-Step
392(7)
Lesson 27 Consuming Restful JSON Web Services
399(18)
Types of Web Services
400(1)
RESTful Web Services
400(1)
SOAP Web Services
401(1)
JSON and NSJSONSerialization
401(2)
NSURLSession and Application Transport Security
403(5)
Creating an NSURLSession
404(1)
Creating a Data Task
405(1)
Application Transport Security
406(2)
Try It
408(9)
Lesson Requirements
408(1)
Hints
409(1)
Step-by-Step
409(8)
Section IV: Beyond The Basics
Lesson 28 Social Media Integration
417(10)
The Share Sheet
418(3)
Try It
421(6)
Lesson Requirements
421(1)
Hints
421(1)
Step-by-Step
422(5)
Lesson 29 Where Am I? Introducing Core Location
427(16)
Permissions
428(2)
Accuracy
430(1)
Receiving Location Updates
431(2)
Handling Errors and Checking Hardware Availability
433(1)
Geocoding and Reverse Geocoding
434(1)
Obtaining Compass Headings
435(1)
Try It
436(7)
Lesson Requirements
436(1)
Hints
437(1)
Step-by-Step
437(6)
Lesson 30 Introduction To Map Kit
443(12)
Adding Annotations
444(3)
Accessory Views
447(1)
Try It
447(8)
Lesson Requirements
448(1)
Hints
448(1)
Step-by-Step
449(6)
Lesson 31 Using The Camera And Photo Library
455(10)
Selecting the Image Source
456(1)
Presenting the Image Picker
456(3)
Try It
459(6)
Lesson Requirements
459(1)
Hints
459(1)
Step-by-Step
459(6)
Lesson 32 Introduction To User Interface Testing
465(20)
Adding Support for UI Testing to Your Project
465(3)
Anatomy of a Test Case
468(1)
New Classes for UI Testing
469(8)
XCUIApplication
469(1)
XCUIDevice
470(1)
XCUIElementQuery
471(1)
XCUIEIement
472(3)
XCUIElementAttributes
475(1)
XCUIElementTypeQueryProvider
476(1)
Test Assertions
477(1)
UI Recording
478(1)
Waiting for Elements in a UI Test
479(1)
Try It
480(5)
Lesson Requirements
480(1)
Hints
480(1)
Step-by-Step
481(4)
Lesson 33 Introduction To Test Driven Development
485(22)
Adding Support for Unit Testing to Your Project
486(2)
TDD Techniques
488(1)
Test First
488(1)
Red-Green-Refactor
488(1)
Don't Write Code You Do Not Yet Need
489(1)
Anatomy of a Test Case
489(2)
Test Assertions
491(2)
Try It
493
Lesson Requirements
493(1)
Hints
493(1)
Step-by-Step
494
Section V: Reference
Appendix A: Testing Your App On A Device
507(20)
Appendix B: Beta Testing With Testflight
527(26)
Appendix C: App Store Distribution
553(16)
Index 569
Abhishek Mishra has been developing software for over 18 years and has experience with a diverse set of programming languages and platforms. He is the author of "iPhone and iPad App 24-Hour Trainer" and the technical reviewer of "Professional iOS Programming." He holds a Master's degree in Computer Science from the University of London and is a freelance consultant and trainer specializing in mobile application development.

Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.