rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Change location constants to register only if ios constants exist. Allows ios7/xcode5 apps to build against repo #412

Closed jonmorehouse closed 9 years ago

jonmorehouse commented 9 years ago

This PR probably only makes sense for a few months, but for now, it allows users to use the latest and greatest bubblewrap on ios7.

jonmorehouse commented 9 years ago

Prevents things like #409 happening :)

clayallsopp commented 9 years ago

Hm makes sense to me, but the tests fail (I believe one of the tests accesses this constant). Can you update the test accordingly too? Thanks!

markrickert commented 9 years ago

I've merged the ios7-min branch that makes this no longer necessary.