Swift Rounding Floats and Doubles in Swift Learn how to round decimal numbers up, down, and with custom decimal precision in Swift.
Swift How To Create A Custom Delegate In Swift Learn how to use the Delegate pattern by defining a protocol and creating a Delegate in Swift.
Swift Parallel For Loops in Swift Learn how for loops can be implemented as parallel for loops using DispatchQueue and DispatchGroup in Swift.
Swift The Swift Guard Keyword Learn about Swift guard with examples for guard else throw, guard let optional, guard available, guard multiple conditions, and guard case enum.
Swift The Swift Defer Keyword Learn about defer in Swift with examples for defer after return, defer completion, defer logic, and defer return value.
Swift Delay A Function Call and Sleep A Thread in Swift Learn how to delay execution of a function and block a thread with sleep in Swift.
Swift Top 50 Active Swift CocoaPods For iOS See the top 50 actively maintained Swift Cocoapods ranked by number of GitHub stars.
Swift Strong vs Weak vs Unowned In Swift With Examples Learn the differences between strong, weak, and unowned references in Swift with examples
Swift Read and Save Passwords Using Keychain in Swift Learn how to use Keychain Services to access and save secure data on iOS and macOS in Swift
Swift Convert a String into an Int, Float, Boolean, and Data in Swift Learn how to transform a String into an Int, Double, Float, Bool, and Data in Swift
Swift Scale, Rotate, Fade, and Translate NSView Animations in Swift Everything you need to know about anchorPoint and layers to create smooth animations on macOS in Swift
Swift How To Parse JSON in Swift Using Codable and JSONSerialization Parse, encode, and decode between JSON, Dictionary, and Array in Swift.
Swift Core Data String Queries Using NSPredicate In Swift Learn how to find an exact string, regex search, and more in Core Data.
Swift NSButton With A Gradient Background in Swift Learn how to add a gradient background to an NSButton
Swift NSButton With A Solid Background, Rounded Corners in Swift Implement a button with a background color, rounded corners, and image padding
Swift Formatting UTC and Local Dates in Swift Print, format, and parse UTC and local timezone Dates in Swift.
Swift URLSession GET and POST HTTP Requests in Swift Learn how to make GET and POST HTTP requests in Swift using URLSession, including setting HTTP headers and body parameters.
Swift Resize UICollectionViewCells On Rotation In Swift Learn how to resize UICollectionViewCells and refresh the UICollectionView layout on rotation in Swift.
Swift Self-Sizing, Full-Width UICollectionViewCells in Swift Learn how to implement UICollectionViewCells with a constant width and autosizing height.
Swift UIIBSystemGenerated: Breaking Constraint Is Xcode AutoLayout breaking on a UIIBSystemGenerated constraint. Find out why!
Swift Random Numbers and Random Number Generators In Swift Learn how to generate random numbers, get random elements from an array, set a seed, and more random related logic in Swift.