Hacking with Swift is a complete Swift tutorial written for Swift 5.0 and iOS 12, taking from you beginner to advanced using hands-on projects.
Here you can find the 39 Hacking with Swift projects plus the introduction to Swift – all available for free. Every project is updated for Swift 5.0 and iOS 12.
The online Hacking with Swift doesn't include the Xcode tips and tricks video, the quick tips wall chart, or other exclusive content.
This site is supported by readers who buy the Hacking with Swift e-book and by showing unobtrusive Google adverts on project chapters.
Most people should start with the introduction to Swift, but if you're already experienced with Swift you can jump into any project that interests you!
If you can support my work by buying a book, it's hugely appreciated.
But I recognize that not everyone can afford to buy the e-book version of Hacking with Swift, so it's also available free online.
Get an immediate $5 off the Hacking with Swift e-book sent to your inbox, plus more discounts in the future!
If this is your first time learning Swift, you should start at the introduction and continue from there. If you're already experienced with Swift, dive in wherever takes your interest!
Learn the basics of Swift syntax using Xcode playgrounds – start here if this is your first time using Swift.
Get started coding in Swift by making an image viewer app and learning key concepts.
Make a game using UIKit, and learn about integers, buttons, colors and actions.
Let users share to Facebook and Twitter by modifying project 1.
Embed Web Kit and learn about delegation, KVO, classes and UIToolbar.
Create an anagram game while learning about closures and booleans.
Get to grips with Auto Layout using practical examples and code.
Make an app to parse Whitehouse petitions using JSON and a tab bar.
Build a word-guessing game and master strings once and for all.
Learn how to run complex tasks in the background with GCD.
Get started with UICollectionView and the photo library.
Dive into SpriteKit to try your hand at fast 2D games.
Learn how to save user settings and data for later use.
Make a photo manipulation program using Core Image filters and a UISlider.
Build a game using SKCropNode and a sprinkling of Grand Central Dispatch.
Bring your interfaces to life with animation, and meet switch/case at the same time.
Teach users about geography while you learn about MKMapView and annotations.
Dodge space debris while you learn about per-pixel collision detection.
Everyone hits problems sooner or later, so learning to find and fix them is an important skill.
Learn about timers and color blends while making things go bang!
Send reminders, prompts and alerts even when your app isn't running.
Learn to find and range iBeacons using our first project for a physical device.
Learn to draw shapes in SpriteKit while making a fun and tense slicing game.
Dive deep into the workings of Swift's strings
Make a multipeer photo sharing app in just 150 lines of code.
Respond to device tilting by steering a ball around a vortex maze.
Draw 2D shapes using Apple's high-speed drawing framework.
Save user data securely using the device keychain and Touch ID.
Remake a classic DOS game and learn about destructible terrain and scene transitions.
Become a bug detective and track down lost memory, slow drawing and more.
Get started with UIStackView and see just how easy iPad multitasking can be.
Add your app's content to iOS 9's Spotlight search and take advantage of the new Safari integration.
Build a crowd-sourced song recognition app using Apple's free platform as a service: CloudKit.
Let iOS take over the AI in your games using GameplayKit.
GameplayKit lets you generate random numbers in ways you soon won't be able to live without.
Ever wanted to make a Flappy Bird clone? Now you can do it in under an hour thanks to SpriteKit.
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?
Get on board with Core Data and learn to read, write and query objects using Apple's object graph and persistence framework.
Learn how to write unit tests and user interface tests using Xcode's built-in testing framework.
Search 600 Swift examples, all updated for Swift 5.0 so you can be guaranteed they work.
How well do you know Swift? Find out with three graded language tests – good luck!
Learn about Core ML, Core NFC, ARKit, PDFKit, drag and drop, and more.
Learn about MSMessagesAppViewController, UIViewPropertyAnimator, SFSpeechRecognizer, UNMutableNotificationContent, SiriKit and much more.
Learn about Core Spotlight, SFSafariViewController, GameplayKit, app thinning and much more.
This brings together all my iOS 9 tutorials in one place, and it's the perfect way to get started with all the great new features announced by Apple.
Codable gets key decoding strategies,
flatMap() is partially renamed
compactMap(), plus conditional conformances and more.
Learn about the slick new Codable protocol, plus multi-line string literals, keypaths, improved dictionary functionality, and more.
Learn about the small but helpful improvements in Swift 3.1 that pave the way for Swift 4.0.
Learn about the major name changes coming up in Swift 3 with before and after examples.
Learn about the deprecations, additions and improvements in this interim language release.
A brief overview of the key changes to Swift introduced at WWDC.
Try your hand at the new error checking, guard, defer and API availability checking.
How to write a content blocker extension in 10 minutes (and never see the Daily Mail again).