Migrating to Swift from Web Development [electronic resource] /
Liao, Sean.author.
Punak, Mark.author.
Nemec, Anthony.author.
Migrating to Swift From Web Development gives you the ability to create native iOS apps using the latest Swift programming language. Starting with preparing your latest Xcode 6 Integrated Development Environment and introducing just enough iOS application framework fundamentals, you'll understand how to create a simple but meaningful Hello Swift application for iOS 8 immediately. After the short IDE setup guide, this book will show you how to structure your iOS project from an existing mobile web app. Every topic comes with a tutorial project that you will create by yourself. You'll plan and structure your iOS apps using Xcode Storyboard, implementing use cases with detailed screens, and learn about managing data and working with remote services. Finally, you'll experience a recap of the whole porting process by translating a mobile web app to iOS 8 from start to end. When you finish reading Migrating to Swift from Web Development, you'll be an iOS developer as well as a front-end web developer.
Contents at a Glance; Introduction; Part 1: Prepare Your Tools; Chapter 1: Setting Up the Development Environment; Xcode and the iOS SDK; Installing from the Mac App Store; Creating an iOS Project Using the Template; Building the Project; Launching the App; Summary; Chapter 2: iOS Programming Basics; The Swift Language in a Nutshell; HelloSwift with Xcode; Creating a Swift Command-Line Project; Creating a Swift Class; Creating a Swift Protocol; Implementing the Protocol; Using the Swift Instance; Implementing Access Control; Using the Xcode Debugger; More About the Swift Language
Variables and ConstantsType Safety and Type Inference; Optional Variable; Implicitly Unwrapped Optionals; Tuples; Collections; Control Flow; Switch; Enumerations; Functions; Class; Property; Method; Reference Type vs. Value Types; iOS Project Anatomy; Xcode Storyboard; Object Library and Attributes Inspector; Summary; Part 2: A Roadmap for Porting; Chapter 3: Structure Your App; Model-View- Controller; Content View; Auto Layout; Size Classes; Content View Controller; Pair with Content View; Interact with Content View; UIViewController Life Cycle; viewDidLoad; viewWillAppear; viewDidAppear
Chapter 4: Implement Piece by PieceUser Interface; UIView; Application Resources; Using the Assets Catalog; Externalizing Strings; Common UI Widgets; UILabel; UITextField; UITextView; UIButton; UISegmentedControl; UISlider; UIActivityIndicatorView; UIProgressView; UISwitch; UIImageView; Menu; UIBarButtonItem; Action Sheet; UIPickerView; Play Video; UIWebView; ScrollView; Animations; Save Data; NSUserDefaults; File Storage; NSFileManager; Networking and Using Remote Service; Perform Network Operations in Background; RESTful Service Using HTTP; NSURLConnection; Summary
Part 3: Finishing TouchesChapter 5: Pulling It All Together; Structure Your App; Draw Storyboard Scenes; Edit Text Screen; Rental Property Info Screen; Amortization Screen; Monthly Details Screen; Choose a Screen Navigation Pattern; Business Object; Application Resources; Implement Piece by Piece; RentalProperty; EditTextViewController; Return Data to the Presenting View Controller; Handle Soft Keyboard; RentalPropertyViewController; AmortizationViewController; MonthlyTermViewController; Summary; Chapter 6: Bonus Chapter: Hybrid Apps; Bundle Web Contents; Invoke JavaScript Function
Invoke Native Code
Includes index.
Migrating to Swift From Web Development gives you the ability to create native iOS apps using the latest Swift programming language. Starting with preparing your latest Xcode 6 Integrated Development Environment and introducing just enough iOS application framework fundamentals, you'll understand how to create a simple but meaningful Hello Swift application for iOS 8 immediately. After the short IDE setup guide, this book will show you how to structure your iOS project from an existing mobile web app. Every topic comes with a tutorial project that you will create by yourself. You'll plan and structure your iOS apps using Xcode Storyboard, implementing use cases with detailed screens, and learn about managing data and working with remote services. Finally, you'll experience a recap of the whole porting process by translating a mobile web app to iOS 8 from start to end. When you finish reading Migrating to Swift from Web Development, you'll be an iOS developer as well as a front-end web developer.
Computer programming.
Programming languages (Electronic computers).
Web Development.
Programming Techniques.
Programming Languages, Compilers, Interpreters.