I am developing an Application using XCode 2.4.1, Obj C on Cocoa Framework.
I am creating NSPanel which will display some text ( like Notification on right top corner or Mac ). I want to resize NSPanel at runtime according to the text size & width I want to display. The text can be dislayed in more than one line. I couldn't find appropriate resize function in NSPanel or NSWindow documentation.
Can anybody tell me how to implement this?
I am creating NSPanel which will display some text ( like Notification on right top corner or Mac ). I want to resize NSPanel at runtime according to the text size & width I want to display. The text can be dislayed in more than one line. I couldn't find appropriate resize function in NSPanel or NSWindow documentation.
Can anybody tell me how to implement this?