TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Join over 90,000 readers today

The ultimate investment for your iOS career

Hacking with Swift+ is a subscription service that delivers incredible, hands-on Swift tutorials, so you can deepen your understanding of Swift, SwiftUI, UIKit, and more, and take your career to the next level.

HWS+ costs just $20/month or $200/year, and every article includes 4K Ultra HD video.

Already a subscriber? Log in here


Membership includes…

✅    

All HWS+ tutorials as both text and 4K video

✅    

Downloadable projects and learning challenges

✅    

Our massive Ultimate Portfolio App series

✅    

Access to my monthly app building livestreams

✅    

Free gifts for every year of your subscription

✅    

An ad-free experience everywhere on the site

✅    

Video solutions for the 100 Days of SwiftUI

✅    

A 20% discount on all my books year-round

✅    

Access to an exclusive forum for subscribers

✅    

Videos from Hacking with Swift Live

And it gets even better… 🤯

Once you've subscribed for 18 months, you get free online access to over a dozen of my books to expand your learning even further, including:

  • Pro Swift, Pro SwiftUI, Swift Design Patterns, and Testing Swift
  • Hacking with macOS, Hacking with tvOS, and Hacking with watchOS
  • Swift Coding Challenges, Objective-C for Swift Developers, and Beyond Code
  • Advanced iOS: Volumes 1, 2, and 3
  • And more!

This means your subscription grows as you do, making Hacking with Swift+ the largest and most comprehensive membership around.

Note: If you're using team licensing with at least three seats, you gain access to this reading library immediately rather than waiting 18 months.

Our courses include…

  • The Ultimate Portfolio App walks you through the process of building one app that implements best practices for architecture, accessibility, testing, documentation, and more, while also working across iOS, macOS, tvOS, and even watchOS.
  • Advanced Swift focuses on improving your core Swift language skills, regardless of whether you use UIKit, SwiftUI, or something else.
  • Algorithms helps you understand common algorithms in computer science, all implemented and explained step by step in Swift.
  • Custom SwiftUI Components walks you through building a wide variety of reusable UI components using SwiftUI.
  • Data Structures teaches you how to build stacks, lists, trees and more, while working with a variety of common Swift protocols.
  • Funtional Programming walks you through hands-on examples of how to build smaller, composable more testable using functional approaches such as filter(), map(), and reduce().
  • High-performance Apps teaches you techniques for writing faster code, rendering faster views, and more, so you can make best use of your user's device.
  • Intermediate Swift is designed to help push your skills further, giving in-depth explanations for generics, optionals, assertions, and more.
  • Intermediate SwiftUI is packed with tips and tricks to help you write better SwiftUI code, including customizing common controls with styles, handling size classes better, and working with dynamic properties.
  • Making the most of Foundation goes back to the basics of Apple's Foundation framework, exploring how best to use common code such as UserDefaults and Measurement.
  • Networking covers a core topic in a fresh way, showing you smart ways to make your code simpler and safer using generics, Combine, and more.
  • Remaking Apps walks you through building copies of well-known apps from iOS using SwiftUI, showing you how easy it is to get powerful effects with very little code.
  • Rendering Charts in SwiftUI shows you how SwiftUI can be used to build complete types of charts from scratch, including pie charts, bar charts, and more.
  • SwiftUI Special Effects teaches you how to add some surprise and delight to your user interface using particles, Core Motion, and more.
  • Working with Data helps you get to grips with data input, such as creating a custom XML parser, or handling complex or messy JSON.

PLUS: A huge and growing collection of solutions for challenges in the 100 Days of SwiftUI and elsewhere, a complete archive of HWS+ live streams, access to videos from Hacking with Swift Live 2020 and 2021.

Even more courses are on the way: debugging, testing, and of course lots more SwiftUI – I have an epic collection of tutorials coming, and I can’t wait to share them all with you.

Your Hacking with Swift+ membership gets you every subscriber-only article and video published now and in the future, plus an incredible amount of extras!

Browse the full range of tutorials  

Exclusive bonuses!


