• 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
NSSet designated initializer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSet designated initializer


  • Subject: NSSet designated initializer
  • From: Greg Hurrell <email@hidden>
  • Date: Wed, 27 Jul 2005 16:36:00 +0200

Can someone tell me what the designated initializer for the NSSet class is?

I know it's a class cluster and I want to override the initializer in my subclass so that I can guarantee that my own concrete subclass gets instantiated and not some other class. The only reference I can find is a bit of really old NeXT documentation that says that the designated initializer is:

- (id)initWithObjects:(id)anObject, ...

Can anyone confirm that this is still the case in Cocoa?

And for the record, writing a category is not an acceptable alternative to creating the subclass in this case.

Greg
_______________________________________________
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: NSSet designated initializer
      • From: Pontus Ilbring <email@hidden>
    • Re: NSSet designated initializer
      • From: Charilaos Skiadas <email@hidden>
  • Prev by Date: Re: How do you use AuthorizationRuleIsAdmin?
  • Next by Date: Re: NSSet designated initializer
  • Previous by thread: Re: Cocoa-dev Digest, Vol 2, Issue 1155
  • Next by thread: Re: NSSet designated initializer
  • Index(es):
    • Date
    • Thread