Swift
Matrix Multiplication, Division, Addition, and Subtraction in Swift
Learn how to multiply, divide, add and subtract matrices in Swift using the performance optimized Accelerate framework.
iOS developer since 2009. I've built top ranking apps and learned a lot about Swift along the way. I regularly post Swift examples with many more articles in progress. Follow Advanced Swift!
Swift
Learn how to multiply, divide, add and subtract matrices in Swift using the performance optimized Accelerate framework.
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.
Learn how to create, extend, throw, and handle custom error types 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.
Learn what is the difference between let and var in Swift, and when to use var and let variables.
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.