ObjC vs C++ (was: Is ZLib available in Cocoa?)
ObjC vs C++ (was: Is ZLib available in Cocoa?)
- Subject: ObjC vs C++ (was: Is ZLib available in Cocoa?)
- From: "Alexander Bokovikov" <email@hidden>
- Date: Fri, 5 Oct 2007 22:20:52 +0600
I. Savant wrote:
There's nothing inherently different about building this with XCode
than any other IDE. XCode-related questions are best posed to the
xcode-users list while questions about how to build this particular
project are best posed to any forum(s) associated with that project.
The particulars about how to build zlib have nothing to do with Cocoa.
Now the NSData category to which I referred you does ... :-)
OK, now I understand that I asked offtopic question. Now a bit closer to
Cocoa:
I have to develop a Cocoa app, but the "visual" part is closely connected
with a very big "invisible" part of code, containing many classes having no
relation to UI. ZLib is just one of many modules used there. The question
is: should I transcode ALL stuff to the ObjC or can I leave the main stuff
"as is" in usual C++ and instantiate C++ classes from ObjC "visual" classes?
The docs I read tell me that both ways are possible, but I'd like to know an
opinion of experienced people, what way is better and what (if any)
negatives are covered in usual C++ classes calls from ObjC classes. If
possible, I'd prefer to keep the main "invisible" stuff in C++ for
universality saving. As I understand, ObjC is used only by Cocoa...
Hope this is not an offtopic :)
Thanks.
_______________________________________________
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