I am building an iOS app using Rubymotion and the excellent ProMotion gem. It all works fine and is super simple, as long as you only want the original Apple design for all components. I've searched high and low for a tutorial on how to using custom-designed elements with a ProMotion gem.
For example:
I really want to use ProMotion because it seems like a perfect companion to RubyMotion. It would be cool to see source code for a sample custom-styled app.
Thanks for the ProMotion shout-out, Jonathan. I plan to create a styling guide for ProMotion soon. For now, here are some general guidelines:
PM::TableViewCell
and adding custom styles to the layoutSubviews
method. You can mix in PM::ViewHelper
to get access to set_attributes:
and add:
methods.Update
ProMotion style guide: https://github.com/clearsightstudio/ProMotion/wiki/Guide%3A-Styling-Your-Views