I started learning new Auto Layout stuff in Xcode on iOS. The auto-layout is actually pretty neat, but it seems like a pain for testing. I seem to remember on the Mac side, there was a way that you could view the interface and drag it to different sizes to check if the controls are aligned correctly. Is there something like this for iOS or some kind of tool that makes it easy to check your AutoLayout views? In addition, it would be useful to switch to right to left. I just want to check all my limitations and make sure they are perfect.
To see a preview of what Auto Layout will do under different conditions, follow these steps in Xcode 5:
To simulate the language from right to left, according to WWDC 2012 Auto Layout by Example (Session 232) video:
AppleTextDirection YES
NSForceRightToLeftWritingDirection YES
, , .
, Xcode, Scheme --- > Edit Scheme. (, ), +, : -NSDoubleLocalizedStrings YES , . , , .
Apple XCode 5.
One of the options for iOS that I found is to set the status bar to None in the XIB root view. This will remove the black status bar and display the resize handles. This way you can drag the frame and see how the controls behave. However, it still does not run the code. Also, I haven't figured out how to include Right-To-Left text yet.