Re: OutlineView shouldSelectItem Being Called Twice
Re: OutlineView shouldSelectItem Being Called Twice
- Subject: Re: OutlineView shouldSelectItem Being Called Twice
- From: Chris Tracewell <email@hidden>
- Date: Wed, 05 Jun 2013 12:01:30 -0700
Thanks for the reply. This OV is acting as a master for a detail view that must be saved before the selection changes if it's dirty. Is there another method to intercept the OV row click before selection actually changes wherein I can validate and present an NSAlert for save,cancel,discard options if need be?
-CT
On Jun 4, 2013, at 7:31 PM, Graham Cox <email@hidden> wrote:
>
> On 05/06/2013, at 11:56 AM, Chris Tracewell <email@hidden> wrote:
>
>> Is this normal behavior? Thanks for the help.
>
>
> Probably. This method should just answer the question, not attempt to interrupt things by showing an alert etc. You'll need to put that functionality elsewhere.
>
> --Graham
>
>
_______________________________________________
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