Swift is a unique language that has some revolutionary ideas. One of which is protocol conformance extension. This concept allows you to take an existing type and force it to adopt another protocol it never knew it existed before.
In this post, I’d like to show you how to create a Swift framework for iOS, watchOS, and tvOS and get them distributed via Carthage and CocoaPods. It’s a technique I use to share frameworks across all my apps and with the community.
It is convenient to keep your settings or default values in a `.plist` file or settings bundle for your project. In this post, we will explore how to attach an extension off the NSBundle class this make it super easy to read those values.
Swift has a unique and elegant class inheritance system. In this post, I’d like to shed light on all the inheritance goodies in Swift, such as designated, convenience, failable, automatic, and required initializers. Not only are these powerful concepts, but they also enforce safe and intentful code.
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 […]
In this podcast, I speak to world-renown, Jesse Liberty, about developing on the Apple Watch platform and Swift.
Nature’s Nurture enjoys a quarter-million web hits and have a half a million Facebook fans, I built a mobile app that has taken things to the next level! From a better user experience, to getting higher ranked in Google by providing mobile app indexing features. The iOS app uses Core Data and Android uses Realm database. All their blog posts were […]
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 […]
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.