Skip to content

Commit

Permalink
Change CollectionHeaderFooterAdapter, TableSection and TableHeaderFoo…
Browse files Browse the repository at this point in the history
…terAdapter classes from public to open for inherintance purposes
  • Loading branch information
cyupa committed Nov 14, 2019
1 parent a0215bc commit 42ccfca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public extension CollectionHeaderFooterAdapterProtocol {

}

public class CollectionHeaderFooterAdapter<View: UICollectionReusableView>: CollectionHeaderFooterAdapterProtocol {
open class CollectionHeaderFooterAdapter<View: UICollectionReusableView>: CollectionHeaderFooterAdapterProtocol {

/// This is the cell type used to dequeue the model. You should not alter it.
public var modelCellType: Any.Type = View.self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public extension TableHeaderFooterAdapterProtocol {

// MARK: - TableHeaderFooterAdapter -

public class TableHeaderFooterAdapter<View: UITableViewHeaderFooterView>: TableHeaderFooterAdapterProtocol {
open class TableHeaderFooterAdapter<View: UITableViewHeaderFooterView>: TableHeaderFooterAdapterProtocol {

// MARK: - Public Properties -

Expand Down
4 changes: 2 additions & 2 deletions Sources/Owl/Table/TableSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import UIKit

public class TableSection: Equatable, Copying, DifferentiableSection {
open class TableSection: Equatable, Copying, DifferentiableSection {

// MARK: - Public Properties -

Expand Down Expand Up @@ -95,7 +95,7 @@ public class TableSection: Equatable, Copying, DifferentiableSection {

// MARK: - Initialization -

required init(original: TableSection) {
required public init(original: TableSection) {
self.allElements = original.allElements
self.identifier = original.identifier
self.headerTitle = original.headerTitle
Expand Down

0 comments on commit 42ccfca

Please sign in to comment.