2020-08-27 21:26:12 -07:00
|
|
|
//
|
|
|
|
// StoryDetailViewController.swift
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by David Sinclair on 2020-08-27.
|
|
|
|
// Copyright © 2020 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
/// An individual story.
|
|
|
|
class StoryDetailViewController: StoryDetailObjCViewController {
|
2020-09-25 20:31:01 -07:00
|
|
|
/// Convenience initializer to load a new instance of this class from the XIB.
|
2020-10-30 20:58:27 -07:00
|
|
|
///
|
|
|
|
/// - Parameter pageIndex: The page index of the story.
|
|
|
|
convenience init(pageIndex: Int) {
|
2020-09-25 20:31:01 -07:00
|
|
|
self.init(nibName: "StoryDetailViewController", bundle: nil)
|
2020-10-30 20:58:27 -07:00
|
|
|
|
|
|
|
self.appDelegate = NewsBlurAppDelegate.shared()
|
|
|
|
self.pageIndex = pageIndex
|
2020-09-25 20:31:01 -07:00
|
|
|
}
|
2020-08-27 21:26:12 -07:00
|
|
|
}
|