Unit testing has a stigma of slowing you down while you’re trying to rock some code. The truth is unit testing doesn’t have to be so dry. Once you start flipping the script, unit testing can be an opportunity for refactoring, refreshing, and finding bugs. Besides, who wouldn’t want to see a bunch of green checkmarks next to their code?: A beauty […]
Adding, updating, and removing query string parameters is a common use case, but very tedious. This Swift function will help make it easy and pleasant leveraging NSURLComponents.
Android has a convenient XML-based resources architecture that allows you to define strings, booleans, colors, dimensions, ID’s, integers, integer arrays, and typed arrays. Take this one step further by storing multidimensional arrays for complex objects.
CocoaPods are a must for any serious iOS project. Why reinvent the wheel when the community has produced robust and feature-rich plugins? In this post, I’d like to highlight the best CocoaPods I’ve used in real-world project that are also Swift-friendly.
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.
CocoaPods are the de facto way of sharing and distributing iOS and OS X code. It manages third-party dependencies in a easy, fast, and safe way. There are thousands of CocoaPods available, but almost all of them are in Objective-C. Today I’d like to show you how to create a CocoaPods in Swift.
There are many design aspects for the Apple Watch, but today I’d to simply look at themes for this new market to discover why Apple chose a dark theme for the new Apple Watch App Store.
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.