Learn something new with these quick Swift code samples.
A couple of years ago I built the Swift Knowledge Base as a way of condensing quick Swift tips, techniques, and solutions into one place, while also ensuring all answers were kept up to date as Swift evolved.
Today the knowledge base includes over 300 entries on topics such as UIKit, SpriteKit, Xcode, and more, but if you haven’t used it before you might find it a little overwhelming.
So, I wanted to pick out a few of my favorite articles to get you started. These aren’t necessarily the longest or most action-packed articles, but instead are things that I think more developers should be aware of or might want to try:
LEARN SWIFTUI FOR FREE I have a massive, free SwiftUI video collection on YouTube teaching you how to build complete apps with SwiftUI – check it out!
Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and a speaker at Swift events around the world. If you're curious you can learn more here.