Newbie (to Cocoa) questions
Newbie (to Cocoa) questions
- Subject: Newbie (to Cocoa) questions
- From: Jeff Shulman <email@hidden>
- Date: Thu, 7 Mar 2002 11:12:07 -0800
We're starting a new implementation of our product (current a
PowerPlant Carbon app). In addition to the app it consists of a
rather extensive cross-platform C++ framework for our core code.
PowerPlant isn't really keeping up with all the OSX Aqua/CarbonEvent
stuff as much as I would like (say like using sheets). So we have
three choices:
1) Continue with PowerPlant and either hope they catch up or
implement missing pieces ourselves;
2) Ditch PowerPlant and write a full Carbon app ourselves;
3) Use ObjC++/Cocoa as our front end (assuming we can drop pre-OSX support).
Most of our cross-platform framework stuff is using CoreFoundation.
One question is going between CF* stuff and NS* stuff (like strings).
I know that NSString for example uses CFString but can I simply cast
them back and forth (my ideal dream) or do they need to be converted
to some intermediate form? I did search the archives for this answer
but never saw a straight reply. At the very least it would be nice if
either initializers for the NS* stuff can take a CF* or Apple
provided some library to do this.
Next I assume everything needs to be compiled as Mach-O. We currently
use (and export to third parties) CFM shared libraries. I guess we
would also now have to provide/use a Framework? One problem I see is
that we currently provide a single binary CFM shared library (in a
bundle) which contains several merged sub-libraries. It doesn't look
like you can do this with a Framework unless you use an Umbrella
Framework. Alas the docs I see don't really go into Umbrella
Frameworks and specifically say that third parties shouldn't use them.
With these issues which of the above 3 choices would you make?
--
Jeff
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.