Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

satyam90

macrumors regular
Original poster
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.