Mishra, A: Swift iOS 24-Hour Trainer
(Sprache: Englisch)
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...
Leider schon ausverkauft
versandkostenfrei
Buch
38.60 €
- Lastschrift, Kreditkarte, Paypal, Rechnung
- Kostenlose Rücksendung
Produktdetails
Produktinformationen zu „Mishra, A: Swift iOS 24-Hour Trainer “
Klappentext zu „Mishra, A: Swift iOS 24-Hour Trainer “
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 distributioniOS Swift 24-Hour Trainer is an essential guide to Apple's Swift programming language for beginning programmers.
Inhaltsverzeichnis zu „Mishra, A: Swift iOS 24-Hour Trainer “
INTRODUCTION xxiiiSECTION I: HELLO iOS!LESSON 1: HELLO iOS! 3iOS Developer Essentials 3A Suitable Mac 3A Device for Testing 4An iOS Developer Account 4The Offi cial iOS SDK 6The Typical App Development Process 6Wireframes and Design 8Coding 8Testing 8Home Screen Icon 9Application Launch Image 10Try It 11Lesson Requirements 11Hints 11Step-by-Step 11LESSON 2: A TOUR OF XCODE AND THE iOS SIMULATOR 19The Welcome Screen 19Creating a New Project 20An Overview of the Xcode IDE 22The Navigator Area 22The Editor Area 26The Utilities Area 28The Debugger Area 30The Toolbar 30Features of the iOS Simulator 31Installing and Uninstalling Applications 32Limitations of the iOS Simulator 33Try It 33Lesson Requirements 33Hints 33Step-by-Step 33LESSON 3: INTRODUCING SWIFT 35Introducing Xcode Playgrounds 35Constants and Variables 37Data Types 38Comments 39Strings 39Tuples 40Optionals 41Control Flow Statements 42if-else 42switch-case 44Loops 45Control Transfer Statements 49Try It 50Lesson Requirements 50Hints 50Step-by-Step 50LESSON 4: FUNCTIONS 53Declaring Functions 53Parameters and Return Values 53Try It 55Lesson Requirements 55Hints 55Step-by-Step 55LESSON 5: CLOSURES 57Function Types 57Closure Types 58Global Closures 58Nested Closures 58Closure Expressions 59Try It 60Lesson Requirements 60Hints 60Step-by-Step 60LESSON 6: ERROR HANDLING 63The ErrorType Protocol 63Throwing and Catching Errors 64Suppressing Error Handling 65The defer Statement 66Try It 66Lesson Requirements 66Hints 67Step by Step 67LESSON 7: OBJECT-ORIENTED PROGRAMMING WITH SWIFT 69Creating Classes with Swift 70Properties 70Methods 71Instantiating Objects 74Inheritance 74Computed Properties 76Enumerations 77Protocols 77Try It 81Lesson Requirements 81Hints 81Step-by-Step 81LESSON 8: SUPPORTING MULTIPLE DEVICE TYPES 85Device Differences 86Screen Size 86Icon Size 87Device Orientation 89The Universal XCode Template 90Try It 91Lesson Requirements 91Hints 91Step-by-Step 91LESSON 9: INTRODUCTION TO UIKIT AND ADAPTIVE LAYOUT
... mehr
95Introducing the UIKit Framework 95The UIButton Class 97The UILabel Class 98Basic Constraints 99Previewing Your Layout 106Creating Outlets 108Creating Actions 110Try It 110Lesson Requirements 110Hints 111Step-by-Step 111LESSON 10: INTRODUCTION TO STORYBOARDS 117Try It 124Lesson Requirements 124Hints 125Step-by-Step 125SECTION II: MORE iOS DEVELOPMENTLESSON 11: HANDLING USER INPUT 143Text Fields 143Text Views 146Try It 147Lesson Requirements 147Hints 148Step-by-Step 148LESSON 12: ALERT VIEWS AND ACTION SHEETS 155Alert Views 155Action Sheets 159Try It 161Lesson Requirements 161Hints 161Step-by-Step 161LESSON 13: ADDING IMAGES TO YOUR VIEW 167The UIImage Class 167The UIImageView Class 170Try It 172Lesson Requirements 172Hints 172Step-by-Step 172LESSON 14: PICKERS 177Date Pickers 181Custom Pickers 184Try It 185Lesson Requirements 185Hints 185Step-by-Step 186LESSON 15: NAVIGATION CONTROLLERS 193Adding a Navigation Controller to a Storyboard 193The Navigation Controller Interface 196Try It 197Lesson Requirements 198Hints 198Step-by-Step 198LESSON 16: TABLE VIEWS 203Table View Appearance 203Creating a Table View with Interface Builder 205Static Table Views 206Dynamic Table Views 207Try It 211Lesson Requirements 211Hints 211Step-by-Step 211LESSON 17: COLLECTION VIEWS 217Creating a Collection View with Interface Builder 218Collection View Cells 219Collection View Delegate and Data Source 220Try It 222Lesson Requirements 222Hints 223Step-by-Step 223LESSON 18: TAB BARS AND TOOLBARS 229Creating a Tab Bar Controller 231Toolbars 235Try It 238Lesson Requirements 239Hints 239Step-by-Step 239LESSON 19: CREATING VIEWS THAT SCROLL 245The UIScrollView Class 245Scroll Views and Text Fields 248Try It 249Lesson Requirements 249Hints 250Step-by-Step 250LESSON 20: POPOVERS AND MODAL VIEWS 257Popovers 257Modal Views 260Try It 262Lesson Requirements 262Hints 263Step-by-Step 263LESSON 21: TOUCHES AND GESTURES 269Touch Events 269Gesture Recognizers 270Try It 271Lesson Requirements 271Hints 272Step-by-Step 272SECTION III: STORING DATA AND NETWORK PROGRAMMINGLESSON 22: PROPERTY LISTS 277Creating Property Lists 277Reading Property Lists 279Try It 280Lesson Requirements 280Hints 280Step-by-Step 280LESSON 23: APPLICATION SETTINGS 285Adding a Settings Bundle 285Reading Preferences with Code 289Try It 290Lesson Requirements 290Hints 290Step-by-Step 291LESSON 24: INTRODUCTION TO iCLOUD STORAGE 295Basic Concepts 295Preparing to Use the iCloud Storage APIs 297Creating an iCloud-Enabled App ID 297Creating an Appropriate Provisioning Profi le 302Enabling Appropriate Entitlements in Your Xcode Project 308Checking for Service Availability 309Using iCloud Document Storage 310Creating a New iCloud Document 311Opening an Existing Document 312Saving a Document 312Searching for Documents on iCloud 313Try It 315Lesson Requirements 315Hints 316Step-by-Step 316LESSON 25: INTRODUCTION TO CLOUDKIT 327Containers, Databases, and Records 327Development and Production Environments 330The CloudKit Dashboard 331Creating a Record Type 331Deleting a Record Type 333Creating Relationships Between Record Types 333Adding Records 334Modifying and Deleting Records 336Resetting the Development Schema 337Deploying to Production 337Preparing to Use CloudKit 338Create an iCloud-Enabled App ID 338Create an Appropriate Provisioning Profi le 344Enable Appropriate Entitlements in Your Xcode Project 350Common Operations 350Checking for Service Availability 351Creating Records Programmatically 351Retrieving Records 352Try It 352Lesson Requirements 353Hints 353Step-by-Step 353LESSON 26: INTRODUCTION TO CORE DATA 381Basic Concepts 381Managed Object 381Managed Object Context 381Persistent Store Coordinator 382Entity Description 383Managed Object Model 383Adding Core Data to a Project 384Instantiating Core Data Objects 389Writing Managed Objects 390Reading Managed Objects 391Try It 391Lesson Requirements 391Hints 392Step-by-Step 392LESSON 27: CONSUMING RESTful JSON WEB SERVICES 399Types of Web Services 400RESTful Web Services 400SOAP Web Services 401JSON and NSJSONSerialization 401NSURLSession and Application Transport Security 403Creating an NSURLSession 404Creating a Data Task 405Application Transport Security 406Try It 408Lesson Requirements 408Hints 409Step-by-Step 409SECTION IV: BEYOND THE BASICSLESSON 28: SOCIAL MEDIA INTEGRATION 417The Share Sheet 418Try It 421Lesson Requirements 421Hints 421Step-by-Step 422LESSON 29: WHERE Am I? INTRODUCING CORE LOCATION 427Permissions 428Accuracy 430Receiving Location Updates 431Handling Errors and Checking Hardware Availability 433Geocoding and Reverse Geocoding 434Obtaining Compass Headings 435Try It 436Lesson Requirements 436Hints 437Step-by-Step 437LESSON 30: INTRODUCTION TO MAP KIT 443Adding Annotations 444Accessory Views 447Try It 447Lesson Requirements 448Hints 448Step-by-Step 449LESSON 31: USING THE CAMERA AND PHOTO LIBRARY 455Selecting the Image Source 456Presenting the Image Picker 456Try It 459Lesson Requirements 459Hints 459Step-by-Step 459LESSON 32: INTRODUCTION TO USER INTERFACE TESTING 465Adding Support for UI Testing to Your Project 465Anatomy of a Test Case 468New Classes for UI Testing 469XCUIApplication 469XCUIDevice 470XCUIElementQuery 471XCUIElement 472XCUIElementAttributes 475XCUIElementTypeQueryProvider 476Test Assertions 477UI Recording 478Waiting for Elements in a UI Test 479Try It 480Lesson Requirements 480Hints 480Step-by-Step 481LESSON 33: INTRODUCTION TO TEST DRIVEN DEVELOPMENT 485Adding Support for Unit Testing to Your Project 486TDD Techniques 488Test First 488Red-Green-Refactor 488Don't Write Code You Do Not Yet Need 489Anatomy of a Test Case 489Test Assertions 491Try It 493Lesson Requirements 493Hints 493Step-by-Step 494SECTION V: REFERENCEAPPENDIX A: TESTING YOUR APP ON A DEVICE 507APPENDIX B: BETA TESTING WITH TESTFLIGHT 527APPENDIX C: APP STORE DISTRIBUTION 553INDEX 569
... weniger
Bibliographische Angaben
- Autor: Abhishek Mishra
- 11. Auflage, 597 Seiten, Maße: 18,7 x 23,3 cm, Kartoniert (TB), Englisch
- Verlag: John Wiley & Sons
- ISBN-10: 1119073553
- ISBN-13: 9781119073550
- Erscheinungsdatum: 16.02.2016
Sprache:
Englisch
Kommentar zu "Mishra, A: Swift iOS 24-Hour Trainer"
Schreiben Sie einen Kommentar zu "Mishra, A: Swift iOS 24-Hour Trainer".
Kommentar verfassen