     
     func pageViewController(pageViewController: UIPageViewController, viewControllerBeforeViewController viewController: UIViewController) -> UIViewController? {
         
-        var nextViewController : UIViewController?
+        var nextViewController: UIViewController?
         
         if let index = customViewControllers.indexOf(viewController) {
             pageControl?.currentPage = index

    }    
}

extension SimplePageViewController : UIPageViewControllerDataSource {
    
    func pageViewController(pageViewController: UIPageViewController, viewControllerAfterViewController viewController: UIViewController) -> UIViewController? {
        
        var nextViewController : UIViewController?
        
        if let index = customViewControllers.indexOf(viewController) {
            pageControl?.currentPage = index

import Foundation
import UIKit

final class SimplePageViewController: UIPageViewController {
    
    var customViewControllers: Array<UIViewController>
    
    /// Allows the page view controlller to manage a page control
    var pageControl: UIPageControl?
    
    /**
     Initalises a new UIPageViewController and sets the view controllers passsed as a 
