• 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: Variadic arguments to methods in Objective-C - How ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variadic arguments to methods in Objective-C - How ?


  • Subject: Re: Variadic arguments to methods in Objective-C - How ?
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 8 Jan 2005 22:19:49 +0100


Am 8. Jan 2005 um 21:50 Uhr schrieb Vincent Coetzee:

Specifically I was extending NSArray as follows

@implementation NSArray (NSArrayExtensions)

+ (NSArray*) arrayWithInts: (int) count,...

Looks fine to me.

The array/dictionary approach is obviously not appropriate in this case.

I don't know why you are using an NSArray just to store ints though. I guess you have your reasons. :)


Andreas

_______________________________________________
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


References: 
 >Variadic arguments to methods in Objective-C - How ? (From: Vincent Coetzee <email@hidden>)
 >Re: Variadic arguments to methods in Objective-C - How ? (From: Andreas Mayer <email@hidden>)
 >Re: Variadic arguments to methods in Objective-C - How ? (From: Vincent Coetzee <email@hidden>)

  • Prev by Date: How to disable NSTextView's HTML rendering?
  • Next by Date: Re: How to disable NSTextView's HTML rendering?
  • Previous by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Next by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Index(es):
    • Date
    • Thread