Batch Delete And Delete Everything In Core Data
Jul 4, 2021, 2:29 PM
Learn how to delete multiple objects, batch delete, and delete everything in Core Data with Swift.
Core Data Fetch Requests In Swift
Jul 3, 2021, 2:12 AM
Learn how to make queries using fetch requests in Core Data for objects by ID, predicate, and entity with Swift.
Secure Random Numbers and Data in Swift
Jun 21, 2021, 1:38 AM
Learn how to generate secure random data and numbers in Swift using the Security framework.
Getters and Setters in Swift
Jun 6, 2021, 8:56 PM
Learn how to implement getters and setters for Swift properties, and learn about Swift 5.5 support for getters that can throw an error.
Comments in Swift
Jun 6, 2021, 8:30 PM
Learn how to add single line, multi-line, and markdown comments in Swift, and how to add Quick Help documentation in Xcode.
Async / Await in Swift
May 30, 2021, 1:43 AM
Learn how to use async and await in Swift by example. Async and await are new Swift 5.5 keywords to help implement asynchronous programming.
Crop UIImage In Swift
May 23, 2021, 5:01 PM
Learn how to crop UIImages in Swift to different boundaries, including centering and circular crops like social media apps.
Core Data Fetched Property Example In Swift
May 9, 2021, 1:02 AM
Learn about fetched properties in Core Data with commented example code, and about alternatives to fetched properties in Swift.
OrderedDictionary In Swift
Apr 11, 2021, 5:50 PM
Learn how and when to use OrderedDictionary, provided by the swift-collections package, in Swift.
OrderedSet In Swift
Apr 11, 2021, 5:32 PM
Learn how and when to use OrderedSet, provided by the swift-collections package, in Swift.
Read A File Using Combine In Swift
Apr 4, 2021, 2:35 AM
Learn how to create a custom subscription and publisher to read a file on the main thread or a background thread using Combine in Swift.
Building and Parsing URLs in Swift
Mar 28, 2021, 2:02 AM
Learn how to create a URL from components, parse a URL into components, and work with URL query items in Swift.
Autolayout vs Autoresizing Masks in Swift
Mar 22, 2021, 1:55 AM
Learn when to use autolayout and autoresizing masks to create responsive user interfaces in Swift.
CGPoint Examples in Swift From Lottie and Charts
Mar 14, 2021, 1:00 AM
Learn how top Swift frameworks Lottie and Charts (44k+ combined GitHub stars) use CGPoint in Swift.
Create, Update, and Delete Core Data Objects in Swift
Mar 6, 2021, 7:24 PM
Learn how to create, update, and delete Core Data objects in Swift with commented code examples.
Corner Radius, Shadows, and Borders in Swift
Feb 27, 2021, 8:53 PM
Learn how to apply a corner radius, shadow, and border to all kinds of views, including UIViews, UIButtons, and UIImageViews, in Swift.
Email, Phone, Username, Password, and Date Regular Expressions in Swift
Feb 21, 2021, 2:39 AM
Learn how to create and use regular expressions in Swift to validate emails, phone numbers, usernames, passwords, and dates.
Regular Expression Capture Groups in Swift
Feb 21, 2021, 2:14 AM
Learn how to create and use regular expressions with named and unnamed capture groups in Swift.
Swift Typealias Overview and Examples
Feb 13, 2021, 11:11 PM
Learn how to define and use typealias in Swift for types, tuples, closures, protocols, and generics.
Matrix Multiplication, Division, Addition, and Subtraction in Swift
Feb 6, 2021, 11:58 PM
Learn how to multiply, divide, add and subtract matrices in Swift using the performance optimized Accelerate framework.
Accelerometer and Gyroscope Examples in Swift
Jan 24, 2021, 4:11 AM
Learn how to read motion data (accelerometer, gyroscope, and magnetometer) from iOS devices in Swift.
Play A Sound Using AVAudioPlayer In Swift
Jan 17, 2021, 2:07 AM
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.
Create, Throw, and Handle Custom Errors In Swift
Jan 10, 2021, 5:23 PM
Learn how to create, extend, throw, and handle custom error types in Swift.
Rounding Floats and Doubles in Swift
Jan 10, 2021, 3:24 PM
Learn how to round decimal numbers up, down, and with custom decimal precision in Swift.
Get A User’s Location Using CLLocationManager In Swift
Jan 3, 2021, 10:18 PM
Learn how to request location permissions, get updates on a user’s location, and check location permissions in Swift.
How To Create A Custom Delegate In Swift
Jan 3, 2021, 4:56 PM
Learn how to use the Delegate pattern by defining a protocol and creating a Delegate in Swift.
let vs var in Swift
Jan 2, 2021, 9:34 PM
Learn the differences between let and var variables in Swift with examples.
Parallel For Loops in Swift
Jan 2, 2021, 9:25 PM
Learn how to use DispatchQueue and DispatchGroup to implement parallel for loops in Swift.
When to use Guard in Swift
Jan 2, 2021, 9:21 PM
Learn what guard does in Swift and when to use guard in your Swift code.
When to use Defer in Swift
Jan 2, 2021, 9:14 PM
Learn what defer does in Swift and when to use defer in your Swift code.
Delay A Function Call and Sleep A Thread in Swift
Jan 2, 2021, 9:07 PM
Learn how to delay execution of a function and block a thread with sleep in Swift.
Top 50 Active Swift CocoaPods For iOS
Dec 28, 2020, 1:32 AM
See the top 50 actively maintained Swift Cocoapods ranked by number of GitHub stars.