seanho / SimpleView

RubyMotion DSL for UIKit
MIT License
103 stars 10 forks source link

Table View Cell #6

Open jjuliano opened 12 years ago

jjuliano commented 12 years ago

Hi,

I've been using this library primarily on my project, since the gem is easier to add to the project. However, I think there's a lot of missing examples, like how to use the builder.

I can now add a table_view, and I really want to know to add and use the table_view_cell into my existing table_view.

Would you provide an example usage for this?

Thanks for SimpleView for Rubymotion, this project rocks!

jjuliano commented 12 years ago

Another note on this one, Teacup has an example on how to setup a TableViewCell on http://colinta.com/thoughts/aw_hell_its_a_table_cell.html using it's DSL, this might be similar on how SimpleView build the table_cell.

jjuliano commented 12 years ago

I made a conversion from Teacup to SimpleView of the (http://colinta.com/thoughts/aw_hell_its_a_table_cell.html) table cell view example, here's the SimpleView version (https://gist.github.com/3093205), I think there's a much simpler way to do this using SimpleView table_view_builder. Any comments are welcome.