Either NSWindow or NSWindowController have a -setDocumentEdited: method that will do what you want.

On 22 Dec 2008, at 11:39, Mahaboob wrote:

In my app I used NSTextView as editor and saves my project along with the contents of editor by using archiving and also I can open the saved project. Now I need to show a bubble in the close button when I'm making any changes in the editor. How can I show the bubble? How can I notify when the editor
get edited?

Thanks in advance
mahaboob


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to