• 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: a c question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a c question


  • Subject: Re: a c question
  • From: Scott Ellsworth <email@hidden>
  • Date: Tue, 07 Feb 2006 16:25:46 -0800


On Feb 7, 2006, at 4:21 PM, john wrote:

Hi Scott,

Couldn't he make a foundation tool and stick with Cocoa (making available Foundation in order to use NSMutableArray)? I've only used foundation tools for testing in Xcode, but I assumed they could be run at the command line as well.

Quite right. A foundation tool will work quite well, and lets him use NSMutableArray and other objective C classes.


XCode has stationary for it, and he will find appropriate docs for NSMutableArray at <http://developer.apple.com/documentation/Cocoa/ Conceptual/Collections/index.html#//apple_ref/doc/uid/10000034i>.

I am not sure why I suggested a CF project - I suppose it is because the last time I was creating a command line C tool, I went that route.

Scott

You will want to create a Core Foundation tool, most like.

The equivalent class to look up is CFMutableArray. A good starting point is <http://developer.apple.com/documentation/ CoreFoundation/Conceptual/CFCollections/index.html#//apple_ref/doc/ uid/10000124i>

Scott

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: a c question
      • From: Andy Armstrong <email@hidden>
References: 
 >a c question (From: Robert Dell <email@hidden>)
 >Re: a c question (From: Andy Armstrong <email@hidden>)
 >Re: a c question (From: Robert Dell <email@hidden>)
 >Re: a c question (From: Scott Ellsworth <email@hidden>)
 >Re: a c question (From: john <email@hidden>)

  • Prev by Date: Re: a c question
  • Next by Date: Re: a c question
  • Previous by thread: Re: a c question
  • Next by thread: Re: a c question
  • Index(es):
    • Date
    • Thread