Warning users when editing multiple items
Warning users when editing multiple items
- Subject: Warning users when editing multiple items
- From: email@hidden
- Date: Tue, 05 Feb 2013 19:08:57 -0800
I am revisiting an issue with which I had a problem earlier. I have a detail view which is bound to my model in an NSArrayController. Currently, I can edit multiple selections. What I want to accomplish is warn my users when they are about to edit multiple items and give them the choice of whether or not to do it.
Now users can edit an item 2 ways. They can tab into the control (in this case an NSTextField or an NSComboBox) or mouseDown: into the control. I want to basically interpose both ways of accessing a control. The minute they try to click into a control, I want to perform logoc to determine multiple selection and then thrown an NSRunAlert… that they are about to edit multiple items.
Does anyone know of a good way to do this?
Thanks,
Patrick
_______________________________________________
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