Every project, yours forever
This pack contains 39 complete Swift projects that teach UIKit, SpriteKit, Core Animation, Core Graphics, Core Data, Core Image and more – it's the ultimate guide to learning Swift, and is guaranteed to help jumpstart your iOS career.
Made for iOS 9 and Swift 2
At the heart of this package is a 1200-page guide that teaches you everything you need to know to make killer iOS apps for iPhone and iPad. That includes 38 projects that are built using iOS 9 and Swift 2, plus my complete Swift Knowledge Base that answers common questions quickly – and, more importantly, with code.
Get updates now and in the future
The full Hacking with Swift series will be 40 chapters of the book, and as new chapters are released you'll get free updates for your purchase. I'll also work hard to update chapters as Swift continues to evolve, which means you'll be able to get up to speed with Swift 3.0 as soon as it's released.
Support a good cause
All purchases help fund my work as I continue to bring quality-assured iOS development courses to the world. Thank you!
What's in the book
You get 39 complete iOS coding projects fully explained, as well as my complete Swift Knowledge Base. Along with a comprehensive introduction to the Swift language, the 39 tutorials you get are:
- Storm Viewer: Get started coding in Swift by making an image viewer app and learning key concepts.
- Guess the Flag: Make a game using UIKit, and learn about integers, buttons, colors and actions.
- Social Media: Let users share to Facebook and Twitter by modifying project 1.
- Easy Browser: Embed Web Kit and learn about delegation, KVO, classes and UIToolbar.
- Word Scramble: Create an anagram game while learning about closures and booleans.
- Auto Layout: Get to grips with Auto Layout using practical examples and code.
- Whitehouse Petitions: Make an app to parse Whitehouse petitions using JSON and a tab bar.
- 7 Swifty Words: Build a word-guessing game and master strings once and for all.
- Grand Central Dispatch: Learn how to run complex tasks in the background with GCD.
- Names to Faces: Get started with UICollectionView and the photo library.
- Pachinko: Dive into SpriteKit to try your hand at fast 2D games.
- NSUserDefaults: Learn how to save user settings and data for later use.
- Instafilter: Make a photo manipulation program using Core Image filters and a UISlider.
- Whack-a-Penguin: Build a game using SKCropNode and a sprinkling of Grand Central Dispatch.
- Animation: Bring your interfaces to life with animation, and meet switch/case at the same time.
- Swifty Ninja: Learn to draw shapes in SpriteKit while making a fun and tense slicing game.
- iAd and Debugging: A double bill of learning teaches you how to place adverts and debug your code.
- Capital Cities: Teach users about geography while you learn about MKMapView and annotations.
- Fireworks Night: Learn about timers and color blends while making things go bang!
- Local Notifications: Send reminders, prompts and alerts even when your app isn't running.
- Detect-a-Beacon: Learn to find and range iBeacons using our first project for a physical device.
- Space Race: Dodge space debris while you learn about per-pixel collision detection.
- Swift Extensions: Try your hand at improving the built-in data types of Swift.
- Selfie Share: Make a multipeer photo sharing app in just 150 lines of code.
- Marble Maze: Respond to device tilting by steering a ball around a vortex maze.
- Core Graphics: Draw 2D shapes using Apple's high-speed drawing framework.
- Secret Swift: Save user data securely using the device keychain and Touch ID.
- Exploding Monkeys: Remake a classic DOS game and learn about destructible terrain and scene transitions.
- Instruments: Become a bug detective and track down lost memory, slow drawing and more.
- Multibrowser: Get started with UIStackView and see just how easy iPad multitasking is in iOS 9.
- SwiftSearcher: Add your app's content to iOS 9's Spotlight search and take advantage of the new Safari integration.
- What's that Whistle?: Build a crowd-sourced song recognition app using Apple's free platform as a service. CloudKit.
- Four in a Row: Let iOS take over the AI in your games using new iOS 9 GameplayKit features.
- Generating random numbers: The new iOS 9 GameplayKit lets you generate random numbers in ways you soon won't be able to live without.
- Crashy Plane: Ever wanted to make a Flappy Bird clone? Now you can do it in under an hour thanks to SpriteKit.
- Psychic Tester: Are you psychic? Of course not. But what if we could use our coding skills to make a game to fool your friends into thinking otherwise?
- GitHub Commits: Get on board with Core Data and learn to read, write and query objects using Apple's object graph and persistence framework.
- Unit testing with XCTest: Learn how to write unit tests and user interface tests using Xcode's built-in testing framework.
Table of Contents
Introduction: Swift for Complete Beginners
Project 1: Storm Viewer
Project 2: Guess the Flag
Project 3: Social Media
Project 4: Easy Browser
Project 5: Word Scramble
Project 6: Auto Layout
Project 7: Whitehouse Petitions
Project 8: 7 Swifty Words
Project 9: Grand Central Dispatch
Project 10: Names to Faces
Project 11: Pachinko
Project 12: NSUserDefaults
Project 13: Instafilter
Project 14: Whack-a-Penguin
Project 15: Animation
Project 17: Swifty Ninja
Project 18: iAd and Debugging
Project 19: Capital Cities
Project 20: Fireworks Night
Project 21: Local Notifications
Project 22: Detect-a-Beacon
Project 23: Space Race
Project 24: Swift Extensions
Project 25: Selfie Share
Project 26: Marble Maze
Project 27: Core Graphics
Project 28: Secret Swift
Project 29: Exploding Monkeys
Project 30: Instruments
Project 31: Multibrowser
Project 32: SwiftSearcher
Project 33: What's what Whistle?
Project 34: Four in a Row
Project 35: Random Numbers
Project 36: Crashy Plane
Project 37: Psychic Tester
Project 38: GitHub Commits
Project 39: Unit testing with XCTest
Appendix: The Swift Knowledge Base