HOME BOOKS QUICK GUIDES VIDEO COURSES
NEWSLETTER CONTACT
iOS Apps for Masterminds
How to take advantage of Swift to create insanely great apps for iPhones and iPads
2nd Edition
ISBN: 978-0-9918178-6-3
Buy Now
There is a new edition of this book available!
Click here for more information.
Table of Contents
The following are all the topics explored in the book iOS Apps for Masterminds.
Chapter 1
1.1 Overview
Requirements
Mobile Operative System
1.2 Xcode
Running Xcode
1.3 Development
Programming Languages
Cocoa Touch API
Compiler
Chapter 2
2.1 Computer Programs
Playground
2.2 Variables
Memory
Primitive Types
Declaration and Initialization
Arithmetic Operators
Constants
2.3 Data Types
Characters
Strings
Booleans
Optionals
Tuples
2.4 Collections
Arrays
Sets
Dictionaries
2.5 Conditionals and Loops
If and Else
Switch
While and Repeat While
For In
Control Transfer Statements
2.6 Enumerations
Associated Values
Chapter 3
3.1 Programming Paradigms
3.2 Functions
Declaration of Functions
Generic Functions
Standard Functions
Scopes
Closures
3.3 Structures
Definition of Structures
Methods
Initialization
Property Keywords
Computed Properties
Type Properties and Methods
Primitive Type Structures and Casting
String Structures
Array Structures
Set Structures
Dictionary Structures
Range Structures
3.4 Enumerations
3.5 Objects
Definition of Objects
Property Observers
Type Properties and Methods
Optional Chaining
Reference Types
Memory Management
Inheritance
Type Casting
Any and AnyObject
Initialization
Deinitialization
3.6 Protocols
Definition of Protocols
Extensions
Delegates
Chapter 4
4.1 iOS SDK
Importing Frameworks
4.2 Foundation
More Standard Functions
Strings
Ranges
Numbers
Dates
Measurements
4.3 Core Graphics
CGGeometry
4.4 UIKit
UIApplication
UIDevice
UIScreen
UIWindow
UIView
UIView Subclasses
UILabel
UIProgressView
UIActivityIndicatorView
UIControl
UIButton
UISegmentedControl
UISwitch
UISlider
UIStepper
Chapter 5
5.1 The Interface
Xcode Projects
Xcode Tools
Running the Project
5.2 Templates
MVC
Application Delegate
Storyboard
View Controllers
5.3 Interface Builder
Object Library
Guide Lines
Properties
5.4 Connections
Outlets
Connections in the Storyboard
Actions
Outlet Collections
Real-Life Application
Chapter 6
6.1 Adaptivity
6.2 Auto Layout
Autoresizing
Constraints
Assigning Constraints
Editing Constraints
Standard Values
Resolving Auto Layout Issues
Intrinsic Content Size
Multiple Views Constraints
Relations and Priorities
Constraints in the Document Outline Panel
NSLayoutConstraint
Real-Life Application
6.3 Trait Collections
Size Classes
Adapting Properties
Adapting Constraints
Adapting Elements
UITraitCollection
Orientation
Chapter 7
7.1 Input and Output
UITextField
UITextView
7.2 Keyboard
Chapter 8
8.1 Images
UIImage and UIImageView
Visual Effects
Assets Catalog
Icons
Launching Image
Chapter 9
9.1 Listing Values
UIPickerView
UIDatePicker
Chapter 10
10.1 Timer
Chapter 11
11.1 Scroll Views
Scrolling
Zooming
Pages
Scrolling the Interface
Chapter 12
12.1 Gesture Recognizers
Chapter 13
13.1 Multiple View Controllers
Segues
Unwind Segues
Segues in Code
13.2 Navigation Controllers
Navigation Controllers in the Storyboard
Navigation Bar
Items
Toolbar
Custom Navigation
Orientation
Sharing Data
13.3 Tab Bar Controllers
Tabs
UITabBarController
Tab Bar Controller Delegate
Real-Life Application
Chapter 14
14.1 Tables
UITableView
UITableViewCell
Table View Protocols
IndexPath
Implementing Table Views
Selection
Sections and Indexes
Custom Cells
Self-Sizing Cells
14.2 Table Views and Navigation Controllers
Adding Rows
Deleting Rows
Moving Rows
14.3 UITableViewController
Static Tables
14.4 Search
UISearchBar
Chapter 15
15.1 A Collection of Views
UICollectionView
UICollectionViewCell
UICollectionViewFlowLayout
Collection View Protocols
Layout Protocol
Implementing Collection Views
Scroll Direction
Selection
Supplementary Views
Flow Layout
Custom Layout
Real-Life Application
Chapter 16
16.1 Universal Container
UISplitViewController
UISplitViewControllerDelegate
Implementing Split View Controllers
16.2 Improving the Interface
Item by Default
Detail View by Default
Display Mode Button
Split View Controller Delegate
16.3 Expanding the Interface
Modal Views
UIPresentationController
UIPopoverPresentationController
Chapter 17
17.1 Alert Views
Alerts
Action Sheets
Chapter 18
18.1 Operations
Block Operations
Main Queue
18.2 Grand Central Dispatch
Dispatch Framework
Chapter 19
19.1 Notification Center
System Notifications
19.2 User Notifications
User Notifications Framework
19.3 Key/Value Observing
KVC
KVO
Chapter 20
20.1 Errors
Throwing Errors
Handling Errors
Chapter 21
21.1 User Preferences
UserDefaults
21.2 Files
FileManager
URLs and Paths
Files and Directories
Files Attributes
Files Content
Bundle
21.3 Archiving
Encoding and Decoding
Real-Life Application
Chapter 22
22.1 Custom Object Graph
Data Model
Core Data Stack
NSManagedObject
Managing Objects
Counting Objects
Predicates
Sort Descriptors
Delete Objects
22.2 Fetched Results Controller
Sections
Search
22.3 Migration
Chapter 23
23.1 Data in the Cloud
Enabling iCloud
Testing Devices
23.2 Key-Value Storage
23.3 iCloud Documents
Multiple Documents
23.4 CloudKit
Container
Records
Zones
Query
Operations
CloudKit Dashboard
Implementing CloudKit
References
Assets
Subscriptions
Errors
Chapter 24
24.1 Core Graphics
Destination
Context
Paths
Colors
Configuration
Saving the State
Clipping
Gradients
Shadows
Transformations
Text
Images
Drawing Cycle
Image Context
24.2 Core Animation
CALayer
3D Transformations
UIView Animations
Chapter 25
25.1 Video
AVAsset
AVPlayerItem
AVPlayer
AVPlayerLayer
CMTime
Video Player
AVKit
25.2 Audio
AVAudioPlayerDelegate
Recording
25.3 Media
Media Controller
Query Media
Chapter 26
26.1 Image Picker Controller
Camera
Photo Library
Adapting the Controller
Storing Pictures
Modifying Pictures
26.2 Custom Controllers
Camera
Photos
Videos
26.3 Core Image
Chapter 27
27.1 Links
27.2 Web Views
App Transport Security
27.3 Web Content
JSON
XML
27.4 Social Networks
UIActivityViewController
SLComposeViewController
SLRequest
Chapter 28
28.1 Contacts
Reading Contacts
Formatters
Working with Contacts
CNContactViewController
CNContactPickerViewController
Chapter 29
29.1 Core Motion
Motion Device
Motion Activity
Pedometer
Altimeter
29.2 Core Location
Authorization
Getting the Location
Background Location
Region
Geocoding
Chapter 30
30.1 Map View
Configuring the Map
Annotations
User Location
Search
Directions
Chapter 31
31.1 Internationalization
Formatters
Languages
Translation
NSLocalizedString
Resources
Chapter 32
32.1 Publishing
Apple Developer Program
Certificates, Provisioning Profiles, and Identifiers
iTunes Connect
Submitting the Application