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 provides the Islamic prayer times in an elegant, modern interface. It displays on a single screen with all prayer times right in front of you on the iPhone, Apple Watch, and Today Widget. Several features of the devices has been incorporated into the phone and watch apps: geolocation, compass calibration, today widget in notification […]
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.
Created a native Apple Watch app and companion iPhone app using Xcode, Swift, and WatchKit. This was entered into the App Store before the launch of Apple Watch. 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 […]
Created a native Apple Watch app and companion iPhone app using Xcode, Swift, and WatchKit. This was entered into the App Store before the launch of Apple Watch. A unit converter that provides a single screen with all your conversions displayed right in front of you. Tap a unit and get a number pad for entering specific […]