diff --git a/Source/FolioReaderChapterListCell.swift b/Source/FolioReaderChapterListCell.swift index b5a930151..7e122e90b 100755 --- a/Source/FolioReaderChapterListCell.swift +++ b/Source/FolioReaderChapterListCell.swift @@ -37,6 +37,6 @@ class FolioReaderChapterListCell: UITableViewCell { } required init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) + fatalError("storyboards are incompatible with truth and beauty") } } diff --git a/Source/FolioReaderContainer.swift b/Source/FolioReaderContainer.swift index 5e3326933..d94365351 100755 --- a/Source/FolioReaderContainer.swift +++ b/Source/FolioReaderContainer.swift @@ -23,10 +23,6 @@ public class FolioReaderContainer: UIViewController { // MARK: - Init - required public init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) - } - /** Init a Container @@ -66,6 +62,10 @@ public class FolioReaderContainer: UIViewController { } } + required public init?(coder aDecoder: NSCoder) { + fatalError("storyboards are incompatible with truth and beauty") + } + // MARK: - View life cicle override public func viewDidLoad() { diff --git a/Source/FolioReaderPage.swift b/Source/FolioReaderPage.swift index a0a70cf3b..e51f0655d 100755 --- a/Source/FolioReaderPage.swift +++ b/Source/FolioReaderPage.swift @@ -63,7 +63,7 @@ class FolioReaderPage: UICollectionViewCell, UIWebViewDelegate, UIGestureRecogni } required init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) + fatalError("storyboards are incompatible with truth and beauty") } deinit { diff --git a/Source/FolioReaderPageIndicator.swift b/Source/FolioReaderPageIndicator.swift index 28cab892c..aa867b105 100644 --- a/Source/FolioReaderPageIndicator.swift +++ b/Source/FolioReaderPageIndicator.swift @@ -43,7 +43,7 @@ class FolioReaderPageIndicator: UIView { } required init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) + fatalError("storyboards are incompatible with truth and beauty") } func reloadView(updateShadow updateShadow: Bool) { diff --git a/Source/PageViewController.swift b/Source/PageViewController.swift index 7c51b4328..407b2034e 100644 --- a/Source/PageViewController.swift +++ b/Source/PageViewController.swift @@ -27,7 +27,7 @@ class PageViewController: UIPageViewController { } required init?(coder: NSCoder) { - fatalError("init(coder:) has not been implemented") + fatalError("storyboards are incompatible with truth and beauty") } override func viewDidLoad() {