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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to