In <207eddbd.0309121718.348e75d5posting.google.com > Paul Forgey wrote:Use a notification. Look at the notifications for a window. From a> I've got a doent based Cocoa application, and I would like to have
> a single NSPanel which shows certain stuff about the current doent.
> I think that I want to create a conroller which has a class method
> creating or returning a one and only instance of the panel's
> controller which I can then inform of what the current doent is.
> But -- how I know when the current doent changes?
window you can get its windowcontroller and doent. m.
matt neuburg, phd = [email]matttidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
Subscribe to TidBITS. It's free and smart.