• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
recalling the original view height
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: recalling the original view height
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Small memory leaks in Cocoa guts
  • Next by Date: Re: recalling the original view height
  • Previous by thread: Re: UIViewController: not receiving motion events
  • Next by thread: Re: recalling the original view height
  • Index(es):
    • Date
    • Thread