fernyb/RailsMailPreview — pull request #2 by Hunter-Dolan (2012-11-04 18:34:42+00:00)
Title: Fixed issues with OS X 10.8

There were a few things that were breaking this app on 10.8.

The FBToolbarView is now already defined in OS X 10.8 (I presume that it has something to do with Facebook integration). I just changed the prefix from FB to RFB instead to avoid the collision. Needed to update the XIB as well in order to change the class name.

The other problem I ran into was none of the CGRectGet[...] methods were defined in MacRuby. I'm not sure if it was because I'm on a nightly version of if it had something to do with 10.8. Either way I created a simple bridge between Ruby and Obj-C to solve the problem and added validation to check and see if the CGRectGet methods are defined. If they are defined then it will just skip over the code bridge.

Hope this helps, I really like you're app. Glad to get it back up and running again.