Swift
Accelerometer and Gyroscope Examples in Swift
Learn how to read motion data (accelerometer, gyroscope, and magnetometer) from iOS devices in Swift.
Insights and reflections on developing for the iOS platform.
Swift
Learn how to read motion data (accelerometer, gyroscope, and magnetometer) from iOS devices in Swift.
Swift
Learn how to load a sound file or sound effect, configure an AVSession to play sound, and play a sound file using AVAudioPlayer in Swift.
Swift
Learn how to round decimal numbers up, down, and with custom decimal precision in Swift.
Swift
Learn how to request location permissions, get updates on a user’s location, and check location permissions in Swift.
Swift
Learn how to use the Delegate pattern by defining a protocol and creating a Delegate in Swift.
Swift
Learn how for loops can be implemented as parallel for loops using DispatchQueue and DispatchGroup in Swift.
Swift
Learn about Swift guard with examples for guard else throw, guard let optional, guard available, guard multiple conditions, and guard case enum.
Swift
Learn about defer in Swift with examples for defer after return, defer completion, defer logic, and defer return value.
Swift
Learn how to delay execution of a function and block a thread with sleep in Swift.
Swift
See the top 50 actively maintained Swift Cocoapods ranked by number of GitHub stars.
Swift
Learn the differences between strong, weak, and unowned references in Swift with examples
Swift
Learn how to use Keychain Services to access and save secure data on iOS and macOS in Swift