• 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: NSTask...Whois
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask...Whois


  • Subject: Re: NSTask...Whois
  • From: John Randolph <email@hidden>
  • Date: Thu, 13 Nov 2003 12:06:06 -0800

On Nov 13, 2003, at 8:07 AM, Nicholas Riley wrote:
[NSArray arrayWithObjects: @"-h", @"whois.nic.uk", @"realmacs.co.uk"]
should work better.

Better make that:

[NSArray arrayWithObjects: @"-h", @"whois.nic.uk", @"realmacs.co.uk", nil]

Remember, +arrayWithObjects: is a varargs method, and it needs a nil terminator.

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.

References: 
 >NSTask...Whois (From: Mark Davis <email@hidden>)
 >Re: NSTask...Whois (From: Nicholas Riley <email@hidden>)

  • Prev by Date: Migrating to keyed archiving...?
  • Next by Date: Re: Two dimensional array
  • Previous by thread: Re: NSTask...Whois
  • Next by thread: Re: NSTask...Whois
  • Index(es):
    • Date
    • Thread