Every subscriber gets immediate access to the full range amazing tutorials written for Hacking with Swift+ subscribers, plus the ad-free browsing experience, downloadable projects, monthly live streams, private forum access, and more.

But above and beyond all that you'll also receive exclusive subscriber-only thank you gifts every year – it's the least I can do to show how grateful I am that you're supporting my work.

This has some important terms and conditions, so please read the following carefully!

  • Hacking with Swift+ subscriber gifts are available for everyone; we'll cover the postage worldwide.
  • The gifts are free bonuses; you don't need to pay anything extra to receive them.
  • There are multiple gifts based on how many years you have subscribed. After your first year you'll receive a "One Year" metal pin badge, a sticker, a fridge magnet, and a coaster. Second and subsequent years will contain different gifts.
  • If you subscribe yearly, you'll be sent your gifts immediately.
  • If you subscribe monthly, you'll be sent your gifts after you have been a subscriber for 12 months. These months do not need to be contiguous – you could subscribe for six months, take a six month break, then subscribe for another six months.
  • To claim your free gifts, edit your Hacking with Swift account to include your mailing address.
  • If you don't want to share your address with me, or if you'd rather avoid the environmental impact of sending packages around the world, you can opt out of receiving gifts.
  • If your country levies import duty or other taxes on gifts you will be liable to pay them directly to your government.

A Hacking with Swift magnet, pin badge, sticker, and coaster.

Join Hacking with Swift+

Start your HWS+ subscription today and start learning immediately, plus get access to the private members forum, enjoy ad-free site browsing, join my monthly live streams, and more.

 

$20 / month

$200 / year

 

If you're not sure whether HWS+ is right for you, you can try a free three-day trial – no payment or credit card needed.

  • Get instant access to all past existing Hacking with Swift+ episodes, plus new ones as they are released.
  • Support my work helping make high-quality Swift tutorials for everyone.
  • Pay just $20 a month, or $200 for a yearly subscription.

To subscribe or start a free trial, please click the button below to sign in to Hacking with Swift.

Create New Account
Or click here to log in with an existing account

FAQ

Does this subscription give me all your books?

The articles produced for Hacking with Swift+ are all new and exclusive to subscribers, but after subscribing for 18 months you'll also gain free online access to over a dozen of my books. This means your subscription grows as you do, making Hacking with Swift+ the largest and most comprehensive subscription around.

Can I share one account with my whole team?

No, this is not allowed – each member of your team needs their own subscription, just like they would need their own Netflix or Apple Music accounts. If you want your whole team to have a Hacking with Swift+ account, please change the number of licensed seats upwards from 1 when subscribing.

How is a team subscription different from an individual subscription?

When you subscribe with at least three seats, all members of your team gain immediate access to the Hacking with Swift reading library, rather than waiting 18 months – that's over a dozen of my books to maximise your team's learning.

What are the free gifts?

Each year of your subscription we'll mail out free gifts, as a thank you for supporting the site. These include pin metal badges, magnets, stickers, coasters, and more – we think you'll love them! If you take out an annual subscription, we send out your first year's gifts immediately.

What happens in the monthly live streams?

Every Hacking with Swift+ subscriber is invited to join my private monthly live streams on YouTube, where I build a complete app from scratch while answering questions along the way. This is your chance to get involved and explore projects being written live, and these streams are always hugely popular.

What happens if I miss a live stream?

All live streams are recorded, and posted onto the main Hacking with Swift+ site afterwards. Even better, they include a full transcript alongside, so if you prefer text tutorials to video tutorials you have that option.

How do I remove adverts from the site?

Every subscriber can enjoy an ad-free experience on Hacking with Swift – all you need to do is log in, and the site will automatically remove the adverts. To give you the fastest reading experience, we also remove the gray bar under the menu, plus the right-hand bar that sits next to every article.

Is Hacking with Swift+ suitable for absolute beginners?

If you're an absolute beginner you should start with my free 100 Days of SwiftUI course, which teaches you the fundamentals of Swift and SwiftUI. However, Hacking with Swift+ includes complete solutions to all the checkpoints and milestones in the 100 Days of SwiftUI series, making it the perfect companion as you're learning.

