• 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: Help in grouping set of objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help in grouping set of objects


  • Subject: Re: Help in grouping set of objects
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 14 Mar 2006 11:54:54 -0600

On 14 Mar 2006, at 7:57 AM, Anoop wrote:

I would like to explain my issue:--I can draw many lines on a view and I can
select each and every one.I need to store these selected objects under a
single umbrella called group.How is it possible.How will I do further
operations on this particular group.
Advises appreciated .

See NSSet and NSMutableSet. See the objectEnumerator, makeObjectsPerformSelector:, and makeObjectsPerformSelector:withObject: methods of NSSet.


If the collection is ordered, use NSArray and NSMutableArray.

	-- F


-- Fritz Anderson -- http://www.manoverboard.org/ Consulting Programmer -- http://resume.manoverboard.org/ Step into Xcode, Now Available -- http://six.manoverboard.org/


_______________________________________________ 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: Help in grouping set of objects
      • From: Scott Anguish <email@hidden>
References: 
 >Help in grouping set of objects (From: Anoop <email@hidden>)

  • Prev by Date: Re: Urgent-Is there any cocoa API to flush the cocoa window buffer
  • Next by Date: Re: NSToolbarItem validation
  • Previous by thread: Help in grouping set of objects
  • Next by thread: Re: Help in grouping set of objects
  • Index(es):
    • Date
    • Thread