Simple Core Data in Swift

My latest app, in.notes, uses Core Data for persisting notes to the file system. While the setup is relatively simple and could have been implemented in a number of ways, including archiving, using Core Data however, was the right decision for many reasons.

As I am going through each class, rewriting the app in Swift, the time has come to research Core Data piece. Since I had a couple of hours to spare today, that’s exactly what I did.

Continue reading “Simple Core Data in Swift”

Simple Core Data in Swift

In-App Upgrade With MBStoreCheck

What a great day for iOS developers. In addition to some new APIs, Apple has dropped an unexpected “one more thing” at the end of the keynote – Swift. Swift is basically a new programming language for iOS and OS X. After playing with it for a couple of hours today, I love it. Granted, it will take some learning before I can really understand what’s going on, but so far, it’s pretty cool.

Recently I had the privilege to work with my friends on a project that required in-app purchase integration. To be more precise, we had a couple of app features locked and required paid upgrade to work. Because of that, I had to dive into in-app purchase APIs. Sadly, most of the articles – tutorials, are too complex for such a simple┬átask. Thats why I wrote a very simple library implementing in-app purchase with 2 lines of code.

Continue reading “In-App Upgrade With MBStoreCheck”

In-App Upgrade With MBStoreCheck