Skip to content

this is an example of pager view controller with a container but without segue.

Notifications You must be signed in to change notification settings

StevenWatremez/page-controller-without-segue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Page Controller Without Segue

This repo is here to show you how to create simple app tutorial with easy to maintain architecture.

pager controller giph

To use it, you just need to copy files inside the project and paste into your project.

What you need to know

DataModel.swift

This class represents your tutorial model for each page. Modelling it to match with you own model.

There is a Simple Factory to create a fake model inside this project inside DataModelFactory.swift.

DataViewController.swift

This is UI representation of your DataModel class. You can create your design view for your data model.

ContainerViewController.swift

This View controller contains the pager and your high level design. If you want to share a button between data pages you can design it here.

You can manage Pager view frame here inside func pagerBounds().

About

this is an example of pager view controller with a container but without segue.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages