A Swift package for rapid development using a collection of micro extensions for Standard Library, Foundation, and more. Includes documentation and unit tests. Cross-platform targets for macOS, iOS, watchOS, tvOS, and iPadOS and were used across various apps for providing a central and extensible API.
Let’s use the closure-based pattern to wrap CLLocationManager for allowing callers to subscribe to observables instead of using shared delegate functions.
Swift is a powerful and fun language. Its protocol-oriented nature allows you to do retroactive modeling and promotes composition over inheritance. In this series of posts, I will share Swift snippets that I’ve used across projects that I feel are really helpful in rapid development.
In this podcast, I speak to world-renown, Jesse Liberty, about developing on the Apple Watch platform and Swift.
Pray Watch is a popular, 5-star app that provides the Islamic prayer times in an elegant, modern interface. It is completely localized and displays on a single screen with all prayer times right in front of you on the iPhone, Apple Watch, iPad, and Today Widget. Several features of the devices has been incorporated, including GPS, […]
One of the limitations of WatchKit is being able to schedule notifications. This must be done in the iOS target since the notifications architecture resides in the iPhone, not the Apple Watch. In this post, I would like to show you to get around this and get WatchKit to schedule notifications on the iPhone.
There are various ways to persist data in the Apple ecosystem. They range from simple to complex. In this post, learn how easy it is to use App Groups and NSUserDefaults to share data between Apple Watch WatchKit and iPhone iOS using Swift.
The user interface for smart watches is vastly different than what we’re used to. We are entering a new era of UX that involves creative thinking on how we can use the ridiculously small screen real estate, while still giving the user enough power to interact with it. One thing that comes to mind is how do we enter numbers into smart watches. In this post, I would like to show you how to create a number keypad for Apple Watch.
Displaying a list of records to users is one of the most common needs for any application. We see this from grids on the web, to table list views on iPhones, and now the trend should continue in Apple Watch. In this post, I’d like to show you how to add a table to your Apple Watch app.
A tip calculator that provides provides a single screen with all calculations displayed right in front of you. Tap the +/- buttons for small adjustments, or tap the bill to get a number pad for entering more precise amounts. This was entered into the App Store before the launch of Apple Watch.