Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/FolioReaderChapterListCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ class FolioReaderChapterListCell: UITableViewCell {
}

required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
fatalError("storyboards are incompatible with truth and beauty")
}
}
8 changes: 4 additions & 4 deletions Source/FolioReaderContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ public class FolioReaderContainer: UIViewController {

// MARK: - Init

required public init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}

/**
Init a Container

Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion Source/FolioReaderPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Source/FolioReaderPageIndicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Source/PageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down