封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it...
How it works...
There's more...
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Swift Programming Language
Introduction
Using closures to create self-contained code
Getting ready
How to do it...
How it works...
There's more...
Inferring type
Omitting the return keyword
Shorthand arguments
Creating enumerations to write readable code
Getting ready
How to do it...
How it works...
There's more...
Enum raw values
Assigning raw values
Using Enums with raw values
Enums with associated values
Working with protocols and delegates
Getting ready
How to do it...
How it works...
There's more...
Mutating methods
Delegation
Class-only protocols
Checking protocol conformance
Optional requirements
Using extensions to extend classes functionality
Getting ready
How to do it...
How it works...
There's more...
Mutating instance methods
Adding new initializer
Define subscripts
Working with memory management and ARC
Getting ready
How to do it...
How it works...
There's more...
Using error handling
Getting ready
How to do it...
How it works...
There's more...
Multiple catch statements
Disable error propagation
Using generics to write generic and reusable code
Getting ready
How to do it...
How it works...
The Essentials
Introduction
Using UIView via code or interface builder to build your own custom views
Getting ready
How to do it...
How it works...
There's more...
Working with navigation controller and navigation bar
Getting ready
How to do it...
How it works...
There's more...
Push and pop
Hiding navigation bar
Navigation bar color
Working with stack views
How to do it
How it works...
Working with UICollectionView
How to do it...
How it works...
There's more...
Customizable layouts
Working with gestures like swipe pan rotation and tap
Getting ready
How to do it...
How it works...
There's more...
Using 3D touch
How to do it...
How it works...
There's more...
Home screen quick actions
Integrating with Messages App
Introduction
Integrating iMessage app with sticker pack
Getting ready
Stickers
How to do it...
How it works...
There's more...
Integrating iMessage app with iMessage app
Getting ready
How to do it...
How it works...
There's more...
Showing progress indicator
Request files with pagination
Working with Interface Builder
Introduction
Using storyboards
Getting ready
How to do it...
How it works...
There's more...
Segues attributes
Preparing for a segue
Unwind segues (exit segues)
Custom segues
Working with Autolayout and constraints
Getting ready
How to do it...
How it works...
There's more...
Updating constraints
Designing your interface builder for any size classes in one storyboard
Getting ready
How to do it...
How it works...
Embedding view controllers using container view
How to do it...
How it works...
There's more...
Working with UITableView
Introduction
Working with scroll view
Getting ready
How to do it...
How it works...
There's more...
Using TableView sections headers and footers
Getting ready
How to do it...
How it works...
There's more...
Custom section header and footer
Using custom cells
Getting ready
How to do it...
How it works...
Resizing table view cells dynamically
How to do it...
How it works...
Editing table views
Getting ready
How to do it...
Inserting cells with animation
Removing cells with animation
Dragging and dropping to reorder cells
How it works...
There's more...
Animations and Graphics
Introduction
Drawing text images lines rectangles and gradients
Getting ready
How to do it...
How it works...
There's more...
Animating shapes drawn with UIBezierPath
Getting ready
How to do it...
How it works...
Animating UIViews
How to do it...
How it works...
Multimedia
Introduction
Working with audio capabilities
Getting ready
How to do it...
How it works...
There's more...
Recognizing speech
Playing videos
Getting ready
How to do it...
How it works...
There's more...
Slide Over
Split View
Picture-in-Picture
Capturing photos and videos
How to do it...
How it works...
Using filters with CoreImage
How to do it...
How it works...
Concurrency
Introduction
Using Dispatch queues
Getting ready
How to do it...
How it works...
There's more...
Using Operation queues
Getting ready
How to do it...
How it works...
Using Operation subclassing
How to do it...
How it works...
Location Services
Introduction
Detecting user location
How to do it...
How it works...
Displaying pins in map view
Getting ready
How to do it...
How it works...
Getting directions between locations
How to do it...
How it works...
Working with geofencing
How to do it...
How it works...
Security and Encryption
Introduction
Using Touch ID for user authentication
Getting ready
How to do it...
How it works...
Working with Keychain
Getting ready
How to do it...
How it works...
Encryption
Getting ready
How to do it...
How it works...
Networking
Introduction
Using NSURLSession API for network connections
Getting ready
How to do it...
How it works...
Parsing JSON data
Getting ready
How to do it...
How it works...
Social sharing
Getting ready
How to do it...
How it works...
Persisting Data with Core Data
Introduction
Designing data models
How to do it...
How it works...
Reading and inserting records to Core Data
How to do it...
How it works...
Updating and deleting records from Core Data
How to do it...
How it works...
Notifications
Introduction
Setting up Push Notifications
Getting ready
How to do it...
How it works...
Setting up a local server to send Push Notifications
Getting ready
How to do it...
How it works...
Working with interactive Push Notifications
How to do it...
How it works...
Working with local notifications
How to do it...
How it works...
App Search
Introduction
App indexing using NSUserActivity
Getting ready
How to do it...
How it works...
There's more...
App indexing using Core Spotlight APIs
How to do it...
How it works...
Optimizing Performance
Introduction
Memory management with ARC
Getting ready
Retain cycles
Working with closures
How to do it...
How it works...
Measuring performance
How to do it...
How it works...
Measuring energy impact
How to do it...
How it works...
On-demand resources
Getting ready
How to do it...
How it works...
更新时间:2021-07-09 18:30:37