diff --git a/docs/Classes.html b/docs/Classes.html index 3227352..7841ba8 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -168,6 +168,7 @@
extension CollectionViewDriver: UICollectionViewDelegate
extension CollectionViewDriver: UIScrollViewDelegate
+extension CollectionViewDriver: UICollectionViewDelegateFlowLayout
@@ -179,7 +180,7 @@ extension CollectionViewDriver: UICollectionViewDelegate
extension CollectionViewDriver: UIScrollViewDelegate
+extension CollectionViewDriver: UICollectionViewDelegateFlowLayout
@@ -280,7 +281,7 @@ The scroll view delegate to forward.
+A scroll view delegate object to receive forwarded events.
@MainActor
public weak var scrollViewDelegate: UIScrollViewDelegate?
+
+
+
+ flowLayoutDelegate
+
+ A flow layout delegate object to receive forwarded events.
+ +Swift
+@MainActor
+public weak var flowLayoutDelegate: UICollectionViewDelegateFlowLayout?
+
Swift
-extension AnyHashable: @unchecked @retroactive Sendable
+ extension AnyHashable: @retroactive @unchecked Sendable
Swift
-@MainActor
-public protocol CellViewModel : DiffableViewModel, ViewRegistrationProvider
+ public protocol CellViewModel : DiffableViewModel, ViewRegistrationProvider
Swift
-@MainActor
-public protocol DiffableViewModel : Hashable, Identifiable
+ public protocol DiffableViewModel : Hashable, Identifiable, Sendable
Swift
-@MainActor
-public protocol SupplementaryFooterViewModel : SupplementaryViewModel
+ public protocol SupplementaryFooterViewModel : SupplementaryViewModel
Swift
-@MainActor
-public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
+ public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
Swift
-@MainActor
-public protocol SupplementaryViewModel : DiffableViewModel, ViewRegistrationProvider
+ public protocol SupplementaryViewModel : DiffableViewModel, ViewRegistrationProvider
Swift
-@MainActor
-public protocol ViewRegistrationProvider
+ public protocol ViewRegistrationProvider
@MainActor
-public protocol CellViewModel : DiffableViewModel, ViewRegistrationProvider
+ public protocol CellViewModel : DiffableViewModel, ViewRegistrationProvider
Swift
-@MainActor
-var shouldSelect: Bool { get }
+ var shouldSelect: Bool { get }
Swift
-@MainActor
-var shouldDeselect: Bool { get }
+ var shouldDeselect: Bool { get }
Swift
-@MainActor
-var shouldHighlight: Bool { get }
+ var shouldHighlight: Bool { get }
Swift
-@MainActor
-var contextMenuConfiguration: UIContextMenuConfiguration? { get }
+ var contextMenuConfiguration: UIContextMenuConfiguration? { get }
Swift
-@MainActor
-public var cellClass: AnyClass { get }
+ public var cellClass: AnyClass { get }
Swift
-@MainActor
-public var reuseIdentifier: String { get }
+ public var reuseIdentifier: String { get }
Swift
-@MainActor
-public var registration: ViewRegistration { get }
+ public var registration: ViewRegistration { get }
Swift
-@MainActor
-public func eraseToAnyViewModel() -> AnyCellViewModel
+ public func eraseToAnyViewModel() -> AnyCellViewModel
@MainActor
-public protocol DiffableViewModel : Hashable, Identifiable
+ public protocol DiffableViewModel : Hashable, Identifiable, Sendable
@MainActor
-public protocol SupplementaryFooterViewModel : SupplementaryViewModel
+ public protocol SupplementaryFooterViewModel : SupplementaryViewModel
Swift
-@MainActor
-static var kind: SupplementaryViewKind { get }
+ static var kind: SupplementaryViewKind { get }
Swift
-@MainActor
-public var registration: ViewRegistration { get }
+ public var registration: ViewRegistration { get }
@MainActor
-public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
+ public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
Swift
-@MainActor
-static var kind: SupplementaryViewKind { get }
+ static var kind: SupplementaryViewKind { get }
Swift
-@MainActor
-public var registration: ViewRegistration { get }
+ public var registration: ViewRegistration { get }
@MainActor
-public protocol SupplementaryViewModel : DiffableViewModel, ViewRegistrationProvider
+ public protocol SupplementaryViewModel : DiffableViewModel, ViewRegistrationProvider
Swift
-@MainActor
-public var viewClass: AnyClass { get }
+ public var viewClass: AnyClass { get }
Swift
-@MainActor
-public var reuseIdentifier: String { get }
+ public var reuseIdentifier: String { get }
Swift
-@MainActor
-public func eraseToAnyViewModel() -> AnySupplementaryViewModel
+ public func eraseToAnyViewModel() -> AnySupplementaryViewModel
@MainActor
-public protocol ViewRegistrationProvider
+ public protocol ViewRegistrationProvider
Swift
-@MainActor
-var registration: ViewRegistration { get }
+ var registration: ViewRegistration { get }
Swift
-@MainActor
-public struct AnyCellViewModel : CellViewModel
+ public struct AnyCellViewModel : CellViewModel
extension AnyCellViewModel: Equatable
extension AnyCellViewModel: Hashable
extension AnyCellViewModel: CustomDebugStringConvertible
@@ -228,8 +227,7 @@ Swift
-@MainActor
-public struct CollectionViewModel : Hashable, DiffableViewModel
+ public struct CollectionViewModel : DiffableViewModel
extension CollectionViewModel: Collection, RandomAccessCollection
extension CollectionViewModel: CustomDebugStringConvertible
@@ -288,8 +286,7 @@ Swift
-@MainActor
-public struct SectionViewModel : DiffableViewModel
+ public struct SectionViewModel : DiffableViewModel
extension SectionViewModel: Collection, RandomAccessCollection
extension SectionViewModel: CustomDebugStringConvertible
@@ -325,8 +322,7 @@ Swift
-@MainActor
-public struct AnySupplementaryViewModel : SupplementaryViewModel
+ public struct AnySupplementaryViewModel : SupplementaryViewModel
extension AnySupplementaryViewModel: Equatable
extension AnySupplementaryViewModel: Hashable
extension AnySupplementaryViewModel: CustomDebugStringConvertible
@@ -357,8 +353,7 @@ Swift
-@MainActor
-public struct ViewRegistration : Hashable
+ public struct ViewRegistration : Hashable, Sendable
@MainActor
-public struct AnyCellViewModel : CellViewModel
+ public struct AnyCellViewModel : CellViewModel
extension AnyCellViewModel: Equatable
extension AnyCellViewModel: Hashable
extension AnyCellViewModel: CustomDebugStringConvertible
@@ -189,8 +188,7 @@ Swift
-@MainActor
-public init<T>(_ viewModel: T) where T : CellViewModel
+ public init<T>(_ viewModel: T) where T : CellViewModel
@MainActor
-public struct AnySupplementaryViewModel : SupplementaryViewModel
+ public struct AnySupplementaryViewModel : SupplementaryViewModel
extension AnySupplementaryViewModel: Equatable
extension AnySupplementaryViewModel: Hashable
extension AnySupplementaryViewModel: CustomDebugStringConvertible
@@ -189,8 +188,7 @@ Swift
-@MainActor
-public init<T>(_ viewModel: T) where T : SupplementaryViewModel
+ public init<T>(_ viewModel: T) where T : SupplementaryViewModel
@MainActor
-public struct CollectionViewModel : Hashable, DiffableViewModel
+ public struct CollectionViewModel : DiffableViewModel
extension CollectionViewModel: Collection, RandomAccessCollection
extension CollectionViewModel: CustomDebugStringConvertible
@@ -173,8 +172,7 @@ Swift
-@MainActor
-public static var empty: `Self` { get }
+ public static var empty: `Self` { get }
Swift
-@MainActor
-public let sections: [SectionViewModel]
+ public let sections: [SectionViewModel]
Swift
-@MainActor
-public init(id: UniqueIdentifier, sections: [SectionViewModel] = [])
+ public init(id: UniqueIdentifier, sections: [SectionViewModel] = [])
Swift
-@MainActor
-public func sectionViewModel(for id: UniqueIdentifier) -> SectionViewModel?
+ public func sectionViewModel(for id: UniqueIdentifier) -> SectionViewModel?
Swift
-@MainActor
-public func sectionViewModel(at index: Int) -> SectionViewModel
+ public func sectionViewModel(at index: Int) -> SectionViewModel
Swift
-@MainActor
-public func cellViewModel(for id: UniqueIdentifier) -> AnyCellViewModel?
+ public func cellViewModel(for id: UniqueIdentifier) -> AnyCellViewModel?
Swift
-@MainActor
-public func cellViewModel(at indexPath: IndexPath) -> AnyCellViewModel
+ public func cellViewModel(at indexPath: IndexPath) -> AnyCellViewModel
Swift
-@MainActor
-public func supplementaryViewModel(for id: UniqueIdentifier) -> AnySupplementaryViewModel?
+ public func supplementaryViewModel(for id: UniqueIdentifier) -> AnySupplementaryViewModel?
Swift
-@MainActor
-public func supplementaryViewModel(ofKind kind: String, at indexPath: IndexPath) -> AnySupplementaryViewModel?
+ public func supplementaryViewModel(ofKind kind: String, at indexPath: IndexPath) -> AnySupplementaryViewModel?
Swift
-@MainActor
-public subscript(indexPath: IndexPath) -> AnyCellViewModel { get }
+ public subscript(indexPath: IndexPath) -> AnyCellViewModel { get }
Swift
-@MainActor
-public subscript(item item: Int, section section: Int) -> AnyCellViewModel { get }
+ public subscript(item item: Int, section section: Int) -> AnyCellViewModel { get }
@MainActor
-public struct SectionViewModel : DiffableViewModel
+ public struct SectionViewModel : DiffableViewModel
extension SectionViewModel: Collection, RandomAccessCollection
extension SectionViewModel: CustomDebugStringConvertible
@@ -182,8 +181,7 @@ Swift
-@MainActor
-public let header: AnySupplementaryViewModel?
+ public let header: AnySupplementaryViewModel?
Swift
-@MainActor
-public let footer: AnySupplementaryViewModel?
+ public let footer: AnySupplementaryViewModel?
Swift
-@MainActor
-public let supplementaryViews: [AnySupplementaryViewModel]
+ public let supplementaryViews: [AnySupplementaryViewModel]
Swift
-@MainActor
-public var hasSupplementaryViews: Bool { get }
+ public var hasSupplementaryViews: Bool { get }
Swift
-@MainActor
-public init(
+ public init(
id: UniqueIdentifier,
cells: [AnyCellViewModel] = [],
header: AnySupplementaryViewModel? = nil,
@@ -477,8 +469,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init<Cell: CellViewModel>(
+ public init<Cell: CellViewModel>(
id: UniqueIdentifier,
cells: [Cell]
)
@@ -539,8 +530,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init<Header: SupplementaryHeaderViewModel, Footer: SupplementaryFooterViewModel>(
+ public init<Header: SupplementaryHeaderViewModel, Footer: SupplementaryFooterViewModel>(
id: UniqueIdentifier,
cells: [AnyCellViewModel] = [],
header: Header?,
@@ -640,8 +630,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init<Cell: CellViewModel, Header: SupplementaryHeaderViewModel, Footer: SupplementaryFooterViewModel>(
+ public init<Cell: CellViewModel, Header: SupplementaryHeaderViewModel, Footer: SupplementaryFooterViewModel>(
id: UniqueIdentifier,
cells: [Cell],
header: Header?,
@@ -741,8 +730,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init<Cell: CellViewModel, View: SupplementaryViewModel>(
+ public init<Cell: CellViewModel, View: SupplementaryViewModel>(
id: UniqueIdentifier,
cells: [Cell],
header: AnySupplementaryViewModel? = nil,
@@ -842,8 +830,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init<
+ public init<
Cell: CellViewModel,
Header: SupplementaryHeaderViewModel,
Footer: SupplementaryFooterViewModel,
@@ -961,8 +948,7 @@ Accessing Cells and Supplementary Views
Declaration
Swift
- @MainActor
-public func cellViewModel(for id: UniqueIdentifier) -> AnyCellViewModel?
+ public func cellViewModel(for id: UniqueIdentifier) -> AnyCellViewModel?
@@ -1012,8 +998,7 @@ Return Value
Declaration
Swift
- @MainActor
-public func supplementaryViewModel(for id: UniqueIdentifier) -> AnySupplementaryViewModel?
+ public func supplementaryViewModel(for id: UniqueIdentifier) -> AnySupplementaryViewModel?
@@ -1048,7 +1033,7 @@ Return Value
diff --git a/docs/Structs/ViewRegistration.html b/docs/Structs/ViewRegistration.html
index 3090486..723879b 100644
--- a/docs/Structs/ViewRegistration.html
+++ b/docs/Structs/ViewRegistration.html
@@ -140,8 +140,7 @@ ViewRegistration
- @MainActor
-public struct ViewRegistration : Hashable
+ public struct ViewRegistration : Hashable, Sendable
@@ -171,8 +170,7 @@ ViewRegistration
Declaration
Swift
- @MainActor
-public let reuseIdentifier: String
+ public let reuseIdentifier: String
@@ -199,8 +197,7 @@ Declaration
Declaration
Swift
- @MainActor
-public let viewType: ViewRegistrationViewType
+ public let viewType: ViewRegistrationViewType
@@ -227,8 +224,7 @@ Declaration
Declaration
Swift
- @MainActor
-public let method: ViewRegistrationMethod
+ public let method: ViewRegistrationMethod
@@ -255,8 +251,7 @@ Declaration
Declaration
Swift
- @MainActor
-public init(
+ public init(
reuseIdentifier: String,
viewType: ViewRegistrationViewType,
method: ViewRegistrationMethod
@@ -330,8 +325,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init(reuseIdentifier: String, cellClass: AnyClass)
+ public init(reuseIdentifier: String, cellClass: AnyClass)
@@ -389,8 +383,7 @@ Parameters
Declaration
Swift
- @MainActor
-public init(reuseIdentifier: String, cellNibName: String)
+ public init(reuseIdentifier: String, cellNibName: String)
Swift
-@MainActor
-public init(reuseIdentifier: String, supplementaryViewClass: AnyClass, kind: String)
+ public init(reuseIdentifier: String, supplementaryViewClass: AnyClass, kind: String)
Swift
-@MainActor
-public init(reuseIdentifier: String, supplementaryViewNibName: String, kind: String)
+ public init(reuseIdentifier: String, supplementaryViewNibName: String, kind: String)
The unique identifier type for a DiffableViewModel
.
Describes a kind of supplementary view.
"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"The view reuse identifier.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV8viewTypeAA0dedG0Ovp":{"name":"viewType","abstract":"The type of view to register.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV6methodAA0dE6MethodOvp":{"name":"method","abstract":"The view registration method.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier8viewType6methodACSS_AA0dedI0OAA0dE6MethodOtcfc":{"name":"init(reuseIdentifier:viewType:method:)","abstract":"Initializes a ViewRegistration
.
Convenience initializer for a class-based cell.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier11cellNibNameACSS_SStcfc":{"name":"init(reuseIdentifier:cellNibName:)","abstract":"Convenience initializer for a nib-based cell in the main bundle.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier013supplementaryD5Class4kindACSS_yXlXpSStcfc":{"name":"init(reuseIdentifier:supplementaryViewClass:kind:)","abstract":"Convenience initializer for a class-based supplementary view.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier013supplementaryD7NibName4kindACSS_S2Stcfc":{"name":"init(reuseIdentifier:supplementaryViewNibName:kind:)","abstract":"Convenience initializer for a nib-based supplementary view in the main bundle.
","parent_name":"ViewRegistration"},"Structs/AnySupplementaryViewModel.html#/s:22ReactiveCollectionsKit25AnySupplementaryViewModelVyACxcAA0efG0Rzlufc":{"name":"init(_:)","abstract":"Initializes an AnySupplementaryViewModel
from the provided supplementary view model.
A unique id for this model.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV5cellsSayAA07AnyCelleF0VGvp":{"name":"cells","abstract":"The cells in the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV6headerAA016AnySupplementaryeF0VSgvp":{"name":"header","abstract":"The header for the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV6footerAA016AnySupplementaryeF0VSgvp":{"name":"footer","abstract":"The footer for the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV18supplementaryViewsSayAA016AnySupplementaryeF0VGvp":{"name":"supplementaryViews","abstract":"The supplementary views in the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV21hasSupplementaryViewsSbvp":{"name":"hasSupplementaryViews","abstract":"Returns true
if the section has supplementary views, false
otherwise.
Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cellsACs11AnyHashableV_SayxGtcAA04CelleF0Rzlufc":{"name":"init(id:cells:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayAA0m4CelleF0VGxSgq_SgSayAA0m13SupplementaryeF0VGtcAA0p6HeadereF0RzAA0p6FootereF0R_r0_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGq_Sgq0_SgSayAA0m13SupplementaryeF0VGtcAA04CelleF0RzAA0o6HeadereF0R_AA0o6FootereF0R0_r1_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGAA0m13SupplementaryeF0VSgANSayq_GtcAA04CelleF0RzAA0oeF0R_r0_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGq_Sgq0_SgSayq1_GtcAA04CelleF0RzAA019SupplementaryHeadereF0R_AA0p6FootereF0R0_AA0peF0R1_r2_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV04celleF03forAA07AnyCelleF0VSgs0I8HashableV_tF":{"name":"cellViewModel(for:)","abstract":"Returns the cell for the specified id
.
Returns the supplementary view for the specified id
.
A closure that returns the view.
","parent_name":"EmptyViewProvider"},"Structs/EmptyViewProvider.html#/s:22ReactiveCollectionsKit17EmptyViewProviderV4viewSo6UIViewCvp":{"name":"view","abstract":"The empty view.
","parent_name":"EmptyViewProvider"},"Structs/EmptyViewProvider.html#/s:22ReactiveCollectionsKit17EmptyViewProviderVyACSo6UIViewCyccfc":{"name":"init(_:)","abstract":"Initializes an EmptyViewProvider
with the given closure.
Returns the empty collection view model.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV2ids11AnyHashableVvp":{"name":"id","abstract":"A unique id for this model.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV8sectionsSayAA07SectioneF0VGvp":{"name":"sections","abstract":"The sections in the collection.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV2id8sectionsACs11AnyHashableV_SayAA07SectioneF0VGtcfc":{"name":"init(id:sections:)","abstract":"Initializes a new CollectionViewModel
.
Returns the section for the specified id
.
Returns the section at the specified index.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV04celleF03forAA07AnyCelleF0VSgs0I8HashableV_tF":{"name":"cellViewModel(for:)","abstract":"Returns the cell for the specified id
.
Returns the cell at the specified index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV013supplementaryeF03forAA016AnySupplementaryeF0VSgs0I8HashableV_tF":{"name":"supplementaryViewModel(for:)","abstract":"Returns the supplementary view for the specified id
.
Returns the supplementary view for the specified kind and index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelVyAA07AnyCelleF0V10Foundation9IndexPathVcip":{"name":"subscript(_:)","abstract":"Returns the cell at the specified index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV4item7sectionAA07AnyCelleF0VSi_Sitcip":{"name":"subscript(item:section:)","abstract":"Returns the cell at the specified indexes.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV21diffOnBackgroundQueueSbvp":{"name":"diffOnBackgroundQueue","abstract":"Specifies whether or not to perform diffing on a background queue.","parent_name":"CollectionViewDriverOptions"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV021reloadDataOnReplacingE5ModelSbvp":{"name":"reloadDataOnReplacingViewModel","abstract":"
Specifies whether or not the CollectionViewDriver
should","parent_name":"CollectionViewDriverOptions"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV21diffOnBackgroundQueue010reloadDatai9ReplacingE5ModelACSb_Sbtcfc":{"name":"init(diffOnBackgroundQueue:reloadDataOnReplacingViewModel:)","abstract":"
Initializes a CollectionViewDriverOptions
object.
Initializes an AnyCellViewModel
from the provided cell view model.
A type-erased cell view model.
"},"Structs/CollectionViewDriverOptions.html":{"name":"CollectionViewDriverOptions","abstract":"Defines various options to customize behavior of a CollectionViewDriver
.
Represents a collection view with sections and items.
"},"Structs/EmptyViewProvider.html":{"name":"EmptyViewProvider","abstract":"Provides an “empty state” or “no content” view for the collection view.
"},"Structs/SectionViewModel.html":{"name":"SectionViewModel","abstract":"Represents a section of items in a collection.
"},"Structs/AnySupplementaryViewModel.html":{"name":"AnySupplementaryViewModel","abstract":"A type-erased supplementary view model.
"},"Structs/ViewRegistration.html":{"name":"ViewRegistration","abstract":"Describes all information needed to register a view for reuse with a UICollectionView
.
The view registration information.
","parent_name":"ViewRegistrationProvider"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP0E4TypeQa":{"name":"ViewType","abstract":"The type of view that this view model represents and configures.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP9configure4viewy0E4TypeQz_tF":{"name":"configure(view:)","abstract":"Configures the provided view for display in the collection.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP11willDisplayyyF":{"name":"willDisplay()","abstract":"Tells the view model that its supplementary view is about to be displayed in the collection view.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP16didEndDisplayingyyF":{"name":"didEndDisplaying()","abstract":"
Tells the view model that its supplementary view was removed from the collection view.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE9viewClassyXlXpvp":{"name":"viewClass","abstract":"
The view class for this view model.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"A default reuse identifier for cell registration.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE010eraseToAnyeF0AA0ideF0VyF":{"name":"eraseToAnyViewModel()","abstract":"
Returns a type-erased version of this view model.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryHeaderViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryHeaderViewModelP4kindSSvpZ":{"name":"kind","abstract":"The collection view header element kind.
","parent_name":"SupplementaryHeaderViewModel"},"Protocols/SupplementaryHeaderViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryHeaderViewModelPAAE12registrationAA0F12RegistrationVvp":{"name":"registration","abstract":"A default registration for this header view model for class-based views.
","parent_name":"SupplementaryHeaderViewModel"},"Protocols/SupplementaryFooterViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryFooterViewModelP4kindSSvpZ":{"name":"kind","abstract":"The collection view footer element kind.
","parent_name":"SupplementaryFooterViewModel"},"Protocols/SupplementaryFooterViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryFooterViewModelPAAE12registrationAA0F12RegistrationVvp":{"name":"registration","abstract":"A default registration for this footer view model for class-based views.
","parent_name":"SupplementaryFooterViewModel"},"Protocols/DiffableViewModel.html#/s:22ReactiveCollectionsKit17DiffableViewModelP2ids11AnyHashableVvp":{"name":"id","abstract":"An identifier that uniquely identifies this instance.
","parent_name":"DiffableViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP0D4TypeQa":{"name":"CellType","abstract":"The type of cell that this view model represents and configures.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP12shouldSelectSbvp":{"name":"shouldSelect","abstract":"Returns whether or not the cell should get selected.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP14shouldDeselectSbvp":{"name":"shouldDeselect","abstract":"
Returns whether or not the cell should get deselected.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP15shouldHighlightSbvp":{"name":"shouldHighlight","abstract":"
Returns whether or not the cell should get highlighted.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP24contextMenuConfigurationSo09UIContexthI0CSgvp":{"name":"contextMenuConfiguration","abstract":"
Returns a context menu configuration for the cell.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP9configure4celly0D4TypeQz_tF":{"name":"configure(cell:)","abstract":"
Configures the provided cell for display in the collection.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP9didSelect4withyAA0D16EventCoordinator_pSg_tF":{"name":"didSelect(with:)","abstract":"Tells the view model that its cell was selected.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP11didDeselect4withyAA0D16EventCoordinator_pSg_tF":{"name":"didDeselect(with:)","abstract":"Tells the view model that its cell was deselected.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP11willDisplayyyF":{"name":"willDisplay()","abstract":"Tells the view model that its cell is about to be displayed in the collection view.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP16didEndDisplayingyyF":{"name":"didEndDisplaying()","abstract":"
Tells the view model that its cell was removed from the collection view.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP12didHighlightyyF":{"name":"didHighlight()","abstract":"
Tells the view model that its cell was highlighted.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP14didUnhighlightyyF":{"name":"didUnhighlight()","abstract":"
Tells the view model that the highlight was removed from its cell.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE9cellClassyXlXpvp":{"name":"cellClass","abstract":"
The cell class for this view model.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"A default reuse identifier for cell registration.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE12registrationAA0E12RegistrationVvp":{"name":"registration","abstract":"
A default registration for this view model for class-based cells.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE010eraseToAnyeF0AA0ideF0VyF":{"name":"eraseToAnyViewModel()","abstract":"Returns a type-erased version of this view model.
","parent_name":"CellViewModel"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP09didSelectD09viewModelyAA0d4ViewJ0_p_tF":{"name":"didSelectCell(viewModel:)","abstract":"Called when a cell is selected.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP011didDeselectD09viewModelyAA0d4ViewJ0_p_tF":{"name":"didDeselectCell(viewModel:)","abstract":"Called when a cell is deselected.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP24underlyingViewControllerSo06UIViewI0CSgvp":{"name":"underlyingViewController","abstract":"Returns the underlying view controller that owns the collection view for the cell.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorPAASo16UIViewControllerCRbzrlE014underlyingViewH0AESgvp":{"name":"underlyingViewController","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html":{"name":"CellEventCoordinator","abstract":"Conforming objects are responsible for handling various cell events.
"},"Protocols/CellViewModel.html":{"name":"CellViewModel","abstract":"Defines a view model that describes and configures a cell in the collection view.
"},"Protocols/DiffableViewModel.html":{"name":"DiffableViewModel","abstract":"Describes a view model that is uniquely identifiable and diffable.
"},"Protocols/SupplementaryFooterViewModel.html":{"name":"SupplementaryFooterViewModel","abstract":"Defines a view model that describes and configures a footer view"},"Protocols/SupplementaryHeaderViewModel.html":{"name":"SupplementaryHeaderViewModel","abstract":"
Defines a view model that describes and configures a header view"},"Protocols/SupplementaryViewModel.html":{"name":"SupplementaryViewModel","abstract":"
Defines a view model that describes and configures a supplementary view in a collection.
"},"Protocols/ViewRegistrationProvider.html":{"name":"ViewRegistrationProvider","abstract":"Provides registration information for a reusable view in a UICollectionView
.
Deselects all items that are selected.
","parent_name":"UICollectionView"},"Extensions.html#/s:s11AnyHashableV":{"name":"AnyHashable"},"Extensions/UICollectionView.html":{"name":"UICollectionView"},"Enums/ViewRegistrationViewType.html#/s:22ReactiveCollectionsKit016ViewRegistrationD4TypeO4cellyA2CmF":{"name":"cell","abstract":"Describes a cell.
","parent_name":"ViewRegistrationViewType"},"Enums/ViewRegistrationViewType.html#/s:22ReactiveCollectionsKit016ViewRegistrationD4TypeO13supplementaryyACSS_tcACmF":{"name":"supplementary(kind:)","abstract":"Describes a supplementary view.
","parent_name":"ViewRegistrationViewType"},"Enums/ViewRegistrationMethod.html#/s:22ReactiveCollectionsKit22ViewRegistrationMethodO9viewClassyACyXlXpcACmF":{"name":"viewClass(_:)","abstract":"Registration for a class-based view.
","parent_name":"ViewRegistrationMethod"},"Enums/ViewRegistrationMethod.html#/s:22ReactiveCollectionsKit22ViewRegistrationMethodO3nibyACSS_So8NSBundleCSgtcACmF":{"name":"nib(name:bundle:)","abstract":"Registration for a nib-based view.
","parent_name":"ViewRegistrationMethod"},"Enums/ViewRegistrationMethod.html":{"name":"ViewRegistrationMethod","abstract":"The method by which to register a view for reuse in a UICollectionView
.
Describes the type of view to be registered for reuse.
"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC9DidUpdatea":{"name":"DidUpdate","abstract":"A closure type used to notify callers of collection view updates.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC4viewSo012UICollectionE0Cvp":{"name":"view","abstract":"The collection view.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC7optionsAA0deF7OptionsVvp":{"name":"options","abstract":"A set of options to customize behavior of the driver.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC9viewModelAA0deH0Vvp":{"name":"viewModel","abstract":"The collection view model.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC06scrollE8DelegateSo08UIScrolleH0_pSgvp":{"name":"scrollViewDelegate","abstract":"The scroll view delegate to forward.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC4view0G5Model7options05emptyE8Provider20cellEventCoordinatorACSo012UICollectionE0C_AA0deH0VAA0deF7OptionsVAA05EmptyeK0VSgAA04CellmN0_pSgtcfc":{"name":"init(view:viewModel:options:emptyViewProvider:cellEventCoordinator:)","abstract":"Initializes a new CollectionViewDriver
.
The number of sections displayed by the collection view.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC13numberOfItems2inS2i_tF":{"name":"numberOfItems(in:)","abstract":"Returns the count of items in the specified section.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC6update9viewModel8animated10completionyAA0deI0V_SbyACScMYccSgtF":{"name":"update(viewModel:animated:completion:)","abstract":"Updates the collection with the provided viewModel
.","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC6update9viewModel8animatedyAA0deI0V_SbtYaF":{"name":"update(viewModel:animated:)","abstract":"
An async version of update(viewModel:animated:completion:)
.
Represents the main entry-point to the library, and underlying UICollectionView
components."},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file +{"Typealiases.html#/s:22ReactiveCollectionsKit16UniqueIdentifiera":{"name":"UniqueIdentifier","abstract":"The unique identifier type for a DiffableViewModel
.
Describes a kind of supplementary view.
"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"The view reuse identifier.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV8viewTypeAA0dedG0Ovp":{"name":"viewType","abstract":"The type of view to register.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV6methodAA0dE6MethodOvp":{"name":"method","abstract":"The view registration method.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier8viewType6methodACSS_AA0dedI0OAA0dE6MethodOtcfc":{"name":"init(reuseIdentifier:viewType:method:)","abstract":"Initializes a ViewRegistration
.
Convenience initializer for a class-based cell.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier11cellNibNameACSS_SStcfc":{"name":"init(reuseIdentifier:cellNibName:)","abstract":"Convenience initializer for a nib-based cell in the main bundle.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier013supplementaryD5Class4kindACSS_yXlXpSStcfc":{"name":"init(reuseIdentifier:supplementaryViewClass:kind:)","abstract":"Convenience initializer for a class-based supplementary view.
","parent_name":"ViewRegistration"},"Structs/ViewRegistration.html#/s:22ReactiveCollectionsKit16ViewRegistrationV15reuseIdentifier013supplementaryD7NibName4kindACSS_S2Stcfc":{"name":"init(reuseIdentifier:supplementaryViewNibName:kind:)","abstract":"Convenience initializer for a nib-based supplementary view in the main bundle.
","parent_name":"ViewRegistration"},"Structs/AnySupplementaryViewModel.html#/s:22ReactiveCollectionsKit25AnySupplementaryViewModelVyACxcAA0efG0Rzlufc":{"name":"init(_:)","abstract":"Initializes an AnySupplementaryViewModel
from the provided supplementary view model.
A unique id for this model.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV5cellsSayAA07AnyCelleF0VGvp":{"name":"cells","abstract":"The cells in the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV6headerAA016AnySupplementaryeF0VSgvp":{"name":"header","abstract":"The header for the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV6footerAA016AnySupplementaryeF0VSgvp":{"name":"footer","abstract":"The footer for the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV18supplementaryViewsSayAA016AnySupplementaryeF0VGvp":{"name":"supplementaryViews","abstract":"The supplementary views in the section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV21hasSupplementaryViewsSbvp":{"name":"hasSupplementaryViews","abstract":"Returns true
if the section has supplementary views, false
otherwise.
Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cellsACs11AnyHashableV_SayxGtcAA04CelleF0Rzlufc":{"name":"init(id:cells:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayAA0m4CelleF0VGxSgq_SgSayAA0m13SupplementaryeF0VGtcAA0p6HeadereF0RzAA0p6FootereF0R_r0_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGq_Sgq0_SgSayAA0m13SupplementaryeF0VGtcAA04CelleF0RzAA0o6HeadereF0R_AA0o6FootereF0R0_r1_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGAA0m13SupplementaryeF0VSgANSayq_GtcAA04CelleF0RzAA0oeF0R_r0_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV2id5cells6header6footer18supplementaryViewsACs11AnyHashableV_SayxGq_Sgq0_SgSayq1_GtcAA04CelleF0RzAA019SupplementaryHeadereF0R_AA0p6FootereF0R0_AA0peF0R1_r2_lufc":{"name":"init(id:cells:header:footer:supplementaryViews:)","abstract":"Initializes a section.
","parent_name":"SectionViewModel"},"Structs/SectionViewModel.html#/s:22ReactiveCollectionsKit16SectionViewModelV04celleF03forAA07AnyCelleF0VSgs0I8HashableV_tF":{"name":"cellViewModel(for:)","abstract":"Returns the cell for the specified id
.
Returns the supplementary view for the specified id
.
A closure that returns the view.
","parent_name":"EmptyViewProvider"},"Structs/EmptyViewProvider.html#/s:22ReactiveCollectionsKit17EmptyViewProviderV4viewSo6UIViewCvp":{"name":"view","abstract":"The empty view.
","parent_name":"EmptyViewProvider"},"Structs/EmptyViewProvider.html#/s:22ReactiveCollectionsKit17EmptyViewProviderVyACSo6UIViewCyccfc":{"name":"init(_:)","abstract":"Initializes an EmptyViewProvider
with the given closure.
Returns the empty collection view model.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV2ids11AnyHashableVvp":{"name":"id","abstract":"A unique id for this model.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV8sectionsSayAA07SectioneF0VGvp":{"name":"sections","abstract":"The sections in the collection.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV2id8sectionsACs11AnyHashableV_SayAA07SectioneF0VGtcfc":{"name":"init(id:sections:)","abstract":"Initializes a new CollectionViewModel
.
Returns the section for the specified id
.
Returns the section at the specified index.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV04celleF03forAA07AnyCelleF0VSgs0I8HashableV_tF":{"name":"cellViewModel(for:)","abstract":"Returns the cell for the specified id
.
Returns the cell at the specified index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV013supplementaryeF03forAA016AnySupplementaryeF0VSgs0I8HashableV_tF":{"name":"supplementaryViewModel(for:)","abstract":"Returns the supplementary view for the specified id
.
Returns the supplementary view for the specified kind and index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelVyAA07AnyCelleF0V10Foundation9IndexPathVcip":{"name":"subscript(_:)","abstract":"Returns the cell at the specified index path.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewModel.html#/s:22ReactiveCollectionsKit19CollectionViewModelV4item7sectionAA07AnyCelleF0VSi_Sitcip":{"name":"subscript(item:section:)","abstract":"Returns the cell at the specified indexes.
","parent_name":"CollectionViewModel"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV21diffOnBackgroundQueueSbvp":{"name":"diffOnBackgroundQueue","abstract":"Specifies whether or not to perform diffing on a background queue.","parent_name":"CollectionViewDriverOptions"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV021reloadDataOnReplacingE5ModelSbvp":{"name":"reloadDataOnReplacingViewModel","abstract":"
Specifies whether or not the CollectionViewDriver
should","parent_name":"CollectionViewDriverOptions"},"Structs/CollectionViewDriverOptions.html#/s:22ReactiveCollectionsKit27CollectionViewDriverOptionsV21diffOnBackgroundQueue010reloadDatai9ReplacingE5ModelACSb_Sbtcfc":{"name":"init(diffOnBackgroundQueue:reloadDataOnReplacingViewModel:)","abstract":"
Initializes a CollectionViewDriverOptions
object.
Initializes an AnyCellViewModel
from the provided cell view model.
A type-erased cell view model.
"},"Structs/CollectionViewDriverOptions.html":{"name":"CollectionViewDriverOptions","abstract":"Defines various options to customize behavior of a CollectionViewDriver
.
Represents a collection view with sections and items.
"},"Structs/EmptyViewProvider.html":{"name":"EmptyViewProvider","abstract":"Provides an “empty state” or “no content” view for the collection view.
"},"Structs/SectionViewModel.html":{"name":"SectionViewModel","abstract":"Represents a section of items in a collection.
"},"Structs/AnySupplementaryViewModel.html":{"name":"AnySupplementaryViewModel","abstract":"A type-erased supplementary view model.
"},"Structs/ViewRegistration.html":{"name":"ViewRegistration","abstract":"Describes all information needed to register a view for reuse with a UICollectionView
.
The view registration information.
","parent_name":"ViewRegistrationProvider"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP0E4TypeQa":{"name":"ViewType","abstract":"The type of view that this view model represents and configures.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP9configure4viewy0E4TypeQz_tF":{"name":"configure(view:)","abstract":"Configures the provided view for display in the collection.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP11willDisplayyyF":{"name":"willDisplay()","abstract":"Tells the view model that its supplementary view is about to be displayed in the collection view.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelP16didEndDisplayingyyF":{"name":"didEndDisplaying()","abstract":"
Tells the view model that its supplementary view was removed from the collection view.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE9viewClassyXlXpvp":{"name":"viewClass","abstract":"
The view class for this view model.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"A default reuse identifier for cell registration.","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryViewModel.html#/s:22ReactiveCollectionsKit22SupplementaryViewModelPAAE010eraseToAnyeF0AA0ideF0VyF":{"name":"eraseToAnyViewModel()","abstract":"
Returns a type-erased version of this view model.
","parent_name":"SupplementaryViewModel"},"Protocols/SupplementaryHeaderViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryHeaderViewModelP4kindSSvpZ":{"name":"kind","abstract":"The collection view header element kind.
","parent_name":"SupplementaryHeaderViewModel"},"Protocols/SupplementaryHeaderViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryHeaderViewModelPAAE12registrationAA0F12RegistrationVvp":{"name":"registration","abstract":"A default registration for this header view model for class-based views.
","parent_name":"SupplementaryHeaderViewModel"},"Protocols/SupplementaryFooterViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryFooterViewModelP4kindSSvpZ":{"name":"kind","abstract":"The collection view footer element kind.
","parent_name":"SupplementaryFooterViewModel"},"Protocols/SupplementaryFooterViewModel.html#/s:22ReactiveCollectionsKit28SupplementaryFooterViewModelPAAE12registrationAA0F12RegistrationVvp":{"name":"registration","abstract":"A default registration for this footer view model for class-based views.
","parent_name":"SupplementaryFooterViewModel"},"Protocols/DiffableViewModel.html#/s:22ReactiveCollectionsKit17DiffableViewModelP2ids11AnyHashableVvp":{"name":"id","abstract":"An identifier that uniquely identifies this instance.
","parent_name":"DiffableViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP0D4TypeQa":{"name":"CellType","abstract":"The type of cell that this view model represents and configures.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP12shouldSelectSbvp":{"name":"shouldSelect","abstract":"Returns whether or not the cell should get selected.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP14shouldDeselectSbvp":{"name":"shouldDeselect","abstract":"
Returns whether or not the cell should get deselected.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP15shouldHighlightSbvp":{"name":"shouldHighlight","abstract":"
Returns whether or not the cell should get highlighted.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP24contextMenuConfigurationSo09UIContexthI0CSgvp":{"name":"contextMenuConfiguration","abstract":"
Returns a context menu configuration for the cell.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP9configure4celly0D4TypeQz_tF":{"name":"configure(cell:)","abstract":"
Configures the provided cell for display in the collection.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP9didSelect4withyAA0D16EventCoordinator_pSg_tF":{"name":"didSelect(with:)","abstract":"Tells the view model that its cell was selected.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP11didDeselect4withyAA0D16EventCoordinator_pSg_tF":{"name":"didDeselect(with:)","abstract":"Tells the view model that its cell was deselected.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP11willDisplayyyF":{"name":"willDisplay()","abstract":"Tells the view model that its cell is about to be displayed in the collection view.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP16didEndDisplayingyyF":{"name":"didEndDisplaying()","abstract":"
Tells the view model that its cell was removed from the collection view.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP12didHighlightyyF":{"name":"didHighlight()","abstract":"
Tells the view model that its cell was highlighted.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelP14didUnhighlightyyF":{"name":"didUnhighlight()","abstract":"
Tells the view model that the highlight was removed from its cell.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE9cellClassyXlXpvp":{"name":"cellClass","abstract":"
The cell class for this view model.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE15reuseIdentifierSSvp":{"name":"reuseIdentifier","abstract":"A default reuse identifier for cell registration.","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE12registrationAA0E12RegistrationVvp":{"name":"registration","abstract":"
A default registration for this view model for class-based cells.
","parent_name":"CellViewModel"},"Protocols/CellViewModel.html#/s:22ReactiveCollectionsKit13CellViewModelPAAE010eraseToAnyeF0AA0ideF0VyF":{"name":"eraseToAnyViewModel()","abstract":"Returns a type-erased version of this view model.
","parent_name":"CellViewModel"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP09didSelectD09viewModelyAA0d4ViewJ0_p_tF":{"name":"didSelectCell(viewModel:)","abstract":"Called when a cell is selected.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP011didDeselectD09viewModelyAA0d4ViewJ0_p_tF":{"name":"didDeselectCell(viewModel:)","abstract":"Called when a cell is deselected.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorP24underlyingViewControllerSo06UIViewI0CSgvp":{"name":"underlyingViewController","abstract":"Returns the underlying view controller that owns the collection view for the cell.
","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html#/s:22ReactiveCollectionsKit20CellEventCoordinatorPAASo16UIViewControllerCRbzrlE014underlyingViewH0AESgvp":{"name":"underlyingViewController","parent_name":"CellEventCoordinator"},"Protocols/CellEventCoordinator.html":{"name":"CellEventCoordinator","abstract":"Conforming objects are responsible for handling various cell events.
"},"Protocols/CellViewModel.html":{"name":"CellViewModel","abstract":"Defines a view model that describes and configures a cell in the collection view.
"},"Protocols/DiffableViewModel.html":{"name":"DiffableViewModel","abstract":"Describes a view model that is uniquely identifiable and diffable.
"},"Protocols/SupplementaryFooterViewModel.html":{"name":"SupplementaryFooterViewModel","abstract":"Defines a view model that describes and configures a footer view"},"Protocols/SupplementaryHeaderViewModel.html":{"name":"SupplementaryHeaderViewModel","abstract":"
Defines a view model that describes and configures a header view"},"Protocols/SupplementaryViewModel.html":{"name":"SupplementaryViewModel","abstract":"
Defines a view model that describes and configures a supplementary view in a collection.
"},"Protocols/ViewRegistrationProvider.html":{"name":"ViewRegistrationProvider","abstract":"Provides registration information for a reusable view in a UICollectionView
.
Deselects all items that are selected.
","parent_name":"UICollectionView"},"Extensions.html#/s:s11AnyHashableV":{"name":"AnyHashable"},"Extensions/UICollectionView.html":{"name":"UICollectionView"},"Enums/ViewRegistrationViewType.html#/s:22ReactiveCollectionsKit016ViewRegistrationD4TypeO4cellyA2CmF":{"name":"cell","abstract":"Describes a cell.
","parent_name":"ViewRegistrationViewType"},"Enums/ViewRegistrationViewType.html#/s:22ReactiveCollectionsKit016ViewRegistrationD4TypeO13supplementaryyACSS_tcACmF":{"name":"supplementary(kind:)","abstract":"Describes a supplementary view.
","parent_name":"ViewRegistrationViewType"},"Enums/ViewRegistrationMethod.html#/s:22ReactiveCollectionsKit22ViewRegistrationMethodO9viewClassyACyXlXpcACmF":{"name":"viewClass(_:)","abstract":"Registration for a class-based view.
","parent_name":"ViewRegistrationMethod"},"Enums/ViewRegistrationMethod.html#/s:22ReactiveCollectionsKit22ViewRegistrationMethodO3nibyACSS_So8NSBundleCSgtcACmF":{"name":"nib(name:bundle:)","abstract":"Registration for a nib-based view.
","parent_name":"ViewRegistrationMethod"},"Enums/ViewRegistrationMethod.html":{"name":"ViewRegistrationMethod","abstract":"The method by which to register a view for reuse in a UICollectionView
.
Describes the type of view to be registered for reuse.
"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC9DidUpdatea":{"name":"DidUpdate","abstract":"A closure type used to notify callers of collection view updates.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC4viewSo012UICollectionE0Cvp":{"name":"view","abstract":"The collection view.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC7optionsAA0deF7OptionsVvp":{"name":"options","abstract":"A set of options to customize behavior of the driver.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC9viewModelAA0deH0Vvp":{"name":"viewModel","abstract":"The collection view model.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC06scrollE8DelegateSo08UIScrolleH0_pSgvp":{"name":"scrollViewDelegate","abstract":"A scroll view delegate object to receive forwarded events.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC18flowLayoutDelegateSo012UICollectionei4FlowH0_pSgvp":{"name":"flowLayoutDelegate","abstract":"A flow layout delegate object to receive forwarded events.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC4view0G5Model7options05emptyE8Provider20cellEventCoordinatorACSo012UICollectionE0C_AA0deH0VAA0deF7OptionsVAA05EmptyeK0VSgAA04CellmN0_pSgtcfc":{"name":"init(view:viewModel:options:emptyViewProvider:cellEventCoordinator:)","abstract":"Initializes a new CollectionViewDriver
.
The number of sections displayed by the collection view.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC13numberOfItems2inS2i_tF":{"name":"numberOfItems(in:)","abstract":"Returns the count of items in the specified section.
","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC6update9viewModel8animated10completionyAA0deI0V_SbyACScMYccSgtF":{"name":"update(viewModel:animated:completion:)","abstract":"Updates the collection with the provided viewModel
.","parent_name":"CollectionViewDriver"},"Classes/CollectionViewDriver.html#/s:22ReactiveCollectionsKit20CollectionViewDriverC6update9viewModel8animatedyAA0deI0V_SbtYaF":{"name":"update(viewModel:animated:)","abstract":"
An async version of update(viewModel:animated:completion:)
.
Represents the main entry-point to the library, and underlying UICollectionView
components."},"Classes.html":{"name":"Classes","abstract":"
The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}} \ No newline at end of file