recalling the original view height
recalling the original view height
- Subject: recalling the original view height
- From: Tony Romano <email@hidden>
- Date: Tue, 7 Sep 2010 13:53:43 -0700
I have a NSWindow and a view. The view is defined in a nib with a given height and width. I am resizing the window to a new size and then optionally returning it to the original size and the view changes accordingly. Is there a way of obtaining the original view height as defined in the nib or do I simply cache the value? I get worried with cached values because of some special situations that are dynamic. However, I think the original value is gone once I resize it. I tried search for this answer but its tough to refine the search on this one. Thanks so much.
Tony Romano
http://www.cocoaegghead.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden