Source code made by following the Hacking With Swift book written by Paul Hudson.
Project 1. Storm Viewer
Get started coding in Swift by making an image viewer app and learning key concepts.
Project 2. Guess the Flag
Make a game using UIKit, and learn about integers, buttons, colors and actions.
Project 3. Social Media.
Ley users share to Facebook and Twitter by modifying Project 1.
Project 4. Easy Browser.
Embed Web Kit and learn about delegation, KVO, classes and UIToolbar
.
Project 5. Word Scramble.
Create an anagram game while learning about closures and booleans.
Project 6. Auto Layout.
Get to grips with Auto Layout using practical examples and code.
Project 7. Whitehouse Petitions
Make an app to parse Whitehouse petitions using JSON and a tab bar.
Project 8. 7 Swifty Words.
Build a word-guessing game and master strings once and for all.
Project 9. Grand Central Dispatch.
Learn how to run complex tasks in the background with GCD.
Project 10. Names to Faces.
Get started with UICollectionView
and the photo library.
Project 11. Pachinko
Dive into SpriteKit to try your hand at fast 2D games.
Project 12. UserDefaults
Learn how to save user settings and data for later use.
Project 13. Instafilter.
Make a photo manipulation program using Core Image filters and a UISlider.
Project 14. Whack-a-Penguin
Build a game using SKCropNode
and a sprinkling of Grand Central Dispatch.
Project 15. Animation
Bring your interfaces to life with animation, and meet switch/case at the same time.
Project 16. JavaScript Injection
Extend Safari with a cool feature for JavaScript developers.
Project 17. Swifty Ninja
Learn to draw shapes in SpriteKit while making a fun and tense slicing game.
Project 18. Debugging
Everyone hits problems sooner or later, so learning to find and fix them is an important skill.
Project 19. Capital Cities
Teach users about geography while you learn about MKMapView
and annotations.
Project 20. Fireworks Night
Learn about timers and color blends while making things go bang!
Project 21. Local Notifications
Send reminders, prompts and alerts even when your app isn't running.
Project 22. Detect-a-Beacon
Learn to find and range iBeacons using our first project for a physical device.
Project 23. Space Race
Dodge space debris while you learn about per-pixel collision detection.
Project 24. Swift Extensions
Try your hand at improving the built-in data types of Swift.
Project 25. Selfie Share
Make a multipeer photo sharing app in just 150 lines of code.
Project 26. Marble Maze
Respond to device tilting by steering a ball around a vortex maze.
Project 27. Core Graphics
Draw 2D shapes using Apple's high-speed drawing framework.
Project 28. Secret Swift
Save user data securely using the device keychain and Touch ID.
Project 29. Exploding Monkeys
Remake a classic DOS game and learn about destructible terrain and scene transitions.