Learn how to make GET and POST HTTP requests in Swift
Implement a UITextField with custom text spacing in Swift
Create smooth layout animations when the iOS keyboard shows and hides
Learn how to use a Swift enum on a Core Data Model
Implement a NSButton with image spacing
Learn how to scale a UIImage to a target size while keeping the aspect ratio the same
Learn how to create a UIView with a gradient background in Swift.
Learn how to allow UICollectionViewCells to automatically compute height in a UICollectionView, and resize on rotation.
Learn how UICollectionViewCells can automatically compute height in a UICollectionView.
Is Xcode AutoLayout breaking on a UIIBSystemGenerated constraint. Find out why!
A walkthrough of Counters, an Instruments tool to profile low-level chip events and reliably find performance improvements in apps.
Profile spacial locality to improve the performance of an image quantization function by 600%.
A deep dive into Chrome for iOS, analyzing how image resizing can be optimized to save battery.
A deep dive into Firefox for iOS, looking at an accepted PR that optimizes content blocking to save memory and decrease load time.
An overview of different types of optimizations in Swift to make code faster, used in accepted PRs to the Swift and Swift Core Libs projects.
A dive into a PR I made to the Swift project that improves the performance of IndexSet.union.
A dive into a PR to the Swift Core Libs project that improves the performance of NSIndexSet.mutableCopy.
Swift 4.2 provides convenient interfaces for obtaining random numbers. However, there may be faster ways to generate random numbers.
For many years I detested flying. Flying meant airports, and airports meant waiting in line. Thankfully, there is a better way that doesn’t involve buying first-class tickets.
Once you choose where to go, you need to choose how to get there. With three major airline alliances (OneWorld, Star Alliance, and Sky Team), would you stick to the same one for 100,000 miles?
You might not know Google Flights is a fully-featured and compelling flight search tool, even for complicated itineraries.
As a frequent traveler, keeping flight costs low is important. I’ve learned a few tricks to reliably search for hidden deals.
Flying internationally used to imply an expensive trip, and miles used to be the solution. Today things are a bit different.
A dive into an accepted PR to the Swift project that improves the performance of NSSet.isSubset and NSOrderedSet.isSubset.
A dive into a PR I made to the Swift Core Libs project that improves the performance of NSIndexSet.isEqual.
Stay up to date! Get all the latest & greatest posts delivered straight to your inbox