Skip to content

Commit 94423e1

Browse files
committed
Remove ovveriden inits
1 parent 79e7456 commit 94423e1

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

SPDiffable.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SPDiffable"
4-
s.version = "1.0.4"
4+
s.version = "1.0.5"
55
s.summary = "Extenshion of Diffable API which allow not duplicate code and use less models."
66
s.homepage = "https://github.com/IvanVorobei/SPDiffable"
77
s.source = { :git => "https://github.com/IvanVorobei/SPDiffable.git", :tag => s.version }

Source/SPDiffable/Collection/SPDiffableCollectionController.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,4 @@ open class SPDiffableCollectionController: UICollectionViewController {
4444
diffableDataSource = SPCollectionDiffableDataSource(collectionView: collectionView, cellProviders: providers)
4545
diffableDataSource?.apply(sections: sections, animating: false)
4646
}
47-
48-
// MARK: Ovveriden Init
49-
50-
public init() {
51-
super.init(nibName: nil, bundle: nil)
52-
}
53-
54-
public override init(collectionViewLayout layout: UICollectionViewLayout) {
55-
super.init(collectionViewLayout: layout)
56-
}
57-
58-
@available(*, unavailable)
59-
required public init?(coder: NSCoder) {
60-
fatalError("init(coder:) has not been implemented")
61-
}
6247
}

Source/SPDiffable/Table/SPDiffableTableController.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,4 @@ open class SPDiffableTableController: UITableViewController {
4444
diffableDataSource = SPTableDiffableDataSource(tableView: tableView, cellProviders: providers)
4545
diffableDataSource?.apply(sections: sections, animating: false)
4646
}
47-
48-
// MARK: Ovveriden Init
49-
50-
public init() {
51-
super.init(nibName: nil, bundle: nil)
52-
}
53-
54-
public override init(style: UITableView.Style) {
55-
super.init(style: style)
56-
}
57-
58-
@available(*, unavailable)
59-
required public init?(coder: NSCoder) {
60-
fatalError("init(coder:) has not been implemented")
61-
}
6247
}

0 commit comments

Comments
 (0)