• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The cost of using objects rather than plain C variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >The cost of using objects rather than plain C variables (From: Vincent Habchi <email@hidden>)
 >Re: The cost of using objects rather than plain C variables (From: Ken Thomases <email@hidden>)
 >Re: The cost of using objects rather than plain C variables (From: Vincent Habchi <email@hidden>)
 >Re: The cost of using objects rather than plain C variables (From: Scott Ribe <email@hidden>)
 >Re: The cost of using objects rather than plain C variables (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: NSTextField / NSSecureTextField toggl
  • Next by Date: Re: The cost of using objects rather than plain C variables
  • Previous by thread: Re: The cost of using objects rather than plain C variables
  • Next by thread: Re: The cost of using objects rather than plain C variables
  • Index(es):
    • Date
    • Thread