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
SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!
Sponsor Hacking with Swift and reach the world's largest Swift community!
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.
Link copied to your pasteboard.