Scroll View School
Scroll views are a means to provide a lot of content in a small amount of space, but unfortunately, they can be a bit tricky. This course will walk you through the basics of scroll views, showing you to use them in a variety of layouts. Once you get comfortable with them, you'll explore several scroll view recipes that have been inspired in some popular recipes. By Catie Catterwaul & Jessy Catterwaul.
Part 1: Beginning Scroll Views
Scroll views are used everywhere in iOS. In this video, you'll learn where they are used and why they are important to learn.
Every view has a frame and bounds. This video introduces these concepts and how they relate to scroll views.
By writing a little code, you can write your own Do-It-Yourself custom scroll view! Learn how in this video.
In this challenge video, you will get to see how frames and bounds work by altering these properties.
Now that you have an idea of how a scroll view works, you'll be introduced to using the UIScrollView that is included with iOS.
Setting the content size determines the scrolling size of scroll view. In this video, you'll learn how to set it.
Pinch to zoom is a great way to increase or decrease the size of a view. In this video, you'll learn how to implement it.
In this video tutorial you will learn about the process of centering the content by way of adding padding.
In this video tutorial you will learn how to use Auto Layout and stack views to create layouts inside of scroll views.
In this video challenge, you'll create a simple layout in a scroll view, using constraints and a stack view.
This video wraps up the first part of the course! Review what you learned and find out what's up next.
Part 2: Intermediate Scroll Views
This video provides an overview of some of the topics that will be covered in this part of the course.
In this video you'll learn how to move an existing layout into a scroll view without ruining all of your constraints!
Often times, you'll want to nest a scroll view inside of a scroll view. Find out how to avoid common Auto Layout issues and employ a container view!
Content insets are one way to add padding to a scroll view. Find out how a few checkboxes in Interface Builder can help, and how to customize content insets.
Now that you understand how to nest scroll views and add insets, try this challenge in which you'll do both!
When a keyboard appears, you don't want your text field to be hidden behind it! Find how how to adjust a scroll view to account for keyboards.
In this video challenge, your task is to add some keyboard insets to a new sample project. Give it a try!
Use a scroll view to page through full-screen views laid out next to each other, and add a page control to find out which page you're on.
This video concludes this part, and the course! Review what you've learned and find out where to go next.