Skip to content

Commit e825bd0

Browse files
committed
Fix sidebar actions call. Updated codestyle.
1 parent 4e4cd4d commit e825bd0

File tree

9 files changed

+3
-22
lines changed

9 files changed

+3
-22
lines changed

CODESTYLE.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ class Example {
1515

1616
Here you find all which using in project.
1717

18-
1918
- // MARK: - Init
20-
- // MARK: - Configure
2119
- // MARK: - Lifecycle
22-
- // MARK: - Properties
23-
20+
- // MARK: - Helpers
2421

2522
If you can't find valid, add new to codestyle agreements please. Other can be use wit if class is large and need struct it even without adding to codestyle agreements.

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.1.8'
4+
s.version = '1.1.9'
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 }

Sources/SPDiffable/CellProvider/Models/SPDiffableSection.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ import UIKit
2929
*/
3030
open class SPDiffableSection: NSObject, NSCopying {
3131

32-
// MARK: - Properties
33-
3432
/**
3533
SPDiffable: Identifier help for detect uniq section and doing diffable work and animations.
3634

Sources/SPDiffable/Collection/SPDiffableCollectionController.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,10 @@ import UIKit
3030
@available(iOS 13.0, *)
3131
open class SPDiffableCollectionController: UICollectionViewController {
3232

33-
// MARK: - Properties
34-
3533
open var diffableDataSource: SPDiffableCollectionDataSource?
3634

3735
open weak var diffableDelegate: SPDiffableCollectionDelegate?
3836

39-
// MARK: - Configure
40-
4137
/**
4238
SPDiffable: Init `diffableDataSource` and apply content to data source without animation.
4339

Sources/SPDiffable/Collection/SPDiffableCollectionView.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ import UIKit
3030
@available(iOS 13.0, *)
3131
open class SPDiffableCollectionView: UICollectionView, UICollectionViewDelegate {
3232

33-
// MARK: - Properties
34-
3533
open var diffableDataSource: SPDiffableCollectionDataSource?
3634

3735
open weak var diffableDelegate: SPDiffableCollectionDelegate?
@@ -52,8 +50,6 @@ open class SPDiffableCollectionView: UICollectionView, UICollectionViewDelegate
5250
delegate = self
5351
}
5452

55-
// MARK: - Configure
56-
5753
/**
5854
SPDiffable: Init `diffableDataSource` and apply content to data source without animation.
5955

Sources/SPDiffable/DataSource/SPDiffableCollectionDataSource.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ import UIKit
3030
@available(iOS 13.0, *)
3131
open class SPDiffableCollectionDataSource: UICollectionViewDiffableDataSource<SPDiffableSection, SPDiffableItem> {
3232

33-
// MARK: - Properties
34-
3533
private weak var collectionView: UICollectionView?
3634

3735
// MARK: - Init

Sources/SPDiffable/DataSource/SPDiffableTableDataSource.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ import UIKit
3030
@available(iOS 13.0, *)
3131
open class SPDiffableTableDataSource: UITableViewDiffableDataSource<SPDiffableSection, SPDiffableItem> {
3232

33-
// MARK: - Properties
34-
3533
/**
3634
SPDiffable: Mediator call some methods which can not using in data source object.
3735

Sources/SPDiffable/Table/SPDiffableTableController.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ import UIKit
3030
@available(iOS 13.0, *)
3131
open class SPDiffableTableController: UITableViewController {
3232

33-
// MARK: - Properties
34-
3533
open var diffableDataSource: SPDiffableTableDataSource?
3634

3735
open weak var diffableDelegate: SPDiffableTableDelegate?
@@ -44,7 +42,7 @@ open class SPDiffableTableController: UITableViewController {
4442
tableView.register(SPDiffableSubtitleTableViewCell.self, forCellReuseIdentifier: SPDiffableSubtitleTableViewCell.reuseIdentifier)
4543
}
4644

47-
// MARK: - Configure
45+
// MARK: - Init
4846

4947
/**
5048
SPDiffable: Init `diffableDataSource` and apply content to data source without animation.

0 commit comments

Comments
 (0)