tableview multiple selected loop
tableview multiple selected loop
- Subject: tableview multiple selected loop
- From: Amy Gibbs <email@hidden>
- Date: Tue, 27 Jul 2010 08:53:03 +0100
Hi,
If i've got multiple rows selected in a table view, and I want to do
something with each of them, do I need some kind of loop in my code,
or will cocoa automatically run the code for each selected row? I
can't find any kind of while, foreach type of loop example anywhere?
Thanks
(Background:
I've got a table showing instances of a product entity. I want to link
those to an instance of a kit entity. they are set up as a many to
many relationship in the datamodel. The kit instance is selected in
another table. I want to loop through all of the selected products,
and add the relationship to the selected kit)
_______________________________________________
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