[MacRuby-devel] HotCocoa Part I

Chris McGrath chris at octopod.info
Tue Dec 2 17:27:26 PST 2008


On 2 Dec 2008, at 22:48, Rich Morin wrote:

> The critical question, then, is how to create an environment that  
> allows
> (nay, encourages!) frameworks to be created, tested, polished,  
> documented,
> indexed, shared, etc.  My intuition is that GitHub should be part of  
> this,
> because it promotes free-flowing cooperation, merging, etc.   
> However, I'm
> quite sure that GitHub isn't the entire solution.  So, ideas are  
> welcome!

One thing I've been considering since watching your RubyConf  
presentation via confreaks is auto-generating documentation about  
what's mapped to what. I haven't looked at the code enough to know if  
it's feasible, but I'd like to see something like:

text_field -> NSTextField (selectable: false, bordered: false, ...)  
#i.e. the defaults

Most of these would be obvious, but are currently "hidden" away down  
in the MacRuby source. I'd like to see mappings both ways, so as  
someone who knows a bit of cocoa I can easily go check if NSFoo has  
been wrapped by someone and what the wrappings are. I love how the  
mappings are implemented, but I won't be able to keep them all in my  
head!

Cheers,

Chris


More information about the MacRuby-devel mailing list