Scroll View School
Oct 31 2017 · Video Course (3 hrs, 16 mins) · Beginner
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.
Version
- Swift 4, iOS 11, Xcode 9


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 has 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.
In this challenge, you'll see how frames and bounds work by altering these properties. Your job is to write the code.
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.
Zooming
8:26Pinch 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.
Centering Content
6:22This video will show you the process of centering the content by way of adding padding.
Auto Layout
10:13This video will show how to setup constraints in your scroll views in order to layout your views.
Your second challenge to create a simply layout in a scroll view, using constraints.
Stack Views
9:10Stacks Views are great to create layouts, but can be a pain when dealing with Auto Layout. This video will walk you through the issues.
Conclusion
0:34This wraps up the section on beginning scroll views. In this video, you'll get a glimpse at the next section.
Part 2: Intermediate Scroll Views
Introduction
1:00This video provides an overview of some of the topics that will be covered in this part of the course.
Embedding Layouts
5:14Often times, you'll need to embed existing layouts into a scroll view. This video will show you how to do it.
Nesting Scroll Views
6:41Often times, you'll need to embed a scroll view inside of a scroll view. This video shows how to do it without any issues.
Content Insets
8:51Content insets are where you can add padding to a scroll view. This video will show you how.
Now that you understand insets, this challenge will have you add them to a scroll view.
Keyboard Insets
8:12When a keyboard appears, it's helpful to adjust a scroll view to account for the size of it. This is done by way of insets which you'll learn here.
Your challenge is to add some keyboard insets to the sample project.
Paging Scroll Views
8:10Scroll views can be used to layout view controllers next to each other. This allows you to add paging to your app.
Paging Control
8:08A paging control shows the user where they are located in a series of pages. You'll learn how to use this control in this video.
Your challenge is to add a paging control to the sample app.
Conclusion
0:38This video concludes this section and gives a brief overview of the next and final section.
Part 3: Scroll View Recipes
Slide Out Sidebar
10:05This video covers the theory behind the slide out navigation bar that you'll construct in this section.
Your challenge is to add an offset to the scroll view so that the proper view controller is displayed.
This video will fix the remaining issues with the slide out navigation bar.
Refresh Control
3:23iOS comes with a pull to refresh control right out of the box. This video will show you how to use it.
Now you know how to use a refresh control, your challenge is to add it to the sample app.
Custom Refresh Control
11:34While the stock pull to refresh is nice, a custom pull to refresh is pretty awesome. In the remaining video, you'll learn how to make an cool looking pull to refresh using scroll views.
Parallax Scrolling
13:26The custom pull to refresh has many different image elements. With some a bit of code, this video will show you how to add a parallax effect.
Locking Scroll Views
9:26When a user pulls down on the refresh view, a nice effect is to lock it into place. This video will show you how.
Finishing Touches
8:28This video adds some polish to the pull to refresh and even makes Super Cat fly.
Comments