Build an Image Viewer
Coming October 2017…
About this Course
In this course, we're going to build an image viewer that allows a user to thumb through an album of images, select one and then perform the usual operations like pinching, zooming and so on. In doing so we'll develop and understanding of Scroll Views in iOS and how to implement paging.
What you'll learn
- View Bounds, Frames, and Coordinates
- Page Controls
The basic premise of our app is that we can take photos and view them like the built in Photos app. To do this the first step is to allow the user to take photos and save them somehow. Over the next few videos, let's take a look at how we can use the UIImagePickerController class to take photos and Core Data to save them to disk.
Browsing An Album
To browse through photos by swiping to the side we need to make use of a page view controller along with a page view data source. Over the next few videos, let's use these built in classes to implement side swiping.
Pinching, Panning and Zooming
To get our app as close to the Photos app as possible we need to allow users to zoom in to a single photo and pan it around to view details. Over the next few videos, let's spend some time learning about the basics of scroll views, a new view subclass that will allow us to implement all the features we want.
Pasan spends most of his time learning and the rest trying to figure out how to pass that knowledge on to others. It's a hard job but he loves it all the same. You can find him everywhere as @pasanpr