BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>

15 entries from the Swift Knowledge Base you should try today

Learn something new with these quick Swift code samples.

Paul Hudson       @twostraws

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:

  1. How to ask users to review your app using SKStoreReviewController
  2. How to change your app icon dynamically with setAlternateIconName()
  3. How to generate haptic feedback with UIFeedbackGenerator
  4. How to animate views using UIViewPropertyAnimator
  5. How to convert units using Unit and Measurement
  6. How to detect low power mode is enabled
  7. How to insert images into an attributed string with NSTextAttachment
  8. How to create keyframe animations using CAKeyframeAnimation
  9. How to make empty table views look more attractive using DZNEmptyDataSet
  10. How to render a PDF to an image
  11. How to highlight text to speech words being read using AVSpeechSynthesizer
  12. How to create a parallax effect in UIKit
  13. How to scan a QR code
  14. How to measure touch strength using 3D Touch
  15. How to get a Cover Flow effect on iOS
Save 50% in my WWDC sale.

SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.