0%

Book Description

Build on your knowledge of ActionScript to take the fast track developing iOS apps with Apple's latest language, Swift. Swift's syntax is easier to understand than Objective-C for people already familiar with ActionScript. At the same time it offers a number of new features and richer expressiveness than both ActionScript and Objective-C.

Switching to a new platform usually involves migration on three levels: tools, workflow, and programming language. This book is structured as a guide that will help you on each level with step-by-step tutorials. Apart from the tutorials, it comes with recipes for some of the most popular mobile development topics: social network integration and messaging, taking advantage of device capabilities, networking and working with local and iCloud data, advertising in your app or game, and 2D and 3D graphics. The book also includes a final chapter that takes you through Apple's App Store submission process. Don't just build your apps, sell them.

What You Will Learn:

  • Expand your development knowledge to native iOS programming with Swift

  • Use the latest Xcode 7 IDE

  • Migrate your existing ActionScript projects to Swift

  • Create advanced UI, leverage the device hardware, integrate with social networks, take advantage of 2D and 3D graphics

  • Diagnose your app quickly with Xcode's debugger and instruments

  • Prepare and submit our iOS app in Apple's App Store

Who This Book is For:

Migrating to Swift from Flash and ActionScript is for Flash and Adobe AIR developers who want to move on to native iOS programming with the latest Apple Swift language. It's for the seasoned ActionScript programmer who is looking to add another language and platform to their tool belt quickly. Migrating to Swift from Flash and ActionScript is a good choice for developers who learn by doing and don't have time to read thick manuals and books for beginners in order to start programming in a new language.

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. Tool Migration
    1. 1. Setting Up Your Environment
    2. 2. Hello, Xcode!
    3. 3. Introducing the Xcode Debugger
    4. 4. Additional Development Tools
  4. 2. Workflow Migration
    1. 5. “Hello, Swift!”—A Tutorial for Building an iOS App
    2. 6. Adding a More Complex UI
    3. 7. Concurrency
    4. 8. Debugging and Testing Your App
  5. 3. Making Apps with Swift—Applied Examples
    1. 9. Communicating: E-mail, Text Messages, and Calls
    2. 10. Getting Social: Posting to Facebook and Twitter
    3. 11. Knowing Your Location
    4. 12. Working with the Camera and Images
    5. 13. Working with Data
    6. 14. Networking
    7. 15. Adverts and Push Notifications
    8. 16. Using the High-End Graphics APIs
  6. 4. Language Migration
    1. 17. Swift Language Basics
    2. 18. Operators
    3. 19. Types
    4. 20. Control Flow
    5. 21. Object-Oriented Programming Topics
    6. 22. New and Different Concepts
    7. 23. Releasing Your App in the App Store
  7. Backmatter