مشخصات کتاب
-
Sean Liao
-
2014
-
انگلیسی
-
6454
-
368
-
0
Migrating to Swift from Android
■■Part I : Prepare Your Tools .............................................. 1
■■Chapter 1: Setting Up the Development Environment .................... 3
Xcode and the iOS SDK ........................................................................... 3
Installing from the Mac App Store ............................................................................ 4
Create an iOS Project Using the Template ................................................................ 5
Summary ............................................................................................... 10
■■Chapter 2: iOS Programming Basics ............................................ 11
The Swift Language in a Nutshell ......................................................... 12
HelloSwift with Xcode ............................................................................................12
More About the Swift Language ............................................................................. 20
iOS Project Anatomy .............................................................................. 33
Xcode Storyboard ...................................................................................................37
Object Library and Attributes Inspector .................................................................. 39
Summary ............................................................................................... 43
■■Part II: A Roadmap for Porting ..................................... 45
■■Chapter 3: Structure Your App ...................................................... 47
Model-View-Controller .......................................................................... 47
Content View ...........................................................................................................48
Content View Controller ..........................................................................................60
Screen Navigation Patterns ................................................................... 68
Storyboard Segue ...................................................................................................68
Pass Data with a Segue ..........................................................................................71
Container View Controller ....................................................................................... 73
Navigation Stack .....................................................................................................73
UINavigationController ............................................................................................77
Master List with Details Drilldown .......................................................................... 80
Navigation Tabs ......................................................................................................94
Swipe Views .........................................................................................................101
UIPageViewController ...........................................................................................104
Dialogs ..................................................................................................................108
Summary ............................................................................................. 115
■■Chapter 4: Implement Piece by Piece ......................................... 117
User Interface ..................................................................................... 117
UIView ...................................................................................................................118
Application Resources ..........................................................................................120
Externalize Strings ................................................................................................122
Common UI Widgets .............................................................................................124
Animations ............................................................................................................167