On 07 Feb 09, at 16:06, Kevin Walzer wrote:
I am making progress on this by refactoring the code to include the Cocoa methods in a Cocoa class and the Tcl C-API code in a separate file, called in normal C procedural style.
Keep in mind that there's no restriction against calling ObjC methods from C functions. The only situation where you need to write a class for this sort of glue code is if the APIs you're wrapping specifically need a delegate object (or similar).
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com