Writing portable Cocoa apps (especially data models)
Writing portable Cocoa apps (especially data models)
- Subject: Writing portable Cocoa apps (especially data models)
- From: Maxthon Chan <email@hidden>
- Date: Tue, 09 Jul 2013 08:05:46 +0800
Have anyone of you guys tried GNUstep, the Cocoa clone (predates Cocoa!) that works on Linux systems? And have any of you guys tried to write portable code that builds on OS X/Cocoa and Linux/GNUstep?
From my experiencesit seemed to me that recent versions of GNUstep (staying on svn HEAD here) can run some Cocoa apps, as long as you stay with Foundation, AppKit, Core Graphics and CoreFoundation, after a recompile and no code change. I still remember they ported TextEdit from Snow Leopard to GNUstep with Objective-C 2.0 (their version of libobjc2) and clang 3.2.
Interestingly, their libobjc2 provides Blocks runtime on their own, and a generally-regarded “working version” will essentially cross-link with libdispatch and libc++.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden