[MacRuby-devel] spotlight - MDItemRef

Ruben Fonseca ruben at 0x82.com
Fri Oct 30 05:12:33 PDT 2009

Hi Lauren!

On Oct 29, 2009, at 8:17 PM, Laurent Sansonetti wrote:

> It would definitely be interesting to share the wrappers, but I  
> don't know if bundling them as part of MacRuby is a good idea. If we  
> start doing that we would have to make sure all wrappers are  
> consistent. And these wrappers would be temporary, until a new  
> version of Mac OS X comes out with the support.
> I guess that it's better if people share them on Github. We could  
> have a list of them on the website so that people can easily find  
> them.
> Thoughts?

Good to hear! I guess I agree with you.

Since I'm new to this thing of adapting a C API to the Objective-C/ 
Ruby paradigm, I think I will try my first wrapper around the  
Spotlight API. Just a quick question: what should I do with C  
constants? Should I maintain them? Alias them?

My plan is to make public version of the wrapper, ask for opinions,  
learn, rewrite, ..., profit :)


More information about the MacRuby-devel mailing list