East Baton Rouge Parish Library

Migrating to Swift from Android, Sean Liao

Label
Migrating to Swift from Android, Sean Liao
Language
eng
Illustrations
illustrations
Index
index present
Literary Form
non fiction
Main title
Migrating to Swift from Android
Nature of contents
dictionaries
Oclc number
1894508828
Responsibility statement
Sean Liao
Summary
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 understand how to create meaningful Swift applications for iOS 8 immediately. After the short IDE setup guide, this book continues by providing guidance on how to translate your existing Android apps to iOS. Every topic comes with a tutorial project; you'll plan and structure your iOS apps following a typical top-down process using Xcode Storyboards. To implement use cases, you'll cover common mobile topics, including user interfaces, managing data, and networking with remote services. As you move through Part 2 of this book, you'll create simple and meaningful iOS apps with rich UI components to handle common CRUD operations locally and remotely. Part 3 demonstrates the whole porting process by translating a typical mobile app from Android to iOS 8 from start to finish. When you finish reading Migrating to Swift from Android, you'll be an iOS developer as well as an Android developer. And, you will be fully convinced you can create iOS apps just like you do in Android. In most cases, it is a waste not to port your native Android apps to iOS
Table Of Contents
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 InferenceOptional 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 ()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 PieceUser 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 StudyStructure 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