Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView no longer visible notification?



Hello.

I am writing a NSView subclass. I would like to be notified when that view is no longer visible. The situation that is causing this is that my subclass is in a NSTabView. I need to be notified when my view is no longer visible (i.e. when the selected tab changes).

I do not want to use the NSTabView delegate notifications. I would like the solution to be self contained within my NSView subclass if possible. If I have to I will resort to using the notifications and sending a message to the view myself.

Oh yeah.  The solution must work on 10.3+.  Thanks.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.