Swift Scroll View School - Ray Wenderlich · Swift Scroll View School Introduction. What is a...

13
Swift Scroll View School Introduction

Transcript of Swift Scroll View School - Ray Wenderlich · Swift Scroll View School Introduction. What is a...

Swift Scroll View School

Introduction

What is a Scroll View?

Scroll Views Everywhere!

Scroll Views Everywhere!

Parts 1-4: Basic Usage

Frame and bounds How Scroll Views Work Scrolling Zooming Centering

Parts 5–9: Advanced Usage

Storyboards Auto Layout Multiple Scroll Views Content Insets & Offsets iOS 7 and Scroll Views Keyboard Insets

Parts 10–12: Paging Scroll Views

Paging Scroll Views Gaps Between Pages UIPageViewController UIPageControl

Parts 13–14: Slide-Out Navigation

Paging scroll views Clipping Pan Gesture Recognizer

Parts 15–17: Pull-to-Refresh

Placing views outside content area Detecting scroll progress Locking open Fun animations and effects!

Parts 18–19: Sprite Kit Integration

Scroll views with Sprite Kit content Scrolling and zooming Coordinate system differences Gesture recognizers

Parts 20–21: Sprite Kit Level Selector

Target Content Offsets Switching sprite parents Passing data between scenes Reimplementing it in UIKit!

School’s in Session!

Something for everyone: beginner to advanced Hands-on challenges Skip ahead to any point

Challenge Time!