What's more, Hacking with Swift+ will grow with you once you've finished learning – it has a wide range of intermediate to advanced Swift techniques and tutorials that will keep pushing your skills further, no matter what your goal.

Some sites claim to have thousands of videos – why is HWS+ better?

Hacking with Swift+ focuses firmly on two things:

  1. Giving you the depth you need to get a strong grasp of each topic. Where other sites make hundreds of three or four minute videos that touch lightly on each subject, we prefer to go into much more detail – 20 or 30 minutes, and often longer – so you get to understand why things work as well as how.
  2. We teach Swift, Swift, and more Swift. We don't do Kotlin, we aren't interested in Dart, we won't try to squeeze in Flutter, and you won't find any React Native. That's not to say those other technologies aren't interesting, only that you're here to take your Swift skills further and that's exactly what we care about most.

How much does it cost?

Hacking with Swift+ costs $20 a month or $200 a year, per seat. Your membership includes all subscriber-only videos and articles available now and published in the future, for as long as your membership remains active. You can cancel your membership at any time, and your access will continue until your term ends.

What's the difference between Monthly and Yearly subscriptions?

Hacking with Swift+ is $20 per month, and you can cancel whenever you want. If you intend to work through many articles and really push your learning forward, you should consider the yearly subscription option, which is $200 for 12 months – a saving of $40.

Both tiers get access to exactly the same high-quality videos, articles, and source code. The only difference is that with the Yearly tier you save $40 every year, making it better value for money.

Are there exercises?

Yes! Many Hacking with Swift+ articles end with challenges to help you take your learning further – code to try, problems to solve, questions to consider, and more.

Why do I need a Hacking with Swift account?

Your Hacking with Swift account links your Gumroad purchase to this site, so we can unlock your subscription. This account also allows you to post to the forums if you want to.

Can I switch from a Monthly to Yearly subscription?

Yes, you can upgrade at any time, and we'll discount the annual subscription based on how much of your monthly subscription remains.

How can I cancel my subscription?

If at any point you want to cancel your Hacking with Swift+ subscription, you can do so directly through your Gumroad account. Your access to the subscriber-only content will remain active until your subscription term ends, at which point it will cease.

Will there be sales tax or VAT added to the price?

If you live in a country or state where tax is applied to digital purchases, that will be added to your subscription price. As you might imagine there isn't a lot I can do about that.

Will you still make free tutorials?

Yes, absolutely! I believe it's important to help everyone learn, so I will still be publishing as many free tutorials as I can. This won't be affected by Hacking with Swift+.

Here's a sample of what's waiting for you…


Navigation

11:31

SOLUTIONS

Navigation

This challenge asks you to switch both iExpense and Moonshot over to using what you've learned about navigation. Let’s tackle it now…

Advanced string interpolation, part two

19:32

ADVANCED SWIFT

Advanced string interpolation, part two

In part one of this tutorial we looked at how to customize string interpolations on a type-by-type basis, giving you more control over how your code works. In this second part we’ll look at a second powerful use for interpolation: building whole types from scratch.

Cleaning up CloudKit, part 2

31:09

ULTIMATE PORTFOLIO APP

Cleaning up CloudKit, part 2

The second part of cleaning up CloudKit involves tackling error handling head on, and along the way I’ll show you a useful trick for making this process easier. I’ve said it before, but it bears repeating that getting error handling right is the key to a great CloudKit app!

What are the main differences between classes and structs in Swift?

3:56

INTERVIEW QUESTIONS

What are the main differences between classes and structs in Swift?

This seems like a simple question, but a truly great answer means not only knowing the differences, but also knowing why they matter – anyone can remember a bunch of bullet points, but it takes more thought to explain what it all means in practice.

Swipe actions, Markdown, and focus

1:28:29

EVENTS

Swipe actions, Markdown, and focus

iOS 15 introduced a great many customization points to give us more control over list rows, text rendering, keyboard focus, and more, and these are all covered here.

From UICollectionView to UIAction

1:05:06

EVENTS

From UICollectionView to UIAction

In this part we’re going to wrap up our look at the new UICollectionView features, then move on to exploring the new UIAction and menu systems for buttons and more.

