Migrating to Swift from Android

In 250 pages, Migrating to Swift from Android gives you?as an experienced Android app developer?all you need to create native iOS apps using the latest Swift programming language. Starting with preparing your Xcode 6 IDE and introducing just enough iOS application framework fundamentals, you'll...

Full description

Bibliographic Details
Main Author: Liao, Sean
Format: eBook
Language:English
Published: Berkeley, CA, New York, NY Apress, Distributed to the Book trade worldwide by Springer 2014
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Structure Your AppDraw Storyboard Scenes; Choose a Screen Navigation Pattern; Implement Piece by Piece; Application Resources; Java Class to Swift Class; Model Class: RentalProperty; EditTextViewController; RentalPropertyViewController; AmortizationViewController; MonthlyTermViewFragment; Java Methods to Swift Methods; EditTextViewController; RentalPropertyViewController; AmortizationViewController; MonthlyTermViewController; RESTful Service and Saving Data; Saving Data; Use RESTful Service; Summary; Index; Contents; About the Author; About the TechnicalReviewer; Acknowledgments
  • Screen Navigation PatternsStoryboard Segue; Pass Data with a Segue; Container View Controller; Navigation Stack; UINavigationController; Master List with Details Drilldown; UITableViewController; UITableViewDataSource; UITableViewDelegate; UITableView; UITableViewCell; UICollectionView; Navigation Tabs; Implementing Navigation Tabs; UITabBarController; Add/Remove a Tab Bar Item; Update the Look and Feel of the Tab Bar Items; Handle Runtime Behavior; Swipe Views; UIPageViewController; Dialogs; UIAlertController; UIPopoverController; Toasts; Summary; Chapter 4: Implement Piece by Piece
  • At aGlance; Introduction; Part I: Prepare Your Tools; Chapter 1: Setting Up the Development Environment; Xcode and the iOS SDK; Installing from the Mac App Store; Create an iOS Project Using the Template; Build the Project; Launch the App; Summary; Chapter 2: iOS Programming Basics; The Swift Language in a Nutshell; HelloSwift with Xcode; Create a Swift Command-Line Project; Create a Swift Class; Create a Swift Protocol; Implement the Protocol; Use the Swift Instance; Xcode Debugger; More About the Swift Language; Variables and Constants; Type Safety and Type Inference
  • User InterfaceUIView; Application Resources; Assets Catalog; Externalize Strings; Common UI Widgets; UILabel; UITextField; UITextView; UIButton; UISegmentedControl; UISlider; UIActivityIndicatorView; UIProgressView; UISwitch; UIImageView; Menu; UIBarButtonItem; Action Sheet; UIPickerView; Play Video; WebView; 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 III: Pulling It All Together; Chapter 5: Recap with a Case Study
  • Optional VariableImplicitly 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 II: 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; viewWillDisappear; viewDidDisappear ()