• 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
Frame of views during awakeFromNib or restoration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frame of views during awakeFromNib or restoration


  • Subject: Frame of views during awakeFromNib or restoration
  • From: Georg Seifert <email@hidden>
  • Date: Thu, 23 Oct 2014 23:54:47 +0200

Hi,

I see a problem on several places in my app. In awakeFromNib, in restoreStateWithCoder: or just after adding a view programmatically, the bounds aren’t in sync with the final size or with the super view. The relayout is done at the end of the runloop. This was not the case in 10.7 but is now in 10.9. I think I read somewhere about that but cant find it.

I have several things I need to do. One is to set the initial scroll position, another is that I want to manually restore some split views.

Thanks
Georg Seifert
_______________________________________________

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


  • Prev by Date: Re: Within a UITableView cellForRowAtIndexPath indexPath's row and section become nil.
  • Next by Date: Re: Crash with ARC enabled on Xcode 6.1
  • Previous by thread: Re: Within a UITableView cellForRowAtIndexPath indexPath's row and section become nil.
  • Next by thread: Predicate warning from text view
  • Index(es):
    • Date
    • Thread