Elegant Data Binding in Objective-C with ReactiveCocoa

If you’re developing apps for iOS then you should be (painfully) familiar with the Key-Value Observing (KVO) pattern. Says Chief NSHipster Matt Thompson about KVO:

Ask anyone who’s been around the NSBlock a few times: Key-Value Observing has the worst API in all of Cocoa. It’s awkward, verbose, and confusing. And worst of all, its terrible API belies one of the most compelling features of the framework.

Unfortunately, KVO seems to be the best way to natively achieve data binding on the iOS platform.

Continue reading Elegant Data Binding in Objective-C with ReactiveCocoa Elegant Data Binding in Objective-C with ReactiveCocoa

How To Track App Install Conversions for Facebook Ads

We started experimenting with Facebook Ads for some of our apps, including Lilly Sleep. But how do we know if the ad actually leads to a purchase?

Facebook has a really good how-to to get this done.

The how-to describes a simple 2-step process:

  1. Add the Facebook iOS SDK to your Xcode project and add a few lines of code
  2. Create a Facebook app to associate with you iOS app and fill out some forms.

We are submitting this new code together with an upgrade for iOS7 in the near future. I will write a new post about how to use this feature to optimize your Facebook Ad for app install conversion, once we have it running and collecting data.

#lillyLeaf stats in cohorts 1.expo-01