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:
SKStoreReviewController
setAlternateIconName()
UIFeedbackGenerator
UIViewPropertyAnimator
Unit
and Measurement
NSTextAttachment
CAKeyframeAnimation
DZNEmptyDataSet
TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.