It is clear from this year’s WWDC that Apple envisions a new era beyond the traditional apps-in-a-grid-on-your-home-screen model. iOS 10 is more of a revolutionary iteration to the Apple ecosystem and vision. There were many initiatives uncovered that gives us clues to the future of Apple.
Memory Leaks and Resource Management in Swift and iOS
Less code and less memory while performing the same task at hand is truly where the art comes in. In this post, I’d like to highlight some of the various pitfalls that lead to memory leaks, which inevitably result in crashes. I will also cover some tools and remedies to resolve these issues.
Swift Utility Belt Series: Introduction
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.
Nature’s Nurture for iOS and Android
Nature’s Nurture enjoys a quarter-million web hits a month and thousands of social media followers. I built the native iOS and Android mobile apps that provided their users with a better user experience and offline capability for their content. The app also integrated with Google Analytics for granular reporting, provided advanced content search and filtering, favorites and social […]
Updating Query String Parameters in Swift
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.
Top 10 Swift-friendly CocoaPods
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.
Creating Notifications from WatchKit in Swift
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.
Sharing Data Between Apple Watch and iPhone in Swift
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.
Transit Authority Integration
The task was to build a modern, scalable platform to deliver up-to-the-minute information to bus riders across several cities in the US. This covered everything from scheduling to fare collection and passenger information systems. Users can view and select transit routes, and track their buses in real-time using onboard GPS sensors.