Skip to content

Instantly share code, notes, and snippets.

@BenJamminnn
BenJamminnn / PageViewController
Created July 14, 2015 20:39
PageViewController with UICollectionViewControllers
import UIKit
class ViewController: UIPageViewController, UIPageViewControllerDataSource {
var collectionViewControllers: Array<UIViewController> = []
required init(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
/*
* File: FacePamphletCanvas.java
* -----------------------------
* This class represents the canvas on which the profiles in the social
* network are displayed. NOTE: This class does NOT need to update the
* display when the window is resized.
*/
import acm.graphics.*;