Re: The cost of using objects rather than plain C variables
Re: The cost of using objects rather than plain C variables
- Subject: Re: The cost of using objects rather than plain C variables
- From: Scott Ribe <email@hidden>
- Date: Sun, 07 Jul 2013 11:15:29 -0600
On Jul 7, 2013, at 10:38 AM, Vincent Habchi wrote:
> Oh, just that since I moved from plain BSD/Qt3 to MacOS/Cocoa, I swore not to write any line of C++ ever again. But that’s just a personal commitment ;)
If Qt is the majority of your experience with C++, then I understand wanting to avoid it...
> That’s what I plan for the next step: I’ll try to set up an automatic translation from the ascii file as part of the build process. But I must admit while I am pretty familiar with Makefiles, I have still to figure out how to do that with Xcode (I suppose it’s not a hard task, it’s just that I hadn’t time to slog on that).
You add a script build phase to the target; in that script you do the conversion using whatever tools you want--I'd be tempted just to knock one out in C and invoke that from the script, but you may have other tools, or for all I know may have original data that's not yet text.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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