Hi Nick, It looks pretty good to me!
I just have a question regarding the Objective-C wrapper. Since the goal is to use it through MacRuby, why not compiling the project with -fobjc-gc-only and simplify the code? @interface TagLib : NSObject { NSDictionary *tags; } @end void Init_TagLibBundle(void) { } @implementation TagLib @synthesize tags; - (id)init { if (self = [super init]) { tags = [NSDictionary dictionary]; } return self; } @end I'm not sure if the audience of this tutorial will be comfortable with manual memory management :) If you can post the source code of this tutorial I will commit it on the macruby-website repository. Laurent On Aug 19, 2010, at 10:12 AM, Nick Ludlam wrote: > I've written up a first draft of a tutorial on taking C/C++, wrapping the > code in a simple Obj-C class, then exporting this as a bundle which can be > loaded by MacRuby. In this case, it's about wrapping the open-source TagLib > library in order to extract ID3 tags from mp3 files. > > If people have the time, I'd really appreciate any feedback on things like > length, clarity, and accuracy of describing steps in XCode etc etc. > > http://recoil.org/~nick/macruby/documentation/realworld-dynamic-bundles.html > > > Thanks, > Nick > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel