Re: Are views active or inactive?
Re: Are views active or inactive?
- Subject: Re: Are views active or inactive?
- From: Rick Mann <email@hidden>
- Date: Tue, 22 Dec 2009 19:54:25 -0800
On Dec 22, 2009, at 19:51:03, Kyle Sluder wrote:
> On Tue, Dec 22, 2009 at 9:45 PM, Rick Mann <email@hidden> wrote:
>> I'm listening for that notification. Sure is a clunky way to do things. I've never used a view framework that didn't tell views when they became active/inactive.
>
> Views don't become (in)active, windows do. Since there are plenty of
> things that might be interested in that (Window menu, controllers,
> views…), it's done as a notification so all interested parties can
> listen for it.
I'm not against the notification, I just think NSView should have an active property. Views do become inactive (look at any well-designed control).
_______________________________________________
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