Live Autoresize in Interface Builder usually doesn't work.

Originator:armadsen
Number:rdar://21428532 Date Originated:06/17/2015
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.3.2 (6D2102)
Classification:Other Bug Reproducible:Always
 
Summary:
When editing a single view XIB with autolayout enabled and the live autoresize feature turned on in Editor->Canvas->Live Autoresizing resizing the top-level view doesn’t cause its subviews to automatically resize/relayout. This makes it more difficult to understand how the constraints are behaving.

Steps to Reproduce:
1. Create a single view XIB. Set the file’s owner to NSViewController (or a subclass thereof).
2. Make sure Auto Layout is enabled in the File Inspector
3. Add some subviews and constraints
4. Make sure Live Autoresizing is turned on in Editor->Canvas->Live Autoresizing.
5. Resize the top-level view by dragging the corner.

Expected Results:
The subviews’ layout updates in realtime based on the constraints that have been set up.

Actual Results:
The subviews size and position remains the same exactly as if Live Autoresizing were disabled.

Version:
Xcode 6.3.2 (6D2102)

Notes:
A video of this behavior can be seen here: http://recordit.co/SGDTgZ71Md

Configuration:
I seem to recall this working in older versions of Xcode but I didn’t use Auto Layout much until Xcode 6.x so my memory could be faulty.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!