Everyone who's ever coded iOS apps with me knows I'm a huge fan of Storyboards, though the one thing which has always annoyed me about it is just how difficult it is to lay out content in a UIScrollView which is larger than the size on screen.
I was just browsing YouTube, and managed to find this excellent tutorial on how to do just that in Interface Builder. It goes through laying out content not just for NIBs / XIBs, but also for Storyboards, and there's even a little bit about using Auto Layout too. (Pro-tip, when using Auto Layout don't forget to pin the first element to the top and left of the scroll view, and the last element to the bottom and right of the scroll view - which is used by Xcode to automatically set the contentSize - so you don't have to).
If you don't have Scroll View problems the video is still worth a watch, if just to learn all the keyboard shortcuts for navigating and manipulating the view hierarchy.
via rmayoff







