rubymotion/teacup — pull request #16 by ConradIrwin (2012-05-22 07:31:38+00:00)
Title: Import implementation from Commune

I figure this implementation is pretty close to where we want to be, so it makes sense if we can all hack on one code-base.

I've been using "git slave" to add my fork of teacup to my Commune app; seems to be a reasonable workflow so far.

TODO:

1. We should write a few more sample apps, and check that this model actually scales. In particular I've not tried writing anything with more than one UIViewController with it.

2. specs; I have some ideas for how to do this, but it's going to be a somewhat exploratory process. I suggest starting with Teacup::Stylesheet if you want to get going; that should be pretty easy as it doesn't interact with cocoa at all.

3. Refine the API; having written the docs for the layout method it seems it might be ever-so-slightly complicated to understand :p.