Using Codable with protocols

17:16

LEARN SOMETHING NEW

Using Codable with protocols

It's easy to encode an array of objects that have the same type, but how can you handle an array of objects with a different type? In this tutorial I'll show you exactly how to do it with a simple and effective approach.

Wrap up

17:26

ULTIMATE PORTFOLIO APP

Wrap up

UPDATED: That completes all the code for this course, but before we're done it's important to run through everything to make sure there are no outstanding bugs or warnings, and that our code is as polished as we can make it.

Documenting our code

30:12

ULTIMATE PORTFOLIO APP

Documenting our code

UPDATED: Good documentation describes not only what code does, but provides context on why it works a certain way, what assumptions you made, any optimizations you made, as well as describing subtleties in the implementation if you’re dealing with difficult code. In this article we’re going to be documenting our project for other developers and beyond!

How familiar are you with XCTest? Have you ever created UI tests?

2:08

INTERVIEW QUESTIONS

How familiar are you with XCTest? Have you ever created UI tests?

If you don’t already have some experience with this, start getting some now. If you do have some experience, remember to keep your answer pragmatic: there are ups and downs with every approach.

When would you choose an environment object over an observed object?

1:59

INTERVIEW QUESTIONS

When would you choose an environment object over an observed object?

This might sound like a trivial property wrappers question testing your factual knowledge, but really it’s an architectural decision: what are the advantages and disadvantages of each, and when do they matter?

Now for the real work…

04:33

ULTIMATE PORTFOLIO APP

Now for the real work…

UPDATED: Everything we’ve done so far has produced a serviceable app, although in the future we’ll add a lot more functionality and cross-platform support. But before we get near to those, I want to change gear and focus on making our existing code better. This is where the real work begins!

Symbolicator

1:32:18

LIVE STREAMS

Symbolicator

The SF Symbols app is a great resource for discovering icons, but at the time of writing it’s also only available on macOS. In this article we’ll build our own SF Symbols app for iOS, integrating customization features along the way.

Optimizing for visionOS

11:22

ULTIMATE PORTFOLIO APP

Optimizing for visionOS

UPDATED: The last platform we're going to target is visionOS, which is actually the easiest – Apple seem to have put in a great deal of effort to make SwiftUI fit there naturally, so it requires almost no effort from us.

Handling names correctly

18:50

MAKING THE MOST OF FOUNDATION

Handling names correctly

There are lots of UI mistakes we can make in programming, but unless our bugs actually get in the way of functionality most users don’t care that much. But there is one exception, and we’re going to look at it here: in this article I’ll show you how to handle names correctly – the most personal data of all.

Implementing App Clips in a real app

1:01:00

EVENTS

Implementing App Clips in a real app

Now that you understand how App Clips work, in this part we’ll apply them to our Barking Lot app so you can see them in action with real code.

Sorting, filtering, and relationships with SwiftData

47:00

EVENTS

Sorting, filtering, and relationships with SwiftData

When it comes to sorting our data, SwiftData has two approaches: the trivial version that works great in a WWDC video and a handful of small projects, and a more complex version that is much more indicative of the kinds of apps you’ll be building in real life.

Applying a predicate with contains() and filter()

32:52

FUNCTIONAL PROGRAMMING

Applying a predicate with contains() and filter()

In this article we’re going to look at the contains() and filter() functions, which search a sequence to see whether a certain test passes. Along the way you’ll see how similar these two functions are, along with how to build them yourself.

Optimizing for watchOS

37:09

ULTIMATE PORTFOLIO APP

Optimizing for watchOS

UPDATED: From Apple's largest screens down to Apple's smallest screens, it's time to make our app work on Apple Watch. This is the hardest port we'll be doing, and we'll need to make some compromises along the way…

Parsing difficult JSON

26:05

WORKING WITH DATA

Parsing difficult JSON

If you have nice, clean JSON then using Swift and Codable is like a dream come true. But what if you have messy JSON, or JSON where you really don’t know what you’ll receive ahead of time? In this article I’ll show you how to handle any kind of JSON in an elegant way, without relying on third-party libraries.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.