Collection View Storyboard layout wrong in Xcode 8.x
Collection View Storyboard layout wrong in Xcode 8.x
- Subject: Collection View Storyboard layout wrong in Xcode 8.x
- From: Doug Hill <email@hidden>
- Date: Tue, 27 Sep 2016 15:58:38 -0700
I recently updated to Xcode 8 and now see a lot of weird behavior. Here are a few that stand out:
• In Xcode 7.x all of my view controllers in my main Storyboard had their views sized to 600 x 600. I then open this storyboard in Xcode 8, and it asks me to pick a size class (e.g. compact width, regular height) to start with. Now all my views in the storyboard have their autolayout constraints broken since everything is still laid out for 600 x 600 but the widths/heights of the views are adjusted to the size class I picked above. There are numerous autolayout warnings that everything is laid out wrong, and I now I appear to need to re-layout ALL my views in the storyboard to correct for these problems.
Any chance I can correct for these problems without re-laying out everything?
• I have a Collection View Controller in my Storyboard. Inside the collection view, I have a collection reusable view for the header, and a collection cell. This controller is presented (shown) by another view controller that is inside a Navigation Controller. However, I don't want to show the nav bar in the collection view, so I turn it off in the collection view controller by setting the Top Bar in IB to 'None'.
Unfortunately, the outline (which includes the resize thumbs) for the header and cell are drawn incorrectly; the outline is drawn about 22 pixels lower than the view itself. The outline of the label is also drawn similarly incorrectly.
See screenshots here:
http://imgur.com/a/Eakgs
My guess this is a bug but would appreciate any input if perhaps I'm doing something wrong.
Thanks.
Doug Hill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden