• 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: NSSet primitive methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSet primitive methods


  • Subject: Re: NSSet primitive methods
  • From: Glen Low <email@hidden>
  • Date: Mon, 13 Oct 2008 07:43:51 +0800

Mike

On 11/10/2008, at 10:27 PM, Mike Abdullah wrote:

Can I enquire as to why you wish to subclass it?

I have an existing data structure defined in C that I need to wrap with an Objective-C veneer. Rather than struggle to keep the C and an actual Objective-C NSSet in sync, I'd rather just define a NSSet subclass instead that passes all relevant operations to the C structure/functions. Also the data structure is more akin to an unordered set than an ordered array e.g. it's non-trivial to retrieve an indexed member of the structure.





Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com aim: pixglen

_______________________________________________

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: 
 >NSSet primitive methods (From: Glen Low <email@hidden>)
 >Re: NSSet primitive methods (From: Mike Abdullah <email@hidden>)

  • Prev by Date: iPhone: Editing with cursor but without keyboard
  • Next by Date: Re: KVC Question
  • Previous by thread: Re: NSSet primitive methods
  • Next by thread: creating a printer
  • Index(es):
    • Date
    • Thread