Changes

no edit summary
super.viewWillAppear(animated)
webView.loadHTMLString(dataObject as ! String,
baseURL: NSURL(string: ""))
}
let storyBoard = UIStoryboard(name: "Main",
bundle: NSBundle.mainBundle())
let dataViewController = storyBoard.instantiateViewControllerWithIdentifier("contentView") as ! ContentViewController
dataViewController.dataObject = pageContent[index]
let dataViewController =
storyBoard.instantiateViewControllerWithIdentifier("contentView")
as ! ContentViewController
</pre>
var index = indexOfViewController(viewController
as ! ContentViewController)
if (index == 0) || (index == NSNotFound) {
var index = indexOfViewController(viewController
as ! ContentViewController)
if index == NSNotFound {
let viewControllers: NSArray = [startingViewController]
pageController!.setViewControllers(viewControllersas [AnyObject],
direction: .Forward,
animated: false,