diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..00cc314 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ + +language: objective-c +osx_image: xcode9.3 +os: osx +script: xcodebuild clean && xcodebuild test -project CollectionView.xcodeproj -scheme CollectionViewTests \ No newline at end of file diff --git a/CollectionView.xcodeproj/project.pbxproj b/CollectionView.xcodeproj/project.pbxproj index 365b571..8a1a698 100644 --- a/CollectionView.xcodeproj/project.pbxproj +++ b/CollectionView.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 1C2DC5171E329CA000EBC234 /* IndexedSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C2DC5161E329CA000EBC234 /* IndexedSet.swift */; }; 1C6E50851E2D9C2A00C85946 /* ResultsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6E50821E2D9C2A00C85946 /* ResultsController.swift */; }; + 1CB3A3D02075651900A2AB9B /* ReaultionalRCTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CB3A3CF2075651900A2AB9B /* ReaultionalRCTests.swift */; }; 1CC05C221FF6F564001E6936 /* MutableResultsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CC05C211FF6F564001E6936 /* MutableResultsController.swift */; }; DE13C18B1E4CE46100CEC80C /* ManagedObjectContextObservationCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE13C18A1E4CE46100CEC80C /* ManagedObjectContextObservationCoordinator.swift */; }; DE297DE01E6A8B5400AAFC2A /* SupplementaryViewIdentifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE297DDF1E6A8B5400AAFC2A /* SupplementaryViewIdentifier.swift */; }; @@ -29,14 +30,14 @@ DE98600B1E6F956100B6A3EC /* FetchedSetController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE98600A1E6F956100B6A3EC /* FetchedSetController.swift */; }; DE9A6220203782F100210035 /* MRCValueTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE9A621F203782F100210035 /* MRCValueTests.swift */; }; DE9A6222203CBE7200210035 /* SectionInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE9A6221203CBE7200210035 /* SectionInfo.swift */; }; - DE9A6224203CE8CC00210035 /* FRCTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE90669E2034E5F8007B73E7 /* FRCTests.swift */; }; + DE9A6224203CE8CC00210035 /* FetchedRCTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE90669E2034E5F8007B73E7 /* FetchedRCTests.swift */; }; DE9A6226203D1B9500210035 /* CoreDataResultsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C6E50811E2D9C2A00C85946 /* CoreDataResultsController.swift */; }; DE9A6228203E6B8900210035 /* MRCObjectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE9A6227203E6B8900210035 /* MRCObjectTests.swift */; }; DEA638B1200874950023F2BD /* SelectionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEA638B0200874950023F2BD /* SelectionTests.swift */; }; DEA638B3200874950023F2BD /* CollectionView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DE9071E91CAC7FD800AD0E37 /* CollectionView.framework */; }; DEA6BA631D52E00900B3EF24 /* CollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEA6BA621D52E00900B3EF24 /* CollectionViewController.swift */; }; DEAFE2A71E41655C00FCF9C6 /* OrderedSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEAFE2A61E41655C00FCF9C6 /* OrderedSet.swift */; }; - DEB0F4401E4105D100C2260B /* DelegateChangeSets.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB0F43F1E4105D100C2260B /* DelegateChangeSets.swift */; }; + DEB0F4401E4105D100C2260B /* CollectionViewProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB0F43F1E4105D100C2260B /* CollectionViewProvider.swift */; }; DEB3AC25204DB90A00E18358 /* CVProxyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB3AC24204DB90A00E18358 /* CVProxyTests.swift */; }; DEB4D5631E64EEC00044026F /* CollectionViewFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = DECA70CB1D8751010006D795 /* CollectionViewFlowLayout.swift */; }; DEB7366A1E8599E7008467F8 /* CollectionViewPreviewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEB736671E8599E7008467F8 /* CollectionViewPreviewController.swift */; }; @@ -67,8 +68,10 @@ 1C2DC5161E329CA000EBC234 /* IndexedSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IndexedSet.swift; sourceTree = ""; }; 1C6E50811E2D9C2A00C85946 /* CoreDataResultsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CoreDataResultsController.swift; sourceTree = ""; }; 1C6E50821E2D9C2A00C85946 /* ResultsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResultsController.swift; sourceTree = ""; }; + 1CB3A3CF2075651900A2AB9B /* ReaultionalRCTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReaultionalRCTests.swift; sourceTree = ""; }; 1CC05C211FF6F564001E6936 /* MutableResultsController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MutableResultsController.swift; sourceTree = ""; }; DE13C18A1E4CE46100CEC80C /* ManagedObjectContextObservationCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ManagedObjectContextObservationCoordinator.swift; sourceTree = ""; }; + DE1EE9A42072B00B00B76FE2 /* CollapsableCollectionViewProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollapsableCollectionViewProvider.swift; sourceTree = ""; }; DE297DDF1E6A8B5400AAFC2A /* SupplementaryViewIdentifier.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SupplementaryViewIdentifier.swift; sourceTree = ""; }; DE35BE1E20376FCC008FEF6F /* SortDescriptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SortDescriptor.swift; sourceTree = ""; }; DE3E47551E4259B800F19D9E /* EditDistance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EditDistance.swift; sourceTree = ""; }; @@ -83,7 +86,7 @@ DE82E95D1D78BFC900346B9E /* Constants.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; DE8B448920337DC100F16614 /* OrderedSetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderedSetTests.swift; sourceTree = ""; }; DE8B448B2033903500F16614 /* IndexedSetTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndexedSetTests.swift; sourceTree = ""; }; - DE90669E2034E5F8007B73E7 /* FRCTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FRCTests.swift; sourceTree = ""; }; + DE90669E2034E5F8007B73E7 /* FetchedRCTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FetchedRCTests.swift; sourceTree = ""; }; DE9071E91CAC7FD800AD0E37 /* CollectionView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CollectionView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; DE9071EC1CAC7FD800AD0E37 /* CollectionView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CollectionView.h; sourceTree = ""; }; DE9071EE1CAC7FD800AD0E37 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -104,7 +107,7 @@ DEA638B2200874950023F2BD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DEA6BA621D52E00900B3EF24 /* CollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewController.swift; sourceTree = ""; }; DEAFE2A61E41655C00FCF9C6 /* OrderedSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OrderedSet.swift; sourceTree = ""; }; - DEB0F43F1E4105D100C2260B /* DelegateChangeSets.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DelegateChangeSets.swift; sourceTree = ""; }; + DEB0F43F1E4105D100C2260B /* CollectionViewProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewProvider.swift; sourceTree = ""; }; DEB3AC24204DB90A00E18358 /* CVProxyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CVProxyTests.swift; sourceTree = ""; }; DEB736671E8599E7008467F8 /* CollectionViewPreviewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewPreviewController.swift; sourceTree = ""; }; DEB736681E8599E7008467F8 /* CollectionViewPreviewLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewPreviewLayout.swift; sourceTree = ""; }; @@ -139,7 +142,8 @@ isa = PBXGroup; children = ( 1C6E50821E2D9C2A00C85946 /* ResultsController.swift */, - DEB0F43F1E4105D100C2260B /* DelegateChangeSets.swift */, + DEB0F43F1E4105D100C2260B /* CollectionViewProvider.swift */, + DE1EE9A42072B00B00B76FE2 /* CollapsableCollectionViewProvider.swift */, DE9A6221203CBE7200210035 /* SectionInfo.swift */, 1CC05C211FF6F564001E6936 /* MutableResultsController.swift */, 1C6E50811E2D9C2A00C85946 /* CoreDataResultsController.swift */, @@ -237,7 +241,8 @@ DEB3AC24204DB90A00E18358 /* CVProxyTests.swift */, DE8B448920337DC100F16614 /* OrderedSetTests.swift */, DE8B448B2033903500F16614 /* IndexedSetTests.swift */, - DE90669E2034E5F8007B73E7 /* FRCTests.swift */, + DE90669E2034E5F8007B73E7 /* FetchedRCTests.swift */, + 1CB3A3CF2075651900A2AB9B /* ReaultionalRCTests.swift */, DE9A621F203782F100210035 /* MRCValueTests.swift */, DE9A6227203E6B8900210035 /* MRCObjectTests.swift */, DEA638B2200874950023F2BD /* Info.plist */, @@ -312,7 +317,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0920; + LastUpgradeCheck = 0930; ORGANIZATIONNAME = "Noun Project"; TargetAttributes = { DE9071E81CAC7FD800AD0E37 = { @@ -369,7 +374,7 @@ DE9A6226203D1B9500210035 /* CoreDataResultsController.swift in Sources */, DE82E95C1D78BF9300346B9E /* Protocols.swift in Sources */, DEB4D5631E64EEC00044026F /* CollectionViewFlowLayout.swift in Sources */, - DEB0F4401E4105D100C2260B /* DelegateChangeSets.swift in Sources */, + DEB0F4401E4105D100C2260B /* CollectionViewProvider.swift in Sources */, DE98600B1E6F956100B6A3EC /* FetchedSetController.swift in Sources */, DEE3B5851D246CB100AD34F1 /* CollectionViewListLayout.swift in Sources */, DEB7366A1E8599E7008467F8 /* CollectionViewPreviewController.swift in Sources */, @@ -406,7 +411,8 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - DE9A6224203CE8CC00210035 /* FRCTests.swift in Sources */, + DE9A6224203CE8CC00210035 /* FetchedRCTests.swift in Sources */, + 1CB3A3D02075651900A2AB9B /* ReaultionalRCTests.swift in Sources */, DE9A6228203E6B8900210035 /* MRCObjectTests.swift in Sources */, DE8B448A20337DC100F16614 /* OrderedSetTests.swift in Sources */, DEB3AC25204DB90A00E18358 /* CVProxyTests.swift in Sources */, @@ -440,12 +446,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -495,12 +503,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -526,6 +536,7 @@ MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; diff --git a/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionView.xcscheme b/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionView.xcscheme index cdd58ef..cb415ec 100644 --- a/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionView.xcscheme +++ b/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionView.xcscheme @@ -1,6 +1,6 @@ @@ -39,7 +38,6 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" enableThreadSanitizer = "YES" enableUBSanitizer = "YES" - language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionViewTests.xcscheme b/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionViewTests.xcscheme index 662a302..d1f084f 100644 --- a/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionViewTests.xcscheme +++ b/CollectionView.xcodeproj/xcshareddata/xcschemes/CollectionViewTests.xcscheme @@ -1,16 +1,32 @@ + + + + + + + + + + diff --git a/CollectionView/CollapsableCollectionViewProvider.swift b/CollectionView/CollapsableCollectionViewProvider.swift new file mode 100644 index 0000000..5a0ea3a --- /dev/null +++ b/CollectionView/CollapsableCollectionViewProvider.swift @@ -0,0 +1,103 @@ +// +// CollapsableCollectionViewProvider.swift +// CollectionView +// +// Created by Wesley Byrne on 4/2/18. +// Copyright © 2018 Noun Project. All rights reserved. +// + +import Foundation + + +public class CollapsableCollectionViewProvider : CollectionViewResultsProxy { + + /// When set as the delegate + public unowned let collectionView : CollectionView + public unowned let resultsController : ResultsController + public weak var delegate: CollectionViewProviderDelegate? + + /// The last known section count of real data + private var sectionCount = 0 + + public init(_ collectionView: CollectionView, resultsController: ResultsController) { + self.collectionView = collectionView + self.resultsController = resultsController + self.sectionCount = resultsController.numberOfSections + super.init() + self.resultsController.delegate = self + } + + /** + If true, a cell will be inserted when a section becomes empty + + ## Discussion + When displaying sections within a CollectionView, it can be helpful to fill empty sections with a placholder cell. This causes an issue when responding to updates from a results controller. For example, when an object is inserted into an empty section, the results controller will report a single insert change. The CollectionView though would need to remove the exisitng cell AND insert the new one. + + Setting hasEmptySectionPlaceholders to true, will report changes as such, making it easy to propagate the reported changes to a CollectionView. + + */ + public var populateEmptySections = false + + /** + If true, a cell will be inserted when a collection view becomes completely empty + + ## Discussion + When displaying sections within a CollectionView, it can be helpful to display a cell representing the empty state. This causes an issue when responding to updates from a results controller. For example, when the last section is removed from a data source (i.e. ResultsController), the controller will report a single remove change. The CollectionView though would need to remove those cells AND insert the new one to act as the palceholder. + + Setting populateWhenEmpty to true, will report changes as such, making it easy to propagate the reported changes to a CollectionView. + + */ + public var populateWhenEmpty = false + + + +} + +// MARK: - Results Controller Delegate +/*-------------------------------------------------------------------------------*/ +extension CollapsableCollectionViewProvider : ResultsControllerDelegate { + + public func controllerDidLoadContent(controller: ResultsController) { + self.sectionCount = controller.numberOfSections + } + + public func controllerWillChangeContent(controller: ResultsController) { + self.prepareForUpdates() + self.delegate?.providerWillChangeContent(self) + } + + public func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType) { + self.delegate?.provider(self, didUpdateItem: object, at: indexPath, for: changeType) + self.addChange(forItemAt: indexPath, with: changeType) + } + + public func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType) { + self.delegate?.provider(self, didUpdateSection: section, at: indexPath, for: changeType) + self.addChange(forSectionAt: indexPath, with: changeType) + } + + public func controllerDidChangeContent(controller: ResultsController) { + defer { + self.sectionCount = controller.numberOfSections + } + if self.populateWhenEmpty { + let isEmpty = controller.numberOfSections == 0 + let wasEmpty = self.sectionCount == 0 + if !wasEmpty && isEmpty { + // populate + self.addChange(forSectionAt: nil, with: .insert(IndexPath.zero)) + } + else if wasEmpty && !isEmpty { + // Remove placeholder + self.addChange(forSectionAt: IndexPath.zero, with: .delete) + } + } + else if self.populateEmptySections && controller.numberOfSections > 0 { + + } + let completion = self.delegate?.providerDidChangeContent(self) + self.collectionView.applyChanges(from: self, completion: completion) + } +} + + diff --git a/CollectionView/CollectionView.swift b/CollectionView/CollectionView.swift index ef1dd11..dfb5d9b 100644 --- a/CollectionView/CollectionView.swift +++ b/CollectionView/CollectionView.swift @@ -1054,7 +1054,7 @@ open class CollectionView : ScrollView, NSDraggingSource { guard indexPaths.count > 0 else { return } self.beginEditing() self._updateContext.items.inserted.formUnion(indexPaths) -// self._insertItems(at: indexPaths) + self.endEditing(animated) } @@ -1123,11 +1123,18 @@ open class CollectionView : ScrollView, NSDraggingSource { var inserted = Set() var deleted = Set() var moved = IndexedSet() + var isEmpty : Bool { + return deleted.isEmpty && inserted.isEmpty && moved.isEmpty + } } private struct SectionTracker { var deleted = IndexSet() // Original Indexes for deleted sections var inserted = IndexSet() // Destination Indexes for inserted sections var moved = IndexedSet() // Source and Destination indexes for moved sections + + var isEmpty : Bool { + return deleted.isEmpty && inserted.isEmpty && moved.isEmpty + } } private class SectionValidator : Equatable, CustomStringConvertible { @@ -1259,6 +1266,10 @@ open class CollectionView : ScrollView, NSDraggingSource { } _editing = 0 + guard !self._updateContext.items.isEmpty || !self._updateContext.sections.isEmpty else { + completion?(true) + return + } let oldData = self.sections self._reloadDataCounts() @@ -1354,41 +1365,42 @@ open class CollectionView : ScrollView, NSDraggingSource { doLayoutPrep() // Update selections - self._selectedIndexPaths = Set(self._selectedIndexPaths.flatMap { (ip) -> IndexPath? in + self._selectedIndexPaths = Set(self._selectedIndexPaths.compactMap { (ip) -> IndexPath? in return indexPath(for: ip) }) - - var updateViewIndex = [SupplementaryViewIdentifier:CollectionReusableView]() - var updatedCellIndex = IndexedSet() - // Update the supplementary views - for (id, view) in self.contentDocumentView.preparedSupplementaryViewIndex { - guard let ip = id.indexPath else { - log.error("Collection View Error: A supplemenary view identifier has a nil indexPath when trying to adjust views") - continue - } - - guard let newSection = section(for: ip._section) else { - // The section was deleted - if let attrs = view.attributes { - _updateContext.updates.append(ItemUpdate(view: view, attrs: attrs, type: .remove, identifier: id)) + if self._updateContext.sections.isEmpty == false { + var updateViewIndex = [SupplementaryViewIdentifier:CollectionReusableView]() + for (id, view) in self.contentDocumentView.preparedSupplementaryViewIndex { + guard let ip = id.indexPath else { + log.error("Collection View Error: A supplemenary view identifier has a nil indexPath when trying to adjust views") + continue + } + + guard let newSection = section(for: ip._section) else { + // The section was deleted + if let attrs = view.attributes { + _updateContext.updates.append(ItemUpdate(view: view, attrs: attrs, type: .remove, identifier: id)) + } + continue + } + if ip._section == newSection { + // No changes + updateViewIndex[id] = view + } + else { + let newIP = IndexPath.for(section: newSection) + let newID = id.copy(with: newIP) + updateViewIndex[newID] = view + _updateContext.updates.append(ItemUpdate(view: view, indexPath: newIP, type: .update, identifier: newID)) } - continue - } - if ip._section == newSection { - // No changes - updateViewIndex[id] = view - } - else { - let newIP = IndexPath.for(section: newSection) - let newID = id.copy(with: newIP) - updateViewIndex[newID] = view - _updateContext.updates.append(ItemUpdate(view: view, indexPath: newIP, type: .update, identifier: newID)) } + self.contentDocumentView.preparedSupplementaryViewIndex = updateViewIndex } + var updatedCellIndex = IndexedSet() for (currentIP, cell) in self.contentDocumentView.preparedCellIndex { guard let ip = indexPath(for: currentIP) else { @@ -1409,7 +1421,6 @@ open class CollectionView : ScrollView, NSDraggingSource { self.contentDocumentView.pendingUpdates = _updateContext.updates self.contentDocumentView.preparedCellIndex = updatedCellIndex - self.contentDocumentView.preparedSupplementaryViewIndex = updateViewIndex self._reloadLayout(animated, scrollPosition: .none, completion: completion, needsRecalculation: false) } @@ -1583,7 +1594,7 @@ open class CollectionView : ScrollView, NSDraggingSource { open override func keyDown(with theEvent: NSEvent) { repeatKey = theEvent.isARepeat - if Set([123,124,125,126]).contains(theEvent.keyCode) { + if Set([123,124,125,126]).contains(Int(theEvent.keyCode)) { if theEvent.isARepeat && keySelectInterval > 0 { if let t = lastEventTime , (CACurrentMediaTime() - t) < keySelectInterval { diff --git a/CollectionView/CollectionViewDocumentView.swift b/CollectionView/CollectionViewDocumentView.swift index fdb467a..aeabbd6 100644 --- a/CollectionView/CollectionViewDocumentView.swift +++ b/CollectionView/CollectionViewDocumentView.swift @@ -243,7 +243,7 @@ final public class CollectionViewDocumentView : NSView { else { removedRect = removedRect.union(cell.frame) } cell.layer?.zPosition = 0 - if animated && !animating, let attrs = self.collectionView.layoutAttributesForItem(at: ip) ?? cell.attributes { + if animated, let attrs = self.collectionView.layoutAttributesForItem(at: ip) ?? cell.attributes { self.preparedCellIndex[ip] = nil updates.append(ItemUpdate(cell: cell, attrs: attrs, type: .remove)) } @@ -324,7 +324,7 @@ final public class CollectionViewDocumentView : NSView { view.layer?.zPosition = -100 - if animated && !animating, var attrs = self.collectionView.collectionViewLayout.layoutAttributesForSupplementaryView(ofKind: identifier.kind, at: identifier.indexPath!) ?? view.attributes { + if animated, var attrs = self.collectionView.collectionViewLayout.layoutAttributesForSupplementaryView(ofKind: identifier.kind, at: identifier.indexPath!) ?? view.attributes { if attrs.floating == true { if view.superview != self.collectionView._floatingSupplementaryView { view.removeFromSuperview() @@ -407,7 +407,6 @@ final public class CollectionViewDocumentView : NSView { view.removeFromSuperview() self.collectionView.contentDocumentView.addSubview(view) } -// log.debug(attrs) updates.append(ItemUpdate(view: view, attrs: attrs, type: .update, identifier: id)) } } @@ -415,23 +414,14 @@ final public class CollectionViewDocumentView : NSView { return (_rect, updates) } - var animating = false - var hasPendingAnimations : Bool = false - var disableAnimationTimer : Timer? internal func applyUpdates(_ updates: Set, animated: Bool, completion: AnimationCompletion?) { let _updates = updates -// for u in _updates { -// log.debug("\(u.view.attributes?.indexPath.description ?? "[?, ?]") - \(u.type) - is view\(u.view)") -// } - if animated && !animating { + if animated { let _animDuration = self.collectionView.animationDuration - - self.animating = true - - // Dispatch to allow frame changes from reloadLayout() to apply before - // beginning the animations + + // Dispatch to allow frame changes from reloadLayout() to apply before beginning the animations DispatchQueue.main.async { [unowned self] in var removals = [ItemUpdate]() NSAnimationContext.runAnimationGroup({ (context) -> Void in @@ -451,20 +441,12 @@ final public class CollectionViewDocumentView : NSView { } } }) { () -> Void in - if self.disableAnimationTimer == nil { - self.animating = false - } self.finishRemovals(removals) completion?(true) } } } else { - if animated { - disableAnimationTimer?.invalidate() - disableAnimationTimer = Timer.scheduledTimer(timeInterval: collectionView.animationDuration, target: self, selector: #selector(enableAnimations), userInfo: nil, repeats: false) - animating = true - } for item in _updates { if item.type == .remove { removeItem(item) @@ -480,12 +462,6 @@ final public class CollectionViewDocumentView : NSView { completion?(!animated) } } - @objc func enableAnimations() { - animating = false - disableAnimationTimer?.invalidate() - disableAnimationTimer = nil - } - fileprivate func finishRemovals(_ removals: [ItemUpdate]) { for item in removals { diff --git a/CollectionView/DelegateChangeSets.swift b/CollectionView/CollectionViewProvider.swift similarity index 58% rename from CollectionView/DelegateChangeSets.swift rename to CollectionView/CollectionViewProvider.swift index a417f25..41a03e2 100644 --- a/CollectionView/DelegateChangeSets.swift +++ b/CollectionView/CollectionViewProvider.swift @@ -18,8 +18,8 @@ public struct ResultsChangeSet { } /// A Helper to public class CollectionViewResultsProxy { - var items = ItemChangeSet() - var sections = SectionChangeSet() + var itemUpdates = ItemChangeSet() + var sectionUpdates = SectionChangeSet() /** @@ -30,7 +30,7 @@ public class CollectionViewResultsProxy { */ public func addChange(forItemAt source: IndexPath?, with changeType: ResultsControllerChangeType) { - items.addChange(forItemAt: source, with: changeType) + itemUpdates.addChange(forItemAt: source, with: changeType) } @@ -43,15 +43,15 @@ public class CollectionViewResultsProxy { */ public func addChange(forSectionAt source: IndexPath?, with changeType: ResultsControllerChangeType) { - sections.addChange(forSectionAt: source, with: changeType) + sectionUpdates.addChange(forSectionAt: source, with: changeType) } public func didInsertSection(at indexPath: IndexPath) -> Bool { - return self.sections.inserted.contains(indexPath._section) + return self.sectionUpdates.inserted.contains(indexPath._section) } public func didInsertObject(at indexPath: IndexPath) -> Bool { - return self.items.inserted.contains(indexPath) + return self.itemUpdates.inserted.contains(indexPath) } /// The count of changes in the set @@ -59,16 +59,16 @@ public class CollectionViewResultsProxy { return itemChangeCount + sectionChangeCount } public var itemChangeCount : Int { - return items.count + return itemUpdates.count } public var sectionChangeCount : Int { - return sections.count + return sectionUpdates.count } public func prepareForUpdates() { - items.reset() - sections.reset() + itemUpdates.reset() + sectionUpdates.reset() } /** @@ -78,13 +78,13 @@ public class CollectionViewResultsProxy { */ public func union(with other: CollectionViewResultsProxy) { - self.items.inserted.formUnion(other.items.inserted) - self.items.deleted.formUnion(other.items.deleted) - self.items.updated.formUnion(other.items.updated) + self.itemUpdates.inserted.formUnion(other.itemUpdates.inserted) + self.itemUpdates.deleted.formUnion(other.itemUpdates.deleted) + self.itemUpdates.updated.formUnion(other.itemUpdates.updated) - self.sections.inserted.formUnion(other.sections.inserted) - self.sections.deleted.formUnion(other.sections.deleted) - self.sections.updated.formUnion(other.sections.updated) + self.sectionUpdates.inserted.formUnion(other.sectionUpdates.inserted) + self.sectionUpdates.deleted.formUnion(other.sectionUpdates.deleted) + self.sectionUpdates.updated.formUnion(other.sectionUpdates.updated) } } @@ -148,8 +148,77 @@ public class CollectionViewProvider : CollectionViewResultsProxy { */ public var populateWhenEmpty = false - - + + private class Section : Equatable, CustomStringConvertible { + var source : Int? + var target: Int? + var dataCount : Int = 0 + var displayCount : Int = 0 + + init(source: Int?, target: Int?, dataCount: Int, displayCount: Int) { + self.source = source + self.target = target + self.dataCount = dataCount + self.displayCount = displayCount + } + + static func ==(lhs: CollectionViewProvider.Section, + rhs: CollectionViewProvider.Section) -> Bool { + return lhs.source == rhs.source && lhs.target == rhs.target + } + var description: String { + return "Source: \(source ?? -1) Target: \(self.target ?? -1) Count: \(self.dataCount)" + } + + } + + private var sections = [Section]() + var collapsedSections = Set() + public var defaultCollapse : Bool = false + + public override func prepareForUpdates() { + super.prepareForUpdates() + sections = (0.. Bool { + return collapsedSections.contains(index) + } + + public func collapseSection(at sectionIndex: Int, animated: Bool) { + guard !collapsedSections.contains(sectionIndex) else { return } + let ips = (0.. 0 else { return 1 // Must be populated empty state } + if self.collapsedSections.contains(section) { + return 0 + } let count = resultsController.numberOfObjects(in: section) if count == 0 && self.populateEmptySections { return 1 @@ -194,6 +266,9 @@ extension CollectionViewProvider : ResultsControllerDelegate { public func controllerDidLoadContent(controller: ResultsController) { self.sectionCount = controller.numberOfSections + if defaultCollapse { + self.collapsedSections = Set(0.. 0 || sectionChangeCount > 0 else { + return + } + + let target = processSections() + + // If any of the sections are collapsed we may need to adjust some of the edits + if (!self.collapsedSections.isEmpty || self.defaultCollapse) { + var _collapsed = Set() + for sec in target { + if let s = sec?.source, self.collapsedSections.contains(s), + let t = sec?.target { + _collapsed.insert(t) + } + else if defaultCollapse, sec?.source == nil, let t = sec?.target { + _collapsed.insert(t) + } + } + + // Ignore deletes for collapsed sections + self.itemUpdates.deleted = self.itemUpdates.deleted.filter { + return !self.collapsedSections.contains($0._section) + } + // Ignore inserts for collapsed sections + self.itemUpdates.inserted = self.itemUpdates.inserted.filter { + return !_collapsed.contains($0._section) + } + + // Ignore inserts for collapsed sections + var _moves = [ItemChangeSet.Move]() + for m in self.itemUpdates.moved { + let sourceCollapsed = collapsedSections.contains(m.source._section) + let targetCollapsed = _collapsed.contains(m.destination._section) + + if sourceCollapsed && !targetCollapsed { + self.itemUpdates.inserted.insert(m.destination) + } + else if !sourceCollapsed && targetCollapsed { + self.itemUpdates.deleted.insert(m.source) + } + else if !sourceCollapsed && !targetCollapsed { + _moves.append(m) + } + // If both are collapsed, drop the update + } + self.itemUpdates.moved = _moves + + // Set the new collapsed sections + self.collapsedSections = _collapsed + } + + let isEmpty = controller.numberOfSections == 0 + let wasEmpty = self.sectionCount == 0 + + if self.populateWhenEmpty && isEmpty != wasEmpty { + if !wasEmpty && isEmpty { // populate self.addChange(forSectionAt: nil, with: .insert(IndexPath.zero)) @@ -228,12 +356,62 @@ extension CollectionViewProvider : ResultsControllerDelegate { } } else if self.populateEmptySections && controller.numberOfSections > 0 { - + for sec in target { + if let s = sec, s.source != nil, let t = s.target, !collapsedSections.contains(t) { + let _isEmpty = controller.numberOfObjects(in: t) == 0 + let _wasEmpty = s.dataCount == 0 + if !_wasEmpty && _isEmpty { + // populate + self.addChange(forItemAt: nil, with: .insert(IndexPath.for(section: t))) + } + else if _wasEmpty && !_isEmpty { + // Remove placeholder + self.addChange(forItemAt: IndexPath.for(section: t), with: .delete) + } + } + } } let completion = self.delegate?.providerDidChangeContent(self) self.collectionView.applyChanges(from: self, completion: completion) } + private func processSections() -> [Section?] { + var source = self.sections + var target = [Section?](repeatElement(nil, count: resultsController.numberOfSections)) + + // Populate target with inserted + for s in sectionUpdates.inserted { + target[s] = Section(source: nil, + target: s, + dataCount: resultsController.numberOfObjects(in: s), + displayCount: 0) + } + + // The things in source that we want to ignore beow + var transferred = sectionUpdates.deleted + + // Populate target with moved + for m in sectionUpdates.moved { + transferred.insert(m.0) + source[m.0].target = m.1 + target[m.1] = source[m.0] + } + + // Insert the remaining sections from source that are carrying over (not deleted) + // After this target should be fully populated + var idx = 0 + func incrementInsert() { + while idx < target.count && target[idx] != nil { + idx += 1 + } + } + for section in source where !transferred.contains(section.source!) { + incrementInsert() + section.target = idx + target[idx] = section + } + return target + } } @@ -246,6 +424,9 @@ extension CollectionViewResultsProxy { } + + + struct ItemChangeSet { typealias Move = (source: IndexPath, destination: IndexPath) @@ -336,8 +517,8 @@ public extension CollectionView { } self.performBatchUpdates({ - _applyChanges(changeSet.items) - _applyChanges(changeSet.sections) + _applyChanges(changeSet.itemUpdates) + _applyChanges(changeSet.sectionUpdates) }, completion: completion) } diff --git a/CollectionView/CoreDataResultsController.swift b/CollectionView/CoreDataResultsController.swift index ff343f9..4c4c126 100644 --- a/CollectionView/CoreDataResultsController.swift +++ b/CollectionView/CoreDataResultsController.swift @@ -344,7 +344,7 @@ public class RelationalResultsController? /** @@ -367,9 +367,9 @@ public class RelationalResultsController(old: T, new: T) -> [Edit] where T.Iterator.Element:Hashable, T.Index == Int, T.IndexDistance == Int + func diff(old: T, new: T) -> [Edit] where T.Iterator.Element:Hashable, T.Index == Int } extension DiffAware { - func preprocess(old: T, new: T) -> [Edit]? where T.Iterator.Element:Hashable, T.Index == Int, T.IndexDistance == Int { + func preprocess(old: T, new: T) -> [Edit]? where T.Iterator.Element:Hashable, T.Index == Int { switch (old.isEmpty, new.isEmpty) { case (true, true): // empty diff --git a/CollectionView/DataStructures/EditDistance/EditDistance.swift b/CollectionView/DataStructures/EditDistance/EditDistance.swift index eab8c5f..de1eeca 100644 --- a/CollectionView/DataStructures/EditDistance/EditDistance.swift +++ b/CollectionView/DataStructures/EditDistance/EditDistance.swift @@ -177,7 +177,7 @@ public struct EditOperationIndex { -public struct EditDistance where T.Iterator.Element: Hashable, T.IndexDistance == Int, T.Index == Int { +public struct EditDistance where T.Iterator.Element: Hashable, T.Index == Int { public typealias Element = T.Iterator.Element diff --git a/CollectionView/DataStructures/EditDistance/Heckel.swift b/CollectionView/DataStructures/EditDistance/Heckel.swift index d0a199e..b6bfe80 100755 --- a/CollectionView/DataStructures/EditDistance/Heckel.swift +++ b/CollectionView/DataStructures/EditDistance/Heckel.swift @@ -63,7 +63,7 @@ public final class Heckel: DiffAware { public init() {} - public func diff(old: T, new: T) -> [Edit] where T : Collection, T.Element : Hashable, T.Index == Int, T.IndexDistance == Int { + public func diff(old: T, new: T) -> [Edit] where T : Collection, T.Element : Hashable, T.Index == Int { // The Symbol Table // Each line works as the key in the table look-up, i.e. as table[line]. var table: [T.Element: TableEntry] = [:] @@ -82,7 +82,7 @@ public final class Heckel: DiffAware { private func perform1stPass( new: T, table: inout [T.Element: TableEntry], - newArray: inout [ArrayEntry]) where T : Collection, T.Index == Int, T.IndexDistance == Int { + newArray: inout [ArrayEntry]) where T : Collection, T.Index == Int { // 1st pass // a. Each line i of file N is read in sequence @@ -104,7 +104,7 @@ public final class Heckel: DiffAware { private func perform2ndPass( old: T, table: inout [T.Element: TableEntry], - oldArray: inout [ArrayEntry]) where T : Collection, T.Index == Int, T.IndexDistance == Int { + oldArray: inout [ArrayEntry]) where T : Collection, T.Index == Int { // 2nd pass // Similar to first pass, except it acts on files @@ -185,7 +185,7 @@ public final class Heckel: DiffAware { new: T, old: T, newArray: [ArrayEntry], - oldArray: [ArrayEntry]) -> [Edit] where T : Collection, T.Element : Hashable, T.Index == Int, T.IndexDistance == Int { + oldArray: [ArrayEntry]) -> [Edit] where T : Collection, T.Element : Hashable, T.Index == Int { // 6th pass // At this point following our five passes, diff --git a/CollectionView/DataStructures/EditDistance/WagnerFischer.swift b/CollectionView/DataStructures/EditDistance/WagnerFischer.swift index f3c01c6..ea2c47a 100755 --- a/CollectionView/DataStructures/EditDistance/WagnerFischer.swift +++ b/CollectionView/DataStructures/EditDistance/WagnerFischer.swift @@ -12,7 +12,7 @@ public final class WagnerFischer: DiffAware { self.reduceMove = reduceMove } - public func diff(old: T, new: T) -> [Edit] where T.Iterator.Element:Hashable, T.Index == Int, T.IndexDistance == Int{ + public func diff(old: T, new: T) -> [Edit] where T.Iterator.Element:Hashable, T.Index == Int { let previousRow = Row() previousRow.seed(with: new) let currentRow = Row() @@ -107,7 +107,7 @@ public final class WagnerFischer: DiffAware { // We can adapt the algorithm to use less space, O(m) instead of O(mn), // since it only requires that the previous row and current row be stored at any one time -class Row where T.IndexDistance == Int, T.Iterator.Element:Hashable { +class Row where T.Iterator.Element:Hashable { public typealias Element = T.Iterator.Element diff --git a/CollectionView/DataStructures/IndexedSet.swift b/CollectionView/DataStructures/IndexedSet.swift index fc82465..c9ea1cc 100644 --- a/CollectionView/DataStructures/IndexedSet.swift +++ b/CollectionView/DataStructures/IndexedSet.swift @@ -39,6 +39,9 @@ public struct IndexedSet : Sequence, CustomDeb public var count : Int { return byValue.count } + public var isEmpty : Bool { + return byValue.isEmpty + } public func value(for index: Index) -> Value? { return byIndex[index] diff --git a/CollectionView/DataStructures/SortDescriptor.swift b/CollectionView/DataStructures/SortDescriptor.swift index 9d95702..9e70e76 100644 --- a/CollectionView/DataStructures/SortDescriptor.swift +++ b/CollectionView/DataStructures/SortDescriptor.swift @@ -15,13 +15,19 @@ import Foundation /// - same: The two objects are equally compared /// - ascending: The first object is before the second (ordered) /// - descending: The second object precedes the first (reversed) -public enum SortDescriptorResult { +public enum SortDescriptorResult : ExpressibleByBooleanLiteral { case same case ascending case descending + + public typealias BooleanLiteralType = Bool + public init(booleanLiteral value: Bool) { + self = value ? .ascending : .descending + } } + /// a comparator used to compare two objects public struct SortDescriptor { diff --git a/CollectionView/MutableResultsController.swift b/CollectionView/MutableResultsController.swift index 76599c0..60fa4e8 100644 --- a/CollectionView/MutableResultsController.swift +++ b/CollectionView/MutableResultsController.swift @@ -839,6 +839,7 @@ extension MutableResultsController where Element:AnyObject { else { currentSection.remove(object) let newSection = self.getOrCreateSectionInfo(for: sectionValue) + _sections.needsSort = true newSection.ensureEditing() newSection.add(object) self._editingContext.itemsWithSectionChange.insert(object) diff --git a/CollectionViewTests/CVProxyTests.swift b/CollectionViewTests/CVProxyTests.swift index 378be31..e615505 100644 --- a/CollectionViewTests/CVProxyTests.swift +++ b/CollectionViewTests/CVProxyTests.swift @@ -33,6 +33,9 @@ class CVProxyTests: XCTestCase, CollectionViewDataSource { override func setUp() { super.setUp() // Put setup code here. This method is called before the invocation of each test method in the class. + provider.populateWhenEmpty = false + provider.populateEmptySections = false + provider.defaultCollapse = false resultsController.reset() collectionView.reloadData() } @@ -42,7 +45,6 @@ class CVProxyTests: XCTestCase, CollectionViewDataSource { super.tearDown() } - func numberOfSections(in collectionView: CollectionView) -> Int { return provider.numberOfSections } @@ -54,11 +56,239 @@ class CVProxyTests: XCTestCase, CollectionViewDataSource { func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell { return CollectionViewCell.deque(for: indexPath, in: collectionView) } + + func assertCounts(_ counts: [Int]) { + XCTAssertEqual(provider.numberOfSections, counts.count) + XCTAssertEqual(collectionView.numberOfSections, counts.count) + for (s, count) in counts.enumerated() { + XCTAssertEqual(provider.numberOfItems(in: s), count) + XCTAssertEqual(collectionView.numberOfItems(in: s), count) + } + } + + // MARK: - Placeholders + /*-------------------------------------------------------------------------------*/ + + func testEmptyPlaceholder() { + provider.populateWhenEmpty = true + collectionView.reloadData() + + self.assertCounts([1]) + XCTAssertTrue(provider.showEmptyState) + } + + func testEmptyPlaceholderReplaced() { + // Start with empty placeholder and insert a section + provider.populateWhenEmpty = true + collectionView.reloadData() + + self.assertCounts([1]) + resultsController.insert(section: Parent(rank: 0)) + self.assertCounts([0]) + XCTAssertFalse(provider.showEmptyState) + } + + func testEmptySectionPlaceholder() { + // Empty sections + provider.populateEmptySections = true + let p = Parent(rank: 0) + resultsController.setContent([(p, [])]) + collectionView.reloadData() + + self.assertCounts([1]) + XCTAssertFalse(provider.showEmptyState) + XCTAssertTrue(provider.showEmptySection(at: IndexPath.zero)) + } + + + func testReplaceEmptySectionPlaceholder() { + // Empty sections + provider.populateEmptySections = true + let p = Parent(rank: 0) + resultsController.setContent([(p, [])]) + collectionView.reloadData() + + resultsController.beginEditing() + for c in p.createChildren(5) { + resultsController.insert(object: c) + } + resultsController.endEditing() + XCTAssertFalse(provider.showEmptySection(at: IndexPath.zero)) + self.assertCounts([5]) + + } + + + + + // MARK: - Section Expanding + /*-------------------------------------------------------------------------------*/ + + func testCollapseSection() { + + var children = [Child]() + for n in 0..<3 { + children.append(contentsOf: Parent(rank: n).createChildren(5)) + } + + resultsController.setContent(objects: children) + collectionView.reloadData() + + self.assertCounts([5, 5, 5]) + provider.collapseSection(at: 1, animated: false) + self.assertCounts([5, 0, 5]) + } + + func testExpandSection() { + var children = [Child]() + for n in 0..<3 { + children.append(contentsOf: Parent(rank: n).createChildren(5)) + } + + resultsController.setContent(objects: children) + collectionView.reloadData() - func testExample() { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. + provider.collapseSection(at: 1, animated: false) + self.assertCounts([5, 0, 5]) + + provider.expandSection(at: 1, animated: false) + self.assertCounts([5, 5, 5]) + } + + func testMoveCollapseSection() { + var children = [Child]() + var parents = [Parent]() + for n in 0..<3 { + let p = Parent(rank: n) + parents.append(p) + children.append(contentsOf: p.createChildren(5)) + } + + resultsController.setContent(objects: children) + collectionView.reloadData() + provider.collapseSection(at: 1, animated: false) + + self.assertCounts([5, 0 ,5]) + + // Edit the data + parents[0].rank = 1 + parents[1].rank = 0 + self.resultsController.beginEditing() + self.resultsController.didUpdate(section: parents[0]) + self.resultsController.didUpdate(section: parents[1]) + self.resultsController.endEditing() + XCTAssertTrue(provider.isSectionCollapsed(at: 0)) + XCTAssertFalse(provider.isSectionCollapsed(at: 1)) + self.assertCounts([0, 5 ,5]) + + provider.expandSection(at: 0, animated: false) + XCTAssertFalse(provider.isSectionCollapsed(at: 1)) + self.assertCounts([5, 5 ,5]) + } + + func testMoveItemsFromCollapsedToExpanded() { + + let p0 = Parent(rank: 0) + let p1 = Parent(rank: 1) + let c0 = p0.createChildren(5) + let c1 = p1.createChildren(5) + + let children = [c0, c1].flatMap { return $0 } + + resultsController.setContent(objects: children) + collectionView.reloadData() + provider.collapseSection(at: 0, animated: false) + + self.assertCounts([0, 5]) + + // Edit the data + c0[0].parent = p1 + + self.resultsController.beginEditing() + self.resultsController.didUpdate(object: c0[0]) + self.resultsController.endEditing() + + self.assertCounts([0, 6]) + + provider.expandSection(at: 0, animated: false) + self.assertCounts([4, 6]) + } + + func testMoveItemsFromExpandedToCollapsed() { + + let p0 = Parent(rank: 0) + let p1 = Parent(rank: 1) + let c0 = p0.createChildren(5) + let c1 = p1.createChildren(5) + + let children = [c0, c1].flatMap { return $0 } + + resultsController.setContent(objects: children) + collectionView.reloadData() + provider.collapseSection(at: 1, animated: false) + + self.assertCounts([5, 0]) + + // Edit the data + c0[0].parent = p1 + + self.resultsController.beginEditing() + self.resultsController.didUpdate(object: c0[0]) + self.resultsController.endEditing() + + self.assertCounts([4, 0]) + + provider.expandSection(at: 1, animated: false) + self.assertCounts([4, 6]) + } + + func testDefaultCollapsed() { + + var children = [Child]() + children.append(contentsOf: Parent(rank: 0).createChildren(5)) + children.append(contentsOf: Parent(rank: 1).createChildren(5)) + + provider.defaultCollapse = true + resultsController.setContent(objects: children) + collectionView.reloadData() + + self.assertCounts([0, 0]) + XCTAssertTrue(provider.isSectionCollapsed(at: 0)) + XCTAssertTrue(provider.isSectionCollapsed(at: 1)) + + let c = Parent(rank: 2).createChildren(1) + resultsController.insert(object: c[0]) + self.assertCounts([0, 0, 0]) + XCTAssertTrue(provider.isSectionCollapsed(at: 2)) + } + + func testDefaultCollapsedOnInsert() { + + var children = [Child]() + children.append(contentsOf: Parent(rank: 0).createChildren(5)) + children.append(contentsOf: Parent(rank: 1).createChildren(5)) + + provider.defaultCollapse = true + resultsController.setContent(objects: children) + collectionView.reloadData() + + provider.expandSection(at: 0, animated: false) + + self.assertCounts([5, 0]) + XCTAssertFalse(provider.isSectionCollapsed(at: 0)) + XCTAssertTrue(provider.isSectionCollapsed(at: 1)) + + let c = Parent(rank: 2).createChildren(1) + resultsController.insert(object: c[0]) + self.assertCounts([5, 0, 0]) + XCTAssertTrue(provider.isSectionCollapsed(at: 2)) + } + + + + func testBreakingUseCase1() { + // A reproduction of a previously breaking case from the demo app let _data : [(String,[String])] = [ ("ZSnKWisBqE", ["ueHNbNmzJE","BLDDODjZeP","eObJUPufpv","dOwXZZpyif","RIZOqeMoWM","hGLYuDzKQi","ZOAwicSMDE"]), ("WqoQBTNEaY", ["rsubjBxbVb","zgxqrwEMEP","RFMVhYUOBt","TPtWHpAfhO","vGNjxxuxds","EEQzPOqFLm","WqWAgYBpdk"]), @@ -139,14 +369,8 @@ class CVProxyTests: XCTestCase, CollectionViewDataSource { } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } - + + } diff --git a/CollectionViewTests/FRCTests.swift b/CollectionViewTests/FetchedRCTests.swift similarity index 86% rename from CollectionViewTests/FRCTests.swift rename to CollectionViewTests/FetchedRCTests.swift index 9f814e9..fbb7ce4 100644 --- a/CollectionViewTests/FRCTests.swift +++ b/CollectionViewTests/FetchedRCTests.swift @@ -1,5 +1,5 @@ // -// FRCTests.swift +// FetchedRCTests.swift // CollectionViewTests // // Created by Wesley Byrne on 2/14/18. @@ -9,7 +9,7 @@ import XCTest @testable import CollectionView -class FRCTests: XCTestCase, ResultsControllerDelegate { +class FetchedRCTests: XCTestCase, ResultsControllerDelegate { fileprivate lazy var context : NSManagedObjectContext = { let model = TestModel() @@ -72,14 +72,14 @@ class FRCTests: XCTestCase, ResultsControllerDelegate { _ = self.createItemsBySection(1, items: 10) let frc = FetchedResultsController(context: self.context, request: NSFetchRequest(entityName: "Child")) // Check ascending TRUE - frc.fetchRequest.sortDescriptors = [NSSortDescriptor(key: "displayOrder", ascending: true)] + frc.sortDescriptors = [SortDescriptor(\Child.displayOrder, ascending: true)] XCTAssertNoThrow(try frc.performFetch()) for n in 0..<10 { XCTAssertEqual(frc.object(at: IndexPath.for(item: n, section: 0))!.displayOrder.intValue, n) } // Check ascending FALSE - frc.fetchRequest.sortDescriptors = [NSSortDescriptor(key: "displayOrder", ascending: false)] + frc.sortDescriptors = [SortDescriptor(\Child.displayOrder, ascending: false)] XCTAssertNoThrow(try frc.performFetch()) for n in 0..<10 { XCTAssertEqual(frc.object(at: IndexPath.for(item: n, section: 0))!.displayOrder.intValue, 9 - n) @@ -98,8 +98,8 @@ class FRCTests: XCTestCase, ResultsControllerDelegate { self._expectation = expectation(description: "Delegate") _ = Child.createOrphan(in: context) waitForExpectations(timeout: 0.1) { (err) in - XCTAssertEqual(self.changeSet.items.inserted.count, 0) - XCTAssertEqual(self.changeSet.sections.inserted.count, 1) + XCTAssertEqual(self.changeSet.itemUpdates.inserted.count, 0) + XCTAssertEqual(self.changeSet.sectionUpdates.inserted.count, 1) XCTAssertEqual(frc.numberOfSections, 1) XCTAssertEqual(frc.numberOfObjects(in: 0), 1) } @@ -115,8 +115,8 @@ class FRCTests: XCTestCase, ResultsControllerDelegate { _ = self.createItemsBySection(1, items: 5) waitForExpectations(timeout: 0.1) { (err) in - XCTAssertEqual(self.changeSet.items.inserted.count, 0) - XCTAssertEqual(self.changeSet.sections.inserted.count, 1) + XCTAssertEqual(self.changeSet.itemUpdates.inserted.count, 0) + XCTAssertEqual(self.changeSet.sectionUpdates.inserted.count, 1) XCTAssertEqual(frc.numberOfSections, 1) XCTAssertEqual(frc.numberOfObjects(in: 0), 5) } @@ -133,8 +133,8 @@ class FRCTests: XCTestCase, ResultsControllerDelegate { self._expectation = expectation(description: "Delegate") _ = self.createItemsBySection(5, items: 5) waitForExpectations(timeout: 0.1) { (err) in - XCTAssertEqual(self.changeSet.items.inserted.count, 0) - XCTAssertEqual(self.changeSet.sections.inserted.count, 5) + XCTAssertEqual(self.changeSet.itemUpdates.inserted.count, 0) + XCTAssertEqual(self.changeSet.sectionUpdates.inserted.count, 5) XCTAssertEqual(frc.numberOfSections, 5) for s in 0.. [[Child]] { + var res = [[Child]]() + for s in 0.. RelationalResultsController { + let rc = RelationalResultsController(context: self.context, + request: NSFetchRequest(entityName: "Child"), + sectionRequest: NSFetchRequest(entityName: "Parent"), + sectionKeyPath: \Child.parent) + rc.delegate = self + rc.fetchSections = fetchSections + return rc + } + + func test_performFetch_empty() { + let content = createController() + XCTAssertNoThrow(try content.performFetch()) + XCTAssertEqual(content.numberOfSections, 0) + } + + func test_performFetch_fetchSectionsFalse() { + let content = createController() + _ = Parent.create(in: self.context, children: 0) + XCTAssertNoThrow(try content.performFetch()) + XCTAssertEqual(content.numberOfSections, 0) + } + func test_performFetch_emptySection_fetchSections() { + let content = createController(fetchSections: true) + _ = Parent.create(in: self.context, children: 0) + XCTAssertNoThrow(try content.performFetch()) + XCTAssertEqual(content.numberOfSections, 1) + XCTAssertEqual(content.numberOfObjects(in: 0), 0) + } + + + func test_sectionName_dispayConvertible() { + let content = createController(fetchSections: true) + let p = Parent.create(in: self.context, children: 0) + XCTAssertNoThrow(try content.performFetch()) + XCTAssertEqual(content.sectionName(forSectionAt: IndexPath.zero), p.displayDescription) + } + + func test_sectionName_sectionNameKeyPath() { + let content = createController(fetchSections: true) + content.sectionNameKeyPath = \Parent.name + let p = Parent.create(in: self.context, children: 0) + XCTAssertNoThrow(try content.performFetch()) + XCTAssertEqual(content.sectionName(forSectionAt: IndexPath.zero), p.name) + } + + + + func testSectionSortDescriptors() { + let content = createController(fetchSections: true) + for idx in 0..<10 { + let p = Parent.create(in: self.context) + p.displayOrder = NSNumber(value: idx) + } + + content.sectionSortDescriptors = [SortDescriptor(\Parent.displayOrder, ascending: true)] + XCTAssertNoThrow(try content.performFetch()) + for n in 0..<10 { + let ip = IndexPath.for(item: 0, section: n) + let object = content.object(forSectionAt: ip) + XCTAssertEqual(object?.displayOrder.intValue, n) + } + + // Check ascending FALSE + content.sectionSortDescriptors = [SortDescriptor(\Parent.displayOrder, ascending: false)] + XCTAssertNoThrow(try content.performFetch()) + for n in 0..<10 { + let ip = IndexPath.for(item: 0, section: n) + let object = content.object(forSectionAt: ip) + XCTAssertEqual(object?.displayOrder.intValue, 9 - n) + } + } + + + + // MARK: - Inserting + /*-------------------------------------------------------------------------------*/ + + func test_insertFirstItem_noFetchSections() { + let content = createController(fetchSections: false) + try! content.performFetch() + self._expectation = expectation(description: "Delegate") + + _ = Parent.create(in: self.context, children: 1) + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 1) + XCTAssertEqual(content.numberOfObjects(in: 0), 1) + } + } + + func test_insertFirstSection_noFetchSections() { + let content = createController(fetchSections: false) + try! content.performFetch() + self._expectation = expectation(description: "Delegate") + + _ = Parent.create(in: self.context, children: 0) + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 0) + } + } + + func test_insertFirstSection_fetchSections() { + let content = createController(fetchSections: true) + try! content.performFetch() + self._expectation = expectation(description: "Delegate") + + _ = Parent.create(in: self.context, children: 1) + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 1) + XCTAssertEqual(content.numberOfObjects(in: 0), 1) + } + } + + func test_delegate_insertMultipleSections_noFetchSections() { + let content = createController(fetchSections: false) + try! content.performFetch() + self._expectation = expectation(description: "Delegate") + + _ = Parent.create(in: self.context, children: 1) + _ = Parent.create(in: self.context, children: 1) + _ = Parent.create(in: self.context, children: 1) + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 3) + } + } + + func test_delegate_insertMultipleEmptySections_fetchSections() { + let content = createController(fetchSections: true) + try! content.performFetch() + self._expectation = expectation(description: "Delegate") + + _ = Parent.create(in: self.context, children: 0) + _ = Parent.create(in: self.context, children: 0) + _ = Parent.create(in: self.context, children: 0) + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 3) + } + } + + + // MARK: - Removing Items + /*-------------------------------------------------------------------------------*/ + + func test_delegate_removingItemsRemovesSections() { + // Fetch sections == true + let content = createController(fetchSections: false) + let parents = (0..<3).map { _ in + Parent.create(in: self.context, children: 1) + } + try! context.save() + try! content.performFetch() + XCTAssertEqual(content.numberOfSections, 3) + self._expectation = expectation(description: "Delegate") + for p in parents { + for c in p.children { + self.context.delete(c) + } + } + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 0) + } + } + + func test_delegate_removingItemsLeavesSections() { + // Fetch sections == true + let content = createController(fetchSections: true) + let parents = (0..<3).map { _ in + Parent.create(in: self.context, children: 1) + } + try! context.save() + try! content.performFetch() + XCTAssertEqual(content.numberOfSections, 3) + + self._expectation = expectation(description: "Delegate") + + for p in parents { + for c in p.children { + self.context.delete(c) + } + } + waitForExpectations(timeout: 0.1) { (err) in + XCTAssertEqual(content.numberOfSections, 3) + for idx in 0..<3 { + XCTAssertEqual(content.numberOfObjects(in: idx), 0) + } + } + } + + + // MARK: - Moving + /*-------------------------------------------------------------------------------*/ + + func test_delegate_movingSections() { + let content = createController(fetchSections: false) + content.sectionSortDescriptors = [SortDescriptor(\Parent.displayOrder)] + + let parents : [Parent] = (0..<3).map { + let p = Parent.create(in: self.context, children: 1) + p.displayOrder = NSNumber(value: $0) + return p + } + try! context.save() + try! content.performFetch() + XCTAssertEqual(content.numberOfSections, 3) + self._expectation = expectation(description: "Delegate") + + // Reverse the display orders + for idx in 0..<3 { + parents[idx].displayOrder = NSNumber(value: 2 - idx) + } + waitForExpectations(timeout: 0.1) { (err) in + for idx in 0..<3 { + let ip = IndexPath.for(section: idx) + XCTAssertEqual(content.object(forSectionAt: ip), parents[2 - idx]) + } + } + } + + var changeSet = CollectionViewResultsProxy() + var _expectation : XCTestExpectation? + func controllerWillChangeContent(controller: ResultsController) { + changeSet.prepareForUpdates() + } + func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType) { + changeSet.addChange(forItemAt: indexPath, with: changeType) + } + func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType) { + changeSet.addChange(forSectionAt: indexPath, with: changeType) + } + func controllerDidChangeContent(controller: ResultsController) { + _expectation?.fulfill() + _expectation = nil + } + +} + + +// MARK: - Helpers +/*-------------------------------------------------------------------------------*/ + + +fileprivate extension NSAttributeDescription { + convenience init(name: String, type: NSAttributeType) { + self.init() + self.name = name + self.attributeType = type + } +} + +extension String { + static func random(_ length: Int) -> String { + let letters : NSString = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" + let len = UInt32(letters.length) + + var randomString = "" + for _ in 0 ..< length { + let rand = arc4random_uniform(len) + var nextChar = letters.character(at: Int(rand)) + randomString += NSString(characters: &nextChar, length: 1) as String + } + return randomString + } +} + +fileprivate class Parent : NSManagedObject, CustomDisplayStringConvertible { + @NSManaged var displayOrder : NSNumber + @NSManaged var name : String + @NSManaged var createdAt: Date + @NSManaged var children : Set + + static func create(in moc : NSManagedObjectContext, children: Int = 1) -> Parent { + let req = NSFetchRequest(entityName: "Parent") + req.sortDescriptors = [NSSortDescriptor(key: "displayOrder", ascending: false)] + req.fetchLimit = 1 + let _order = try! moc.fetch(req).first?.displayOrder.intValue ?? 0 + let new = NSEntityDescription.insertNewObject(forEntityName: "Parent", into: moc) as! Parent + new.name = "Parent \(String.random(5))" + new.displayOrder = NSNumber(value: _order + 1) + new.createdAt = Date() + for _ in 0.. Child { + let child = Child.createOrphan(in: self.managedObjectContext!) + let order = self.children.sorted(using: SortDescriptor(\Child.displayOrder)).last?.displayOrder.intValue ?? -1 + child.displayOrder = NSNumber(value: order + 1) + child.parent = self + return child + } + var displayDescription: String { + return "Parent \(self.displayOrder)" + } +} + +fileprivate class Child : NSManagedObject { + @NSManaged var second: NSNumber + @NSManaged var minute: NSNumber + @NSManaged var displayOrder : NSNumber + @NSManaged var createdAt: Date + @NSManaged var parent: Parent? + + static func createOrphan(in moc : NSManagedObjectContext) -> Child { + let child = NSEntityDescription.insertNewObject(forEntityName: "Child", into: moc) as! Child + child.displayOrder = NSNumber(value: 0) + let d = Date() + let s = Calendar.current.component(.second, from: d) + let m = Calendar.current.component(.minute, from: d) + child.createdAt = d + child.second = NSNumber(value: Int(s/6)) + child.minute = NSNumber(value: Int(m/6)) + return child + } +} + +fileprivate class TestModel : NSManagedObjectModel { + override init() { + super.init() + + let parent = NSEntityDescription() + let child = NSEntityDescription() + + parent.name = "Parent" + parent.managedObjectClassName = Parent.className() + child.name = "Child" + child.managedObjectClassName = Child.className() + + let childrenRelationship = NSRelationshipDescription() + let parentRelationship = NSRelationshipDescription() + + childrenRelationship.name = "children" + childrenRelationship.destinationEntity = child + childrenRelationship.inverseRelationship = parentRelationship + childrenRelationship.maxCount = 0 + childrenRelationship.minCount = 0 + childrenRelationship.deleteRule = .cascadeDeleteRule + + parentRelationship.name = "parent" + parentRelationship.destinationEntity = parent + parentRelationship.inverseRelationship = childrenRelationship + parentRelationship.minCount = 0 + parentRelationship.maxCount = 1 + parentRelationship.isOptional = true + + parent.properties = [NSAttributeDescription(name: "displayOrder", type: .integer16AttributeType), + NSAttributeDescription(name: "createdAt", type: .dateAttributeType), + NSAttributeDescription(name: "name", type: .stringAttributeType), + childrenRelationship] + child.properties = [NSAttributeDescription(name: "displayOrder", type: .integer16AttributeType), + NSAttributeDescription(name: "createdAt", type: .dateAttributeType), + NSAttributeDescription(name: "minute", type: .integer16AttributeType), + NSAttributeDescription(name: "second", type: .integer16AttributeType), + parentRelationship] + + self.entities = [parent, child] + } + + required init?(coder aDecoder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + + + + diff --git a/Example/Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/Example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/README.md b/README.md index fa655a0..a9450c1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ![CollectionView](https://raw.githubusercontent.com/TheNounProject/CollectionView/master/img/header.png "Collection View") +![test](https://travis-ci.org/TheNounProject/CollectionView.svg?branch=master) + An easy to use, highly customizable replacement for NSCollectionView. --- @@ -56,7 +58,9 @@ Or, reach out on twitter: [@NounProjectDev](https://twitter.com/NounProjectDev) * Some sort of layout context to avoid full reloads ## Credits -* Thanks to [DeepDiff](https://github.com/onmyway133/DeepDiff) for some diffing logic used in ResultsController +* [DeepDiff](https://github.com/onmyway133/DeepDiff) for some diffing logic used in ResultsController +* [JNWCollectionView](https://github.com/jwilling/JNWCollectionView) for early inspiration + ## Licence This project is released under the [MIT license](https://github.com/TheNounProject/CollectionView/blob/master/LICENSE). diff --git a/docs/Classes/CollectionReusableView.html b/docs/Classes/CollectionReusableView.html index c512a3c..7881436 100644 --- a/docs/Classes/CollectionReusableView.html +++ b/docs/Classes/CollectionReusableView.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

CollectionReusableView

-
open class CollectionReusableView : NSView
+
open class CollectionReusableView : NSView
@@ -278,9 +278,9 @@

Reuse

  • @@ -295,7 +295,7 @@

    Reuse

    Declaration

    Swift

    -
    open internal(set) var reuseIdentifier: String?
    +
    open internal(set) var reuseIdentifier: String?
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    open internal(set) weak var collectionView : CollectionView?
    +
    open internal(set) weak var collectionView : CollectionView?
    @@ -332,9 +332,9 @@

    Declaration

  • - + - reused + reused
    @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    open internal(set) var reused : Bool = false
    +
    open internal(set) var reused : Bool = false
    @@ -387,7 +387,7 @@

    Lifecycle

    Declaration

    Swift

    -
    override open func prepareForReuse()
    +
    override open func prepareForReuse()
    @@ -414,7 +414,7 @@

    Declaration

    Declaration

    Swift

    -
    open func viewWillDisplay()
    +
    open func viewWillDisplay()
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    open func viewDidDisplay()
    +
    open func viewDidDisplay()
    @@ -462,9 +462,9 @@

    Attributes

  • @@ -479,7 +479,7 @@

    Attributes

    Declaration

    Swift

    -
    open var backgroundColor: NSColor?
    +
    open var backgroundColor: NSColor?
    @@ -517,7 +517,7 @@

    Mouse Tracking

    Declaration

    Swift

    -
    open func disableTracking()
    +
    open func disableTracking()
    @@ -544,7 +544,7 @@

    Declaration

    Declaration

    Swift

    -
    open func enableTracking()
    +
    open func enableTracking()
    @@ -559,8 +559,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionView.html b/docs/Classes/CollectionView.html index d414776..1cc2cc7 100644 --- a/docs/Classes/CollectionView.html +++ b/docs/Classes/CollectionView.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionView

    -
    open class CollectionView : ScrollView, NSDraggingSource
    +
    open class CollectionView : ScrollView, NSDraggingSource
    @@ -316,7 +316,7 @@

    Data Source & Delegate

    Declaration

    Swift

    -
    @objc public weak var delegate : CollectionViewDelegate?
    +
    @objc public weak var delegate : CollectionViewDelegate?
    @@ -326,9 +326,9 @@

    Declaration

  • @@ -343,7 +343,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var dataSource : CollectionViewDataSource?
    +
    public weak var dataSource : CollectionViewDataSource?
    @@ -353,9 +353,9 @@

    Declaration

  • @@ -370,7 +370,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentDocumentView : CollectionViewDocumentView
    +
    public var contentDocumentView : CollectionViewDocumentView
    @@ -408,7 +408,7 @@

    Registering reusable cells

    Declaration

    Swift

    -
    public func register(class cellClass: CollectionViewCell.Type, forCellWithReuseIdentifier identifier: String)
    +
    public func register(class cellClass: CollectionViewCell.Type, forCellWithReuseIdentifier identifier: String)
    @@ -466,7 +466,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(nib: NSNib, forCellWithReuseIdentifier identifier: String)
    +
    public func register(nib: NSNib, forCellWithReuseIdentifier identifier: String)
    @@ -524,7 +524,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(class viewClass: CollectionReusableView.Type, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String)
    +
    public func register(class viewClass: CollectionReusableView.Type, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String)
    @@ -599,7 +599,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(nib: NSNib, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String)
    +
    public func register(nib: NSNib, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String)
    @@ -682,7 +682,7 @@

    Dequeing reusable cells

    Declaration

    Swift

    -
    public final func dequeueReusableCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionViewCell
    +
    public final func dequeueReusableCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionViewCell
    @@ -744,7 +744,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func dequeueReusableSupplementaryView(ofKind elementKind: String, withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionReusableView
    +
    public final func dequeueReusableSupplementaryView(ofKind elementKind: String, withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionReusableView
    @@ -812,9 +812,9 @@

    Floating View

  • @@ -829,7 +829,7 @@

    Floating View

    Declaration

    Swift

    -
    public var  floatingContentView : NSView
    +
    public var  floatingContentView : NSView
    @@ -856,7 +856,7 @@

    Declaration

    Declaration

    Swift

    -
    public func addAccessoryView(_ view: NSView)
    +
    public func addAccessoryView(_ view: NSView)
    @@ -896,9 +896,9 @@

    Data

  • @@ -913,7 +913,7 @@

    Data

    Declaration

    Swift

    -
    public var numberOfSections : Int
    +
    public var numberOfSections : Int
    @@ -944,7 +944,7 @@

    Return Value

    Declaration

    Swift

    -
    public func numberOfItems(in section: Int) -> Int
    +
    public func numberOfItems(in section: Int) -> Int
    @@ -994,7 +994,7 @@

    Return Value

    Declaration

    Swift

    -
    open func reloadData()
    +
    open func reloadData()
    @@ -1015,9 +1015,9 @@

    Layout

  • @@ -1037,7 +1037,7 @@

    Layout

    Declaration

    Swift

    -
    public var collectionViewLayout : CollectionViewLayout = CollectionViewLayout()
    +
    public var collectionViewLayout : CollectionViewLayout = CollectionViewLayout()
    @@ -1047,9 +1047,9 @@

    Declaration

  • @@ -1064,7 +1064,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentVisibleRect : CGRect
    +
    public var contentVisibleRect : CGRect
    @@ -1091,7 +1091,7 @@

    Declaration

    Declaration

    Swift

    -
    open override var contentSize: NSSize
    +
    open override var contentSize: NSSize
    @@ -1101,9 +1101,9 @@

    Declaration

  • @@ -1118,7 +1118,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentOffset : CGPoint
    +
    public var contentOffset : CGPoint
    @@ -1128,9 +1128,9 @@

    Declaration

  • @@ -1150,7 +1150,7 @@

    Declaration

    Declaration

    Swift

    -
    public var prepareAll : Bool = false
    +
    public var prepareAll : Bool = false
    @@ -1177,7 +1177,7 @@

    Declaration

    Declaration

    Swift

    -
    open func frameForSection(at index: Int) -> CGRect?
    +
    open func frameForSection(at index: Int) -> CGRect?
    @@ -1206,9 +1206,9 @@

    Parameters

  • @@ -1243,7 +1243,7 @@

    Parameters

    Declaration

    Swift

    -
    public var reloadDataOnBoundsChange : Bool = false
    +
    public var reloadDataOnBoundsChange : Bool = false
    @@ -1270,7 +1270,7 @@

    Declaration

    Declaration

    Swift

    -
    public func reloadLayout(_ animated: Bool, scrollPosition: CollectionViewScrollPosition = .nearest, completion: AnimationCompletion? = nil)
    +
    public func reloadLayout(_ animated: Bool, scrollPosition: CollectionViewScrollPosition = .nearest, completion: AnimationCompletion? = nil)
    @@ -1322,9 +1322,9 @@

    Scroll Handling

  • @@ -1339,7 +1339,7 @@

    Scroll Handling

    Declaration

    Swift

    -
    public internal(set) var isScrolling : Bool = false
    +
    public internal(set) var isScrolling : Bool = false
    @@ -1349,9 +1349,9 @@

    Declaration

  • @@ -1366,7 +1366,7 @@

    Declaration

    Declaration

    Swift

    -
    public private(set) var scrollVelocity = CGPoint.zero
    +
    public private(set) var scrollVelocity = CGPoint.zero
    @@ -1376,9 +1376,9 @@

    Declaration

  • @@ -1392,27 +1392,27 @@

    Example Usage

    If your cells require complex loading that may slow scrolling performance, peakScrollVelocity can be used to determine if the cell content should be reduced or delayed until after the scrolling ends.

    For example in CollectionViewCell

    -
    override func viewDidDisplay() {
    -   if self.collectionView?.isScrolling != true ||  (self.collectionView?.peakScrollVelocity.maxAbsVelocity ?? 0) < 200 {
    -       // load complex content
    -   }
    -   else {
    -       // Wait until we are done scrolling
    -   }
    -}
    -
    -func loadContent() { Do complex loading }
    +
    override func viewDidDisplay() {
    +   if self.collectionView?.isScrolling != true ||  (self.collectionView?.peakScrollVelocity.maxAbsVelocity ?? 0) < 200 {
    +       // load complex content
    +   }
    +   else {
    +       // Wait until we are done scrolling
    +   }
    +}
    +
    +func loadContent() { Do complex loading }
     

    Then, in your collection view’s delegate

    -
    func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool) {
    -   guard collectionView.peakScrollVelocity.maxAbsVelocity > 200 else { return }
    -   for ip in collectionView.indexPathsForVisibleItems {
    -       if let c = collectionView.cellForItem(at:ip) as? MyCellClass {
    -           c.loadContent
    -       }
    -   }
    -}
    +
    func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool) {
    +   guard collectionView.peakScrollVelocity.maxAbsVelocity > 200 else { return }
    +   for ip in collectionView.indexPathsForVisibleItems {
    +       if let c = collectionView.cellForItem(at:ip) as? MyCellClass {
    +           c.loadContent
    +       }
    +   }
    +}
     
    @@ -1420,7 +1420,7 @@

    Example Usage

    Declaration

    Swift

    -
    public private(set) var peakScrollVelocity = CGPoint.zero
    +
    public private(set) var peakScrollVelocity = CGPoint.zero
    @@ -1430,9 +1430,9 @@

    Declaration

  • @@ -1447,7 +1447,7 @@

    Declaration

    Declaration

    Swift

    -
    open var indexPathsForVisibleSections : [IndexPath]
    +
    open var indexPathsForVisibleSections : [IndexPath]
    @@ -1457,9 +1457,9 @@

    Declaration

  • @@ -1474,7 +1474,7 @@

    Declaration

    Declaration

    Swift

    -
    open var indexPathForFirstVisibleItem : IndexPath?
    +
    open var indexPathForFirstVisibleItem : IndexPath?
    @@ -1484,9 +1484,9 @@

    Declaration

  • @@ -1501,7 +1501,7 @@

    Declaration

    Declaration

    Swift

    -
    open var _indexPathForFirstVisibleItem : IndexPath?
    +
    open var _indexPathForFirstVisibleItem : IndexPath?
    @@ -1522,9 +1522,9 @@

    Batch Updates

  • @@ -1539,7 +1539,7 @@

    Batch Updates

    Declaration

    Swift

    -
    public var animationDuration: TimeInterval = 0.4
    +
    public var animationDuration: TimeInterval = 0.4
    @@ -1566,7 +1566,7 @@

    Declaration

    Declaration

    Swift

    -
    public func performBatchUpdates(_ updates: (()->Void), completion: AnimationCompletion?)
    +
    public func performBatchUpdates(_ updates: (()->Void), completion: AnimationCompletion?)
    @@ -1635,7 +1635,7 @@

    Manipulating Sections

    Declaration

    Swift

    -
    public func insertSections(_ sections: IndexSet, animated: Bool)
    +
    public func insertSections(_ sections: IndexSet, animated: Bool)
    @@ -1698,7 +1698,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deleteSections(_ sections: IndexSet, animated: Bool)
    +
    public func deleteSections(_ sections: IndexSet, animated: Bool)
    @@ -1768,7 +1768,7 @@

    Parameters

    Declaration

    Swift

    -
    public func moveSection(_ section: Int, to newSection: Int, animated: Bool)
    +
    public func moveSection(_ section: Int, to newSection: Int, animated: Bool)
    @@ -1849,7 +1849,7 @@

    Manipulating items

    Declaration

    Swift

    -
    public func insertItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func insertItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -1907,7 +1907,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deleteItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func deleteItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -1967,7 +1967,7 @@

    Parameters

    Declaration

    Swift

    -
    public func reloadItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func reloadItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -2025,7 +2025,7 @@

    Parameters

    Declaration

    Swift

    -
    public func moveItem(at indexPath : IndexPath, to destinationIndexPath: IndexPath, animated: Bool)
    +
    public func moveItem(at indexPath : IndexPath, to destinationIndexPath: IndexPath, animated: Bool)
    @@ -2089,9 +2089,9 @@

    Mouse Tracking (section highlight)

  • @@ -2106,7 +2106,7 @@

    Mouse Tracking (section highlight)

    Declaration

    Swift

    -
    public var trackSectionHover : Bool = false
    +
    public var trackSectionHover : Bool = false
    @@ -2127,9 +2127,9 @@

    Selection options

  • @@ -2144,7 +2144,7 @@

    Selection options

    Declaration

    Swift

    -
    public var allowsSelection: Bool = true
    +
    public var allowsSelection: Bool = true
    @@ -2176,7 +2176,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum SelectionMode
    +
    public enum SelectionMode
    @@ -2186,9 +2186,9 @@

    Declaration

  • @@ -2203,7 +2203,7 @@

    Declaration

    Declaration

    Swift

    -
    public var selectionMode: SelectionMode = .default
    +
    public var selectionMode: SelectionMode = .default
    @@ -2213,9 +2213,9 @@

    Declaration

  • @@ -2230,7 +2230,7 @@

    Declaration

    Declaration

    Swift

    -
    public var allowsMultipleSelection: Bool = true
    +
    public var allowsMultipleSelection: Bool = true
    @@ -2240,9 +2240,9 @@

    Declaration

  • @@ -2257,7 +2257,7 @@

    Declaration

    Declaration

    Swift

    -
    public var allowsEmptySelection: Bool = true
    +
    public var allowsEmptySelection: Bool = true
    @@ -2267,9 +2267,9 @@

    Declaration

  • @@ -2284,7 +2284,7 @@

    Declaration

    Declaration

    Swift

    -
    public var notifyDelegate: Bool = false
    +
    public var notifyDelegate: Bool = false
    @@ -2294,9 +2294,9 @@

    Declaration

  • @@ -2311,7 +2311,7 @@

    Declaration

    Declaration

    Swift

    -
    public var repeatSelections: Bool = false
    +
    public var repeatSelections: Bool = false
    @@ -2332,9 +2332,9 @@

    Selections

  • @@ -2349,7 +2349,7 @@

    Selections

    Declaration

    Swift

    -
    public internal(set) var indexPathForHighlightedItem: IndexPath?
    +
    public internal(set) var indexPathForHighlightedItem: IndexPath?
    @@ -2378,7 +2378,7 @@

    Declaration

    Declaration

    Swift

    -
    public func highlightItem(at indexPath: IndexPath?, animated: Bool)
    +
    public func highlightItem(at indexPath: IndexPath?, animated: Bool)
    @@ -2419,9 +2419,9 @@

    Parameters

  • @@ -2436,7 +2436,7 @@

    Parameters

    Declaration

    Swift

    -
    public final var indexPathsForSelectedItems : Set<IndexPath>
    +
    public final var indexPathsForSelectedItems : Set<IndexPath>
    @@ -2446,9 +2446,9 @@

    Declaration

  • @@ -2463,7 +2463,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var sortedIndexPathsForSelectedItems : [IndexPath]
    +
    public final var sortedIndexPathsForSelectedItems : [IndexPath]
    @@ -2490,7 +2490,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func itemAtIndexPathIsSelected(_ indexPath: IndexPath) -> Bool
    +
    public final func itemAtIndexPathIsSelected(_ indexPath: IndexPath) -> Bool
    @@ -2556,7 +2556,7 @@

    Selecting Items

    Declaration

    Swift

    -
    public func selectAllItems(_ animated: Bool = true)
    +
    public func selectAllItems(_ animated: Bool = true)
    @@ -2607,7 +2607,7 @@

    Parameters

    Declaration

    Swift

    -
    public func selectItem(at indexPath: IndexPath, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none)
    +
    public func selectItem(at indexPath: IndexPath, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none)
    @@ -2682,7 +2682,7 @@

    Parameters

    Declaration

    Swift

    -
    public func selectItems<C:Collection>(at indexPaths: C, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none) where C.Element == IndexPath
    +
    public func selectItems<C:Collection>(at indexPaths: C, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none) where C.Element == IndexPath
    @@ -2745,7 +2745,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectItems<C:Collection>(at indexPaths: C, animated: Bool) where C.Element == IndexPath
    +
    public func deselectItems<C:Collection>(at indexPaths: C, animated: Bool) where C.Element == IndexPath
    @@ -2808,7 +2808,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectAllItems(_ animated: Bool = false)
    +
    public func deselectAllItems(_ animated: Bool = false)
    @@ -2859,7 +2859,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectItem(at indexPath: IndexPath, animated: Bool)
    +
    public func deselectItem(at indexPath: IndexPath, animated: Bool)
    @@ -2911,9 +2911,9 @@

    Cells & Index Paths

  • @@ -2928,7 +2928,7 @@

    Cells & Index Paths

    Declaration

    Swift

    -
    public final var visibleCells : [CollectionViewCell]
    +
    public final var visibleCells : [CollectionViewCell]
    @@ -2938,9 +2938,9 @@

    Declaration

  • @@ -2955,7 +2955,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var indexPathsForVisibleItems : [IndexPath]
    +
    public final var indexPathsForVisibleItems : [IndexPath]
    @@ -2982,7 +2982,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func itemAtIndexPathIsVisible(_ indexPath: IndexPath) -> Bool
    +
    public final func itemAtIndexPathIsVisible(_ indexPath: IndexPath) -> Bool
    @@ -3032,7 +3032,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func cellForItem(at indexPath: IndexPath) -> CollectionViewCell?
    +
    public final func cellForItem(at indexPath: IndexPath) -> CollectionViewCell?
    @@ -3082,7 +3082,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func indexPath(for cell: CollectionViewCell) -> IndexPath?
    +
    public final func indexPath(for cell: CollectionViewCell) -> IndexPath?
    @@ -3132,7 +3132,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathForItem(at point: CGPoint) -> IndexPath?
    +
    public func indexPathForItem(at point: CGPoint) -> IndexPath?
    @@ -3182,7 +3182,7 @@

    Return Value

    Declaration

    Swift

    -
    public func firstIndexPathForItem(near point: CGPoint, radius: CGFloat) -> IndexPath?
    +
    public func firstIndexPathForItem(near point: CGPoint, radius: CGFloat) -> IndexPath?
    @@ -3244,7 +3244,7 @@

    Return Value

    Declaration

    Swift

    -
    public func firstIndexPathForItem(in rect: CGRect) -> IndexPath?
    +
    public func firstIndexPathForItem(in rect: CGRect) -> IndexPath?
    @@ -3294,7 +3294,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathsForItems(in rect: CGRect) -> [IndexPath]
    +
    public func indexPathsForItems(in rect: CGRect) -> [IndexPath]
    @@ -3355,7 +3355,7 @@

    Supplementary Views & Index Paths

    Declaration

    Swift

    -
    public final func indexPathForSection(at point: CGPoint) -> IndexPath?
    +
    public final func indexPathForSection(at point: CGPoint) -> IndexPath?
    @@ -3388,9 +3388,9 @@

    Return Value

  • @@ -3405,7 +3405,7 @@

    Return Value

    Declaration

    Swift

    -
    public final var visibleSupplementaryViews : [CollectionReusableView]
    +
    public final var visibleSupplementaryViews : [CollectionReusableView]
    @@ -3432,7 +3432,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func indexPath(forSupplementaryView view: CollectionReusableView) -> IndexPath?
    +
    public final func indexPath(forSupplementaryView view: CollectionReusableView) -> IndexPath?
    @@ -3482,7 +3482,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func supplementaryViews(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    +
    public final func supplementaryViews(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    @@ -3544,7 +3544,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func supplementaryView(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    +
    public final func supplementaryView(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    @@ -3617,7 +3617,7 @@

    Programatic Scrollin

    Declaration

    Swift

    -
    public func scrollItem(at indexPath: IndexPath, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    +
    public func scrollItem(at indexPath: IndexPath, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    @@ -3699,7 +3699,7 @@

    Parameters

    Declaration

    Swift

    -
    public func scrollRect(_ aRect: CGRect, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    +
    public func scrollRect(_ aRect: CGRect, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    @@ -3775,9 +3775,9 @@

    Dragging Source

  • @@ -3792,7 +3792,7 @@

    Dragging Source

    Declaration

    Swift

    -
    public var indexPathsForDraggingItems : [IndexPath]
    +
    public var indexPathsForDraggingItems : [IndexPath]
    @@ -3823,7 +3823,7 @@

    Declaration

    Declaration

    Swift

    -
    public func applyChanges(from changeSet: CollectionViewResultsProxy, completion: AnimationCompletion? = nil)
    +
    public func applyChanges(from changeSet: CollectionViewResultsProxy, completion: AnimationCompletion? = nil)
    @@ -3869,8 +3869,8 @@

    Parameters

    diff --git a/docs/Classes/CollectionViewCell.html b/docs/Classes/CollectionViewCell.html index c0155b1..9664c79 100644 --- a/docs/Classes/CollectionViewCell.html +++ b/docs/Classes/CollectionViewCell.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewCell

    -
    open class CollectionViewCell : CollectionReusableView
    +
    open class CollectionViewCell : CollectionReusableView
    @@ -278,9 +278,9 @@

    State

  • @@ -295,7 +295,7 @@

    State

    Declaration

    Swift

    -
    public var highlighted: Bool
    +
    public var highlighted: Bool
    @@ -305,9 +305,9 @@

    Declaration

  • - + - selected + selected
    @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public var selected : Bool
    +
    public var selected : Bool
    @@ -348,7 +348,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func prepareForReuse()
    +
    open override func prepareForReuse()
    @@ -369,9 +369,9 @@

    Registration & Reuse Helpers

  • @@ -386,7 +386,7 @@

    Registration & Reuse Helpers

    Declaration

    Swift

    -
    open class var defaultReuseIdentifier : String
    +
    open class var defaultReuseIdentifier : String
    @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    open class func register(in collectionView: CollectionView)
    +
    open class func register(in collectionView: CollectionView)
    @@ -459,7 +459,7 @@

    Parameters

    Declaration

    Swift

    -
    open class func deque(for indexPath: IndexPath, in collectionView: CollectionView) -> CollectionViewCell
    +
    open class func deque(for indexPath: IndexPath, in collectionView: CollectionView) -> CollectionViewCell
    @@ -509,8 +509,8 @@

    Return Value

    diff --git a/docs/Classes/CollectionViewColumnLayout.html b/docs/Classes/CollectionViewColumnLayout.html index e9ebb81..44bdf6b 100644 --- a/docs/Classes/CollectionViewColumnLayout.html +++ b/docs/Classes/CollectionViewColumnLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewColumnLayout

    -
    open class CollectionViewColumnLayout : CollectionViewLayout
    +
    open class CollectionViewColumnLayout : CollectionViewLayout
    @@ -310,7 +310,7 @@

    CollectionViewColumnLayout

    Declaration

    Swift

    -
    public enum ItemRenderDirection
    +
    public enum ItemRenderDirection
    @@ -331,9 +331,9 @@

    Default layout values

  • @@ -348,7 +348,7 @@

    Default layout values

    Declaration

    Swift

    -
    open var columnCount : NSInteger = 2
    +
    open var columnCount : NSInteger = 2
    @@ -358,9 +358,9 @@

    Declaration

  • @@ -375,7 +375,7 @@

    Declaration

    Declaration

    Swift

    -
    open var columnSpacing : CGFloat = 8
    +
    open var columnSpacing : CGFloat = 8
    @@ -385,9 +385,9 @@

    Declaration

  • @@ -402,7 +402,7 @@

    Declaration

    Declaration

    Swift

    -
    open var interitemSpacing : CGFloat = 8
    +
    open var interitemSpacing : CGFloat = 8
    @@ -412,9 +412,9 @@

    Declaration

  • @@ -429,7 +429,7 @@

    Declaration

    Declaration

    Swift

    -
    open var headerHeight : CGFloat = 0.0
    +
    open var headerHeight : CGFloat = 0.0
    @@ -439,9 +439,9 @@

    Declaration

  • @@ -456,7 +456,7 @@

    Declaration

    Declaration

    Swift

    -
    open var footerHeight : CGFloat = 0.0
    +
    open var footerHeight : CGFloat = 0.0
    @@ -466,9 +466,9 @@

    Declaration

  • @@ -483,7 +483,7 @@

    Declaration

    Declaration

    Swift

    -
    open var itemHeight : CGFloat = 50
    +
    open var itemHeight : CGFloat = 50
    @@ -493,9 +493,9 @@

    Declaration

  • @@ -510,7 +510,7 @@

    Declaration

    Declaration

    Swift

    -
    open var insetSupplementaryViews : Bool = false
    +
    open var insetSupplementaryViews : Bool = false
    @@ -520,9 +520,9 @@

    Declaration

  • @@ -537,7 +537,7 @@

    Declaration

    Declaration

    Swift

    -
    open var invalidateOnBoundsChange : Bool = false
    +
    open var invalidateOnBoundsChange : Bool = false
    @@ -547,9 +547,9 @@

    Declaration

  • @@ -564,7 +564,7 @@

    Declaration

    Declaration

    Swift

    -
    open var sectionInset : NSEdgeInsets = NSEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
    +
    open var sectionInset : NSEdgeInsets = NSEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
    @@ -585,9 +585,9 @@

    Render Options

  • @@ -602,7 +602,7 @@

    Render Options

    Declaration

    Swift

    -
    open var itemRenderDirection : ItemRenderDirection = .leftToRight
    +
    open var itemRenderDirection : ItemRenderDirection = .leftToRight
    @@ -612,9 +612,9 @@

    Declaration

  • @@ -629,7 +629,7 @@

    Declaration

    Declaration

    Swift

    -
    public var itemWidth : CGFloat
    +
    public var itemWidth : CGFloat
    @@ -655,7 +655,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    +
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    @@ -681,7 +681,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func prepare()
    +
    override open func prepare()
    @@ -691,9 +691,9 @@

    Declaration

  • @@ -707,7 +707,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize : CGSize
    +
    override open var collectionViewContentSize : CGSize
    @@ -733,7 +733,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -759,7 +759,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -785,7 +785,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -811,7 +811,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -837,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -863,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -889,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -904,8 +904,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewController.html b/docs/Classes/CollectionViewController.html index a7b4fb9..1bc7d2b 100644 --- a/docs/Classes/CollectionViewController.html +++ b/docs/Classes/CollectionViewController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewController

    -
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    +
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    @@ -294,7 +294,7 @@

    Data Source

    Declaration

    Swift

    -
    open func numberOfSections(in collectionView: CollectionView) -> Int
    +
    open func numberOfSections(in collectionView: CollectionView) -> Int
    @@ -320,7 +320,7 @@

    Declaration

    Declaration

    Swift

    -
    open func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    +
    open func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    @@ -346,7 +346,7 @@

    Declaration

    Declaration

    Swift

    -
    open func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    open func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -384,7 +384,7 @@

    Layout

    Declaration

    Swift

    -
    open func adjustContentInsets(_ insets: NSEdgeInsets)
    +
    open func adjustContentInsets(_ insets: NSEdgeInsets)
    @@ -430,7 +430,7 @@

    Parameters

    Declaration

    Swift

    -
    open func adjustConstraint(_ attribute: NSLayoutConstraint.Attribute, value: CGFloat?)
    +
    open func adjustConstraint(_ attribute: NSLayoutConstraint.Attribute, value: CGFloat?)
    @@ -476,8 +476,8 @@

    Parameters

    diff --git a/docs/Classes/CollectionViewFlowLayout.html b/docs/Classes/CollectionViewFlowLayout.html index e59eb8d..cbce8a1 100644 --- a/docs/Classes/CollectionViewFlowLayout.html +++ b/docs/Classes/CollectionViewFlowLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewFlowLayout

    -
    open class CollectionViewFlowLayout : CollectionViewLayout
    +
    open class CollectionViewFlowLayout : CollectionViewLayout
    @@ -269,21 +269,21 @@

    CollectionViewFlowLayout

    Span items are always placed an their own row and fill the width of the Collection View.

    Example

    -
    +---------------------------------+
    -|   +-----+ +------------+ +--+   |
    -|   |  1  | |     2      | | 3|   |
    -|   |     | |            | |  |   |
    -|   +-----+ +------------+ +--+   |
    -|   +--------+ +---------+        |
    -|   |   4    | |   5     |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   +--------+ +---------+        |
    -|   +-------------------------+   |
    -|   |         6. Span         |   |
    -|   +-------------------------+   |
    -+---------------------------------+
    +
    +---------------------------------+
    +|   +-----+ +------------+ +--+   |
    +|   |  1  | |     2      | | 3|   |
    +|   |     | |            | |  |   |
    +|   +-----+ +------------+ +--+   |
    +|   +--------+ +---------+        |
    +|   |   4    | |   5     |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   +--------+ +---------+        |
    +|   +-------------------------+   |
    +|   |         6. Span         |   |
    +|   +-------------------------+   |
    ++---------------------------------+
     

    Transformations

    @@ -315,9 +315,9 @@

    Options

  • @@ -332,7 +332,7 @@

    Options

    Declaration

    Swift

    -
    public var interitemSpacing: CGFloat = 8
    +
    public var interitemSpacing: CGFloat = 8
    @@ -342,9 +342,9 @@

    Declaration

  • @@ -359,7 +359,7 @@

    Declaration

    Declaration

    Swift

    -
    public var interpanSpacing : CGFloat?
    +
    public var interpanSpacing : CGFloat?
    @@ -369,9 +369,9 @@

    Declaration

  • @@ -386,7 +386,7 @@

    Declaration

    Declaration

    Swift

    -
    public var spanGroupSpacingBefore : CGFloat?
    +
    public var spanGroupSpacingBefore : CGFloat?
    @@ -396,9 +396,9 @@

    Declaration

  • @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    public var spanGroupSpacingAfter : CGFloat?
    +
    public var spanGroupSpacingAfter : CGFloat?
    @@ -423,9 +423,9 @@

    Declaration

  • @@ -440,7 +440,7 @@

    Declaration

    Declaration

    Swift

    -
    public var insetSupplementaryViews = true
    +
    public var insetSupplementaryViews = true
    @@ -461,9 +461,9 @@

    Layout Information

  • @@ -478,7 +478,7 @@

    Layout Information

    Declaration

    Swift

    -
    private(set) public var widthOfLastRow : CGFloat?
    +
    private(set) public var widthOfLastRow : CGFloat?
    @@ -511,7 +511,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum RowTransform
    +
    public enum RowTransform
    @@ -539,7 +539,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ItemStyle
    +
    public enum ItemStyle
    @@ -576,7 +576,7 @@

    Layout Overrides

    Declaration

    Swift

    -
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -602,7 +602,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func prepare()
    +
    override open func prepare()
    @@ -628,7 +628,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    override open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -654,7 +654,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    override open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -680,7 +680,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    override open func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -706,7 +706,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -732,7 +732,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -742,9 +742,9 @@

    Declaration

  • @@ -758,7 +758,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize: CGSize
    +
    override open var collectionViewContentSize: CGSize
    @@ -784,7 +784,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -810,7 +810,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -825,8 +825,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewFlowLayout/ItemStyle.html b/docs/Classes/CollectionViewFlowLayout/ItemStyle.html index faf630e..b042049 100644 --- a/docs/Classes/CollectionViewFlowLayout/ItemStyle.html +++ b/docs/Classes/CollectionViewFlowLayout/ItemStyle.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    ItemStyle

    -
    public enum ItemStyle
    +
    public enum ItemStyle
    @@ -288,7 +288,7 @@

    ItemStyle

    Declaration

    Swift

    -
    case flow(CGSize)
    +
    case flow(CGSize)
    @@ -319,7 +319,7 @@

    Declaration

    Declaration

    Swift

    -
    case span(CGSize)
    +
    case span(CGSize)
    @@ -334,8 +334,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewHorizontalListLayout.html b/docs/Classes/CollectionViewHorizontalListLayout.html index 85995d1..dfe1159 100644 --- a/docs/Classes/CollectionViewHorizontalListLayout.html +++ b/docs/Classes/CollectionViewHorizontalListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewHorizontalListLayout

    -
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    +
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    @@ -271,9 +271,9 @@

    CollectionViewHorizontalListLayout

  • @@ -287,7 +287,7 @@

    CollectionViewHorizontalListLayout

    Declaration

    Swift

    -
    override open var scrollDirection : CollectionViewScrollDirection
    +
    override open var scrollDirection : CollectionViewScrollDirection
    @@ -313,7 +313,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func prepare()
    +
    open override func prepare()
    @@ -339,7 +339,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -349,9 +349,9 @@

    Declaration

  • @@ -365,7 +365,7 @@

    Declaration

    Declaration

    Swift

    -
    open override var collectionViewContentSize : CGSize
    +
    open override var collectionViewContentSize : CGSize
    @@ -391,7 +391,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -417,7 +417,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -443,7 +443,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -469,7 +469,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -484,8 +484,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewLayout.html b/docs/Classes/CollectionViewLayout.html index 5752f3e..eec8fd1 100644 --- a/docs/Classes/CollectionViewLayout.html +++ b/docs/Classes/CollectionViewLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewLayout

    -
    open class CollectionViewLayout : NSObject
    +
    open class CollectionViewLayout : NSObject
    @@ -271,9 +271,9 @@

    CollectionViewLayout

  • @@ -288,7 +288,7 @@

    CollectionViewLayout

    Declaration

    Swift

    -
    open var scrollDirection : CollectionViewScrollDirection
    +
    open var scrollDirection : CollectionViewScrollDirection
    @@ -298,9 +298,9 @@

    Declaration

  • @@ -315,7 +315,7 @@

    Declaration

    Declaration

    Swift

    -
    open var collectionViewContentSize : CGSize
    +
    open var collectionViewContentSize : CGSize
    @@ -325,9 +325,9 @@

    Declaration

  • @@ -342,7 +342,7 @@

    Declaration

    Declaration

    Swift

    -
    open var pinHeadersToTop: Bool = true
    +
    open var pinHeadersToTop: Bool = true
    @@ -380,7 +380,7 @@

    Layout Validation

    Declaration

    Swift

    -
    open func invalidate()
    +
    open func invalidate()
    @@ -407,7 +407,7 @@

    Declaration

    Declaration

    Swift

    -
    open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -461,7 +461,7 @@

    Discussion

    Declaration

    Swift

    -
    open func prepare()
    +
    open func prepare()
    @@ -482,9 +482,9 @@

    Index Paths

  • @@ -501,7 +501,7 @@

    Index Paths

    Declaration

    Swift

    -
    public var allIndexPaths = OrderedSet<IndexPath>()
    +
    public var allIndexPaths = OrderedSet<IndexPath>()
    @@ -539,7 +539,7 @@

    Layout Attributes

    Declaration

    Swift

    -
    open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -588,7 +588,7 @@

    Important

    Declaration

    Swift

    -
    open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -637,7 +637,7 @@

    Important

    Declaration

    Swift

    -
    open func layoutAttributesForSupplementaryView(ofKind kind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open func layoutAttributesForSupplementaryView(ofKind kind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -706,7 +706,7 @@

    Section Frames

    Declaration

    Swift

    -
    open func rectForSection(_ section: Int) -> CGRect
    +
    open func rectForSection(_ section: Int) -> CGRect
    @@ -756,7 +756,7 @@

    Return Value

    Declaration

    Swift

    -
    open func contentRectForSection(_ section: Int) -> CGRect
    +
    open func contentRectForSection(_ section: Int) -> CGRect
    @@ -819,7 +819,7 @@

    Scroll Frames

    Declaration

    Swift

    -
    open func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -888,7 +888,7 @@

    Item Direction

    Declaration

    Swift

    -
    open func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -934,8 +934,8 @@

    Parameters

    diff --git a/docs/Classes/CollectionViewLayoutAttributes.html b/docs/Classes/CollectionViewLayoutAttributes.html index f1805f9..ffedcca 100644 --- a/docs/Classes/CollectionViewLayoutAttributes.html +++ b/docs/Classes/CollectionViewLayoutAttributes.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewLayoutAttributes

    -
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    +
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    @@ -278,9 +278,9 @@

    Identifying the Referenced Item

  • @@ -295,7 +295,7 @@

    Identifying the Referenced Item

    Declaration

    Swift

    -
    public let indexPath: IndexPath
    +
    public let indexPath: IndexPath
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public let representedElementCategory: CollectionElementCategory
    +
    public let representedElementCategory: CollectionElementCategory
    @@ -332,9 +332,9 @@

    Declaration

  • @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public let representedElementKind: String?
    +
    public let representedElementKind: String?
    @@ -370,9 +370,9 @@

    Accessing the Layout Attributes

  • - + - frame + frame
    @@ -387,7 +387,7 @@

    Accessing the Layout Attributes

    Declaration

    Swift

    -
    public var frame: CGRect = CGRect.zero
    +
    public var frame: CGRect = CGRect.zero
    @@ -397,9 +397,9 @@

    Declaration

  • - + - center + center
    @@ -414,7 +414,7 @@

    Declaration

    Declaration

    Swift

    -
    public var center: CGPoint
    +
    public var center: CGPoint
    @@ -424,9 +424,9 @@

    Declaration

  • - + - size + size
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    public var size: CGSize
    +
    public var size: CGSize
    @@ -451,9 +451,9 @@

    Declaration

  • - + - bounds + bounds
    @@ -468,7 +468,7 @@

    Declaration

    Declaration

    Swift

    -
    public var bounds: CGRect
    +
    public var bounds: CGRect
    @@ -478,9 +478,9 @@

    Declaration

  • - + - alpha + alpha
    @@ -495,7 +495,7 @@

    Declaration

    Declaration

    Swift

    -
    public var alpha: CGFloat = 1
    +
    public var alpha: CGFloat = 1
    @@ -505,9 +505,9 @@

    Declaration

  • - + - zIndex + zIndex
    @@ -522,7 +522,7 @@

    Declaration

    Declaration

    Swift

    -
    public var zIndex: CGFloat = 0
    +
    public var zIndex: CGFloat = 0
    @@ -532,9 +532,9 @@

    Declaration

  • - + - hidden + hidden
    @@ -549,7 +549,7 @@

    Declaration

    Declaration

    Swift

    -
    public var hidden: Bool = false
    +
    public var hidden: Bool = false
    @@ -559,9 +559,9 @@

    Declaration

  • - + - floating + floating
    @@ -576,7 +576,7 @@

    Declaration

    Declaration

    Swift

    -
    public var floating: Bool = false
    +
    public var floating: Bool = false
    @@ -614,7 +614,7 @@

    Creating Layout Attributes

    Declaration

    Swift

    -
    public init(forCellWith indexPath: IndexPath)
    +
    public init(forCellWith indexPath: IndexPath)
    @@ -660,7 +660,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath)
    +
    public init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath)
    @@ -701,9 +701,9 @@

    Parameters

  • @@ -717,7 +717,7 @@

    Parameters

    Declaration

    Swift

    -
    public var description: String
    +
    public var description: String
    @@ -749,7 +749,7 @@

    Declaration

    Declaration

    Swift

    -
    public func copy() -> CollectionViewLayoutAttributes
    +
    public func copy() -> CollectionViewLayoutAttributes
    @@ -768,8 +768,8 @@

    Return Value

    diff --git a/docs/Classes/CollectionViewListLayout.html b/docs/Classes/CollectionViewListLayout.html index e4bc012..2912301 100644 --- a/docs/Classes/CollectionViewListLayout.html +++ b/docs/Classes/CollectionViewListLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewListLayout

    -
    public final class CollectionViewListLayout : CollectionViewLayout
    +
    public final class CollectionViewListLayout : CollectionViewLayout
    @@ -278,9 +278,9 @@

    Default layout values

  • @@ -295,7 +295,7 @@

    Default layout values

    Declaration

    Swift

    -
    public final var interitemSpacing : CGFloat = 0
    +
    public final var interitemSpacing : CGFloat = 0
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var itemHeight : CGFloat = 36
    +
    public final var itemHeight : CGFloat = 36
    @@ -332,9 +332,9 @@

    Declaration

  • @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var headerHeight : CGFloat = 0.0
    +
    public final var headerHeight : CGFloat = 0.0
    @@ -359,9 +359,9 @@

    Declaration

  • @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var footerHeight : CGFloat = 0.0
    +
    public final var footerHeight : CGFloat = 0.0
    @@ -386,9 +386,9 @@

    Declaration

  • @@ -403,7 +403,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var insetSupplementaryViews : Bool = false
    +
    public final var insetSupplementaryViews : Bool = false
    @@ -413,9 +413,9 @@

    Declaration

  • @@ -430,7 +430,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var sectionInsets : NSEdgeInsets = NSEdgeInsetsZero
    +
    public final var sectionInsets : NSEdgeInsets = NSEdgeInsetsZero
    @@ -456,7 +456,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    +
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    @@ -482,7 +482,7 @@

    Declaration

    Declaration

    Swift

    -
    override public func prepare()
    +
    override public func prepare()
    @@ -492,9 +492,9 @@

    Declaration

  • @@ -508,7 +508,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize : CGSize
    +
    override open var collectionViewContentSize : CGSize
    @@ -534,7 +534,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -560,7 +560,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func contentRectForSection(_ section: Int) -> CGRect
    +
    public override func contentRectForSection(_ section: Int) -> CGRect
    @@ -586,7 +586,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -612,7 +612,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    public override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -638,7 +638,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    public override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -664,7 +664,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    public override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -690,7 +690,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    public override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -705,8 +705,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewPreviewCell.html b/docs/Classes/CollectionViewPreviewCell.html index a11c210..93d62d8 100644 --- a/docs/Classes/CollectionViewPreviewCell.html +++ b/docs/Classes/CollectionViewPreviewCell.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewPreviewCell

    -
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    +
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    @@ -287,7 +287,7 @@

    CollectionViewPreviewCell

    Declaration

    Swift

    -
    open override func prepareForReuse()
    +
    open override func prepareForReuse()
    @@ -324,7 +324,7 @@

    Transitioning From Source

    Declaration

    Swift

    -
    open func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    open func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -350,7 +350,7 @@

    Declaration

    Declaration

    Swift

    -
    open func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    open func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    open func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -413,7 +413,7 @@

    Transitioning To Source

    Declaration

    Swift

    -
    open func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -439,7 +439,7 @@

    Declaration

    Declaration

    Swift

    -
    open func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -465,7 +465,7 @@

    Declaration

    Declaration

    Swift

    -
    open func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    +
    open func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    @@ -480,8 +480,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewPreviewController.html b/docs/Classes/CollectionViewPreviewController.html index c5d72d4..2622ac3 100644 --- a/docs/Classes/CollectionViewPreviewController.html +++ b/docs/Classes/CollectionViewPreviewController.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewController

    -
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    +
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    @@ -295,9 +295,9 @@

    Delegate

  • - + - delegate + delegate
    @@ -312,7 +312,7 @@

    Delegate

    Declaration

    Swift

    -
    open weak var delegate : CollectionViewPreviewControllerDelegate?
    +
    open weak var delegate : CollectionViewPreviewControllerDelegate?
    @@ -333,9 +333,9 @@

    Styling

  • @@ -350,7 +350,7 @@

    Styling

    Declaration

    Swift

    -
    open var backgroundColor: NSColor = NSColor.white
    +
    open var backgroundColor: NSColor = NSColor.white
    @@ -377,7 +377,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func viewDidLoad()
    +
    open override func viewDidLoad()
    @@ -398,9 +398,9 @@

    Source & Data

  • @@ -415,7 +415,7 @@

    Source & Data

    Declaration

    Swift

    -
    private(set) public var sourceCollectionView : CollectionView?
    +
    private(set) public var sourceCollectionView : CollectionView?
    @@ -425,9 +425,9 @@

    Declaration

  • @@ -442,7 +442,7 @@

    Declaration

    Declaration

    Swift

    -
    private(set) public var sourceIndexPath : IndexPath?
    +
    private(set) public var sourceIndexPath : IndexPath?
    @@ -452,9 +452,9 @@

    Declaration

  • @@ -469,7 +469,7 @@

    Declaration

    Declaration

    Swift

    -
    public var currentIndexPath : IndexPath?
    +
    public var currentIndexPath : IndexPath?
    @@ -490,9 +490,9 @@

    Transitions

  • @@ -507,7 +507,7 @@

    Transitions

    Declaration

    Swift

    -
    open var transitionDuration : TimeInterval = 0.25
    +
    open var transitionDuration : TimeInterval = 0.25
    @@ -542,7 +542,7 @@

    Declaration

    Declaration

    Swift

    -
    open func present(in controller: NSViewController, source sourceCollectionView: CollectionView, indexPath: IndexPath, completion: AnimationCompletion? = nil)
    +
    open func present(in controller: NSViewController, source sourceCollectionView: CollectionView, indexPath: IndexPath, completion: AnimationCompletion? = nil)
    @@ -624,7 +624,7 @@

    Parameters

    Declaration

    Swift

    -
    open func dismiss(animated: Bool, completion: AnimationCompletion? = nil)
    +
    open func dismiss(animated: Bool, completion: AnimationCompletion? = nil)
    @@ -670,8 +670,8 @@

    Parameters

    diff --git a/docs/Classes/CollectionViewProvider.html b/docs/Classes/CollectionViewProvider.html index b60a29b..976a51b 100644 --- a/docs/Classes/CollectionViewProvider.html +++ b/docs/Classes/CollectionViewProvider.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewProvider

    -
    public class CollectionViewProvider : CollectionViewResultsProxy
    +
    public class CollectionViewProvider : CollectionViewResultsProxy
    @@ -271,9 +271,9 @@

    CollectionViewProvider

  • @@ -288,7 +288,7 @@

    CollectionViewProvider

    Declaration

    Swift

    -
    public unowned let collectionView : CollectionView
    +
    public unowned let collectionView : CollectionView
    @@ -298,9 +298,9 @@

    Declaration

  • @@ -320,7 +320,7 @@

    Discussion

    Declaration

    Swift

    -
    public var populateEmptySections = false
    +
    public var populateEmptySections = false
    @@ -330,9 +330,9 @@

    Declaration

  • @@ -352,7 +352,7 @@

    Discussion

    Declaration

    Swift

    -
    public var populateWhenEmpty = false
    +
    public var populateWhenEmpty = false
    @@ -382,7 +382,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerDidLoadContent(controller: ResultsController)
    +
    public func controllerDidLoadContent(controller: ResultsController)
    @@ -408,7 +408,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerWillChangeContent(controller: ResultsController)
    +
    public func controllerWillChangeContent(controller: ResultsController)
    @@ -434,7 +434,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    public func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -460,7 +460,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    public func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -486,7 +486,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerDidChangeContent(controller: ResultsController)
    +
    public func controllerDidChangeContent(controller: ResultsController)
    @@ -501,8 +501,8 @@

    Declaration

    diff --git a/docs/Classes/CollectionViewResultsProxy.html b/docs/Classes/CollectionViewResultsProxy.html index 978a3c6..7e4ebad 100644 --- a/docs/Classes/CollectionViewResultsProxy.html +++ b/docs/Classes/CollectionViewResultsProxy.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewResultsProxy

    -
    public class CollectionViewResultsProxy
    +
    public class CollectionViewResultsProxy
    @@ -288,7 +288,7 @@

    CollectionViewResultsProxy

    Declaration

    Swift

    -
    public func addChange(forItemAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    +
    public func addChange(forItemAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    @@ -346,7 +346,7 @@

    Parameters

    Declaration

    Swift

    -
    public func addChange(forSectionAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    +
    public func addChange(forSectionAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    @@ -387,9 +387,9 @@

    Parameters

  • - + - count + count
    @@ -404,7 +404,7 @@

    Parameters

    Declaration

    Swift

    -
    public var count : Int
    +
    public var count : Int
    @@ -431,7 +431,7 @@

    Declaration

    Declaration

    Swift

    -
    public func union(with other: CollectionViewResultsProxy)
    +
    public func union(with other: CollectionViewResultsProxy)
    @@ -465,8 +465,8 @@

    Parameters

    diff --git a/docs/Classes/FetchedResultsController.html b/docs/Classes/FetchedResultsController.html index bd34de6..ad0f211 100644 --- a/docs/Classes/FetchedResultsController.html +++ b/docs/Classes/FetchedResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    FetchedResultsController

    -
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    +
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    @@ -299,7 +299,7 @@

    Initialization

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionKeyPath: KeyPath<Element,Section>? = nil)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionKeyPath: KeyPath<Element,Section>? = nil)
    @@ -363,9 +363,9 @@

    Configuration

  • - + - delegate + delegate
    @@ -380,7 +380,7 @@

    Configuration

    Declaration

    Swift

    -
    public override weak var delegate: ResultsControllerDelegate?
    +
    public override weak var delegate: ResultsControllerDelegate?
    @@ -390,9 +390,9 @@

    Declaration

  • @@ -407,7 +407,7 @@

    Declaration

    Declaration

    Swift

    -
    public let fetchRequest : NSFetchRequest<Element>
    +
    public let fetchRequest : NSFetchRequest<Element>
    @@ -417,9 +417,9 @@

    Declaration

  • @@ -434,7 +434,7 @@

    Declaration

    Declaration

    Swift

    -
    public var managedObjectContext: NSManagedObjectContext
    +
    public var managedObjectContext: NSManagedObjectContext
    @@ -461,7 +461,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    +
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    @@ -527,7 +527,7 @@

    Status

    Declaration

    Swift

    -
    public func performFetch() throws
    +
    public func performFetch() throws
    @@ -554,7 +554,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func reset()
    +
    public override func reset()
    @@ -569,8 +569,8 @@

    Declaration

    diff --git a/docs/Classes/FetchedSetController.html b/docs/Classes/FetchedSetController.html index bbc01f6..a88a714 100644 --- a/docs/Classes/FetchedSetController.html +++ b/docs/Classes/FetchedSetController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    FetchedSetController

    -
    public class FetchedSetController : NSObject
    +
    public class FetchedSetController : NSObject
    @@ -295,7 +295,7 @@

    Initialization

    Declaration

    Swift

    -
    convenience public init(context: NSManagedObjectContext, entityName: String)
    +
    convenience public init(context: NSManagedObjectContext, entityName: String)
    @@ -353,7 +353,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<NSManagedObject>)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<NSManagedObject>)
    @@ -416,7 +416,7 @@

    Parameters

    Declaration

    Swift

    -
    @discardableResult public func performFetch() throws -> [NSManagedObject]
    +
    @discardableResult public func performFetch() throws -> [NSManagedObject]
    @@ -447,7 +447,7 @@

    Return Value

    Declaration

    Swift

    -
    public func reset()
    +
    public func reset()
    @@ -468,9 +468,9 @@

    Configuration

  • @@ -485,7 +485,7 @@

    Configuration

    Declaration

    Swift

    -
    public private(set) var managedObjectContext : NSManagedObjectContext
    +
    public private(set) var managedObjectContext : NSManagedObjectContext
    @@ -512,7 +512,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    +
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    @@ -545,9 +545,9 @@

    Return Value

  • @@ -562,7 +562,7 @@

    Return Value

    Declaration

    Swift

    -
    public let fetchRequest : NSFetchRequest<NSManagedObject>
    +
    public let fetchRequest : NSFetchRequest<NSManagedObject>
    @@ -572,9 +572,9 @@

    Declaration

  • - + - delegate + delegate
    @@ -589,7 +589,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var delegate: FetchedSetControllerDelegate?
    +
    public weak var delegate: FetchedSetControllerDelegate?
    @@ -610,9 +610,9 @@

    Contents

  • @@ -627,7 +627,7 @@

    Contents

    Declaration

    Swift

    -
    public var numberOfObjects : Int
    +
    public var numberOfObjects : Int
    @@ -648,9 +648,9 @@

    Notification Registration

  • - + - wait + wait
    @@ -665,7 +665,7 @@

    Notification Registration

    Declaration

    Swift

    -
    public var wait: Bool = true
    +
    public var wait: Bool = true
    @@ -680,8 +680,8 @@

    Declaration

    diff --git a/docs/Classes/MutableResultsController.html b/docs/Classes/MutableResultsController.html index 2dab8b8..5e04b5f 100644 --- a/docs/Classes/MutableResultsController.html +++ b/docs/Classes/MutableResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    MutableResultsController

    -
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    +
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    @@ -278,9 +278,9 @@

    Configuration

  • @@ -295,7 +295,7 @@

    Configuration

    Declaration

    Swift

    -
    public var isSectioned: Bool
    +
    public var isSectioned: Bool
    @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section>?)
    +
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section>?)
    @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section?>)
    +
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section?>)
    @@ -359,9 +359,9 @@

    Declaration

  • - + - delegate + delegate
    @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var delegate: ResultsControllerDelegate?
    +
    public weak var delegate: ResultsControllerDelegate?
    @@ -397,9 +397,9 @@

    Controller Contents

  • @@ -414,7 +414,7 @@

    Controller Contents

    Declaration

    Swift

    -
    public var numberOfSections : Int
    +
    public var numberOfSections : Int
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    public func numberOfObjects(in section: Int) -> Int
    +
    public func numberOfObjects(in section: Int) -> Int
    @@ -474,9 +474,9 @@

    Return Value

  • @@ -493,7 +493,7 @@

    Return Value

    Declaration

    Swift

    -
    public var allObjects: [Element]
    +
    public var allObjects: [Element]
    @@ -503,9 +503,9 @@

    Declaration

  • - + - sections + sections
    @@ -522,7 +522,7 @@

    Declaration

    Declaration

    Swift

    -
    public var sections: [SectionInfo<Section,Element>]
    +
    public var sections: [SectionInfo<Section,Element>]
    @@ -555,7 +555,7 @@

    Declaration

    Declaration

    Swift

    -
    public func sectionName(forSectionAt indexPath: IndexPath) -> String
    +
    public func sectionName(forSectionAt indexPath: IndexPath) -> String
    @@ -616,7 +616,7 @@

    Querying Sections & Objects

    Declaration

    Swift

    -
    public func object(at indexPath: IndexPath) -> Element?
    +
    public func object(at indexPath: IndexPath) -> Element?
    @@ -666,7 +666,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(at sectionIndexPath: IndexPath) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(at sectionIndexPath: IndexPath) -> SectionInfo<Section,Element>?
    @@ -716,7 +716,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(at sectionIndex: Int) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(at sectionIndex: Int) -> SectionInfo<Section,Element>?
    @@ -766,7 +766,7 @@

    Return Value

    Declaration

    Swift

    -
    public func object(forSectionAt sectionIndexPath: IndexPath) -> Section?
    +
    public func object(forSectionAt sectionIndexPath: IndexPath) -> Section?
    @@ -816,7 +816,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(representing section: Section?) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(representing section: Section?) -> SectionInfo<Section,Element>?
    @@ -866,7 +866,7 @@

    Return Value

    Declaration

    Swift

    -
    public func contains(object: Element) -> Bool
    +
    public func contains(object: Element) -> Bool
    @@ -916,7 +916,7 @@

    Return Value

    Declaration

    Swift

    -
    public func contains(sectionObject: Section) -> Bool
    +
    public func contains(sectionObject: Section) -> Bool
    @@ -977,7 +977,7 @@

    Getting IndexPaths

    Declaration

    Swift

    -
    public func indexPath(of object: Element) -> IndexPath?
    +
    public func indexPath(of object: Element) -> IndexPath?
    @@ -1027,7 +1027,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPath(of sectionInfo: SectionInfo<Section,Element>) -> IndexPath?
    +
    public func indexPath(of sectionInfo: SectionInfo<Section,Element>) -> IndexPath?
    @@ -1079,7 +1079,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathOfSection(representing sectionValue: Section?) -> IndexPath?
    +
    public func indexPathOfSection(representing sectionValue: Section?) -> IndexPath?
    @@ -1140,7 +1140,7 @@

    Storage Manipulation

    Declaration

    Swift

    -
    public func setContent(_ content: [(Section,[Element])])
    +
    public func setContent(_ content: [(Section,[Element])])
    @@ -1186,7 +1186,7 @@

    Parameters

    Declaration

    Swift

    -
    public func setContent(sections: [Section] = [], objects: [Element])
    +
    public func setContent(sections: [Section] = [], objects: [Element])
    @@ -1232,7 +1232,7 @@

    Parameters

    Declaration

    Swift

    -
    public func reset()
    +
    public func reset()
    @@ -1253,9 +1253,9 @@

    Making Updates

  • @@ -1270,7 +1270,7 @@

    Making Updates

    Declaration

    Swift

    -
    public var pendingChangeCount : Int
    +
    public var pendingChangeCount : Int
    @@ -1280,9 +1280,9 @@

    Declaration

  • @@ -1297,7 +1297,7 @@

    Declaration

    Declaration

    Swift

    -
    public var pendingItemChangeCount : Int
    +
    public var pendingItemChangeCount : Int
    @@ -1324,7 +1324,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginEditing()
    +
    public func beginEditing()
    @@ -1351,7 +1351,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endEditing()
    +
    public func endEditing()
    @@ -1372,9 +1372,9 @@

    Section Manipulation

  • @@ -1389,7 +1389,7 @@

    Section Manipulation

    Declaration

    Swift

    -
    public func delete(section: Section)
    +
    public func delete(section: Section)
    @@ -1418,9 +1418,9 @@

    Parameters

  • @@ -1435,7 +1435,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert(section: Section)
    +
    public func insert(section: Section)
    @@ -1464,9 +1464,9 @@

    Parameters

  • @@ -1483,7 +1483,7 @@

    Parameters

    Declaration

    Swift

    -
    public func didUpdate(section: Section)
    +
    public func didUpdate(section: Section)
    @@ -1523,9 +1523,9 @@

    Object Manipulation

  • @@ -1540,7 +1540,7 @@

    Object Manipulation

    Declaration

    Swift

    -
    public func delete<C : Collection>(objects deletedObjects: C) where C.Iterator.Element == Element
    +
    public func delete<C : Collection>(objects deletedObjects: C) where C.Iterator.Element == Element
    @@ -1569,9 +1569,9 @@

    Parameters

  • @@ -1586,7 +1586,7 @@

    Parameters

    Declaration

    Swift

    -
    public func delete(object: Element)
    +
    public func delete(object: Element)
    @@ -1615,9 +1615,9 @@

    Parameters

  • @@ -1632,7 +1632,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert<C : Collection>(objects newObjects: C) where C.Iterator.Element == Element
    +
    public func insert<C : Collection>(objects newObjects: C) where C.Iterator.Element == Element
    @@ -1661,9 +1661,9 @@

    Parameters

  • @@ -1678,7 +1678,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert(object: Element)
    +
    public func insert(object: Element)
    @@ -1707,9 +1707,9 @@

    Parameters

  • @@ -1726,7 +1726,7 @@

    Parameters

    Declaration

    Swift

    -
    public func didUpdate(object: Element)
    +
    public func didUpdate(object: Element)
    @@ -1760,8 +1760,8 @@

    Parameters

    diff --git a/docs/Classes/RelationalResultsController.html b/docs/Classes/RelationalResultsController.html index f80621f..8102a24 100644 --- a/docs/Classes/RelationalResultsController.html +++ b/docs/Classes/RelationalResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,34 +255,34 @@

    RelationalResultsController

    -
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    +
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    In a FetchedResultsController (and NSFetchedResultsController) you would use sectionKeyPath to achieve the following:

    -
    Things
    -   { sectionKeyPath : "Things" }
    -   { sectionKeyPath : "Things" }
    +
    Things
    +   { sectionKeyPath : "Things" }
    +   { sectionKeyPath : "Things" }
     
    -Not Things
    -   { sectionKeyPath : "Not Things" }
    -   { sectionKeyPath : "Not Things" }
    +Not Things
    +   { sectionKeyPath : "Not Things" }
    +   { sectionKeyPath : "Not Things" }
     

    While this is great, it does not work well for the common Parent-Child data model. In a Department - Employee model for example we woul want:

    -
    Sales {}
    -   Jim {}
    -   Samantha {}
    +
    Sales {}
    +   Jim {}
    +   Samantha {}
     
    -Managment {}
    -   Sarah {}
    -   Howard {}
    +Managment {}
    +   Sarah {}
    +   Howard {}
     
     
    -Delivery {}
    -   <No employees>
    +Delivery {}
    +   <No employees>
     

    In this case, both the parent and child are NSManagedObjects joined by a relationship. Also, notice the Delivery department has no employees. With a standard FetchedResultsController where sections consist of the available values in the fetched objects, the Delivery would not be included. With a RelationalResultsController though you can opt to fetch both the sections and object independently (see fetchSections).

    @@ -321,7 +321,7 @@

    Initialization

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionRequest: NSFetchRequest<Section>, sectionKeyPath keyPath: KeyPath<Element, Section?>)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionRequest: NSFetchRequest<Section>, sectionKeyPath keyPath: KeyPath<Element, Section?>)
    @@ -403,7 +403,7 @@

    Parameters

    Declaration

    Swift

    -
    override public func performFetch() throws
    +
    override public func performFetch() throws
    @@ -424,9 +424,9 @@

    Configuration

  • @@ -436,7 +436,7 @@

    Configuration

    A fetch request used to fetch, filter, and sort the section results of the controller.

    -

    This is used to validate the section objects. If fetchSections is true, section objects will be fetched independent of the child objects.

    +

    This is used to validate the section objects. If fetchSections is true, section objects will be fetched independent of the child objects.

    A parent object that does not match the request here, may still be visible if it has children that match the predicate of fetchRequest.

    @@ -445,7 +445,7 @@

    Configuration

    Declaration

    Swift

    -
    public let sectionFetchRequest : NSFetchRequest<Section>
    +
    public let sectionFetchRequest : NSFetchRequest<Section>
    @@ -455,9 +455,9 @@

    Declaration

  • @@ -474,7 +474,7 @@

    Declaration

    Declaration

    Swift

    -
    public var sectionNameKeyPath : String?
    +
    public var sectionNameKeyPath : KeyPath<Section, String>?
    @@ -484,9 +484,9 @@

    Declaration

  • @@ -503,7 +503,7 @@

    Declaration

    Declaration

    Swift

    -
    public var fetchSections : Bool = true
    +
    public var fetchSections : Bool = true
    @@ -540,7 +540,7 @@

    Section Names

    Declaration

    Swift

    -
    public override func sectionName(forSectionAt indexPath: IndexPath) -> String
    +
    public override func sectionName(forSectionAt indexPath: IndexPath) -> String
    @@ -555,8 +555,8 @@

    Declaration

    diff --git a/docs/Collection View Layouts.html b/docs/Collection View Layouts.html index d25ca1c..ed06493 100644 --- a/docs/Collection View Layouts.html +++ b/docs/Collection View Layouts.html @@ -217,7 +217,7 @@ Other Enumerations
  • @@ -281,7 +281,7 @@

    Collection View Layouts

    Declaration

    Swift

    -
    open class CollectionViewLayout : NSObject
    +
    open class CollectionViewLayout : NSObject
    @@ -313,7 +313,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    +
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    @@ -345,7 +345,7 @@

    Declaration

    Declaration

    Swift

    -
    public final class CollectionViewListLayout : CollectionViewLayout
    +
    public final class CollectionViewListLayout : CollectionViewLayout
    @@ -373,7 +373,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    @@ -421,7 +421,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewColumnLayout : CollectionViewLayout
    +
    open class CollectionViewColumnLayout : CollectionViewLayout
    @@ -449,7 +449,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    @@ -483,21 +483,21 @@

    Declaration

    Span items are always placed an their own row and fill the width of the Collection View.

    Example

    -
    +---------------------------------+
    -|   +-----+ +------------+ +--+   |
    -|   |  1  | |     2      | | 3|   |
    -|   |     | |            | |  |   |
    -|   +-----+ +------------+ +--+   |
    -|   +--------+ +---------+        |
    -|   |   4    | |   5     |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   +--------+ +---------+        |
    -|   +-------------------------+   |
    -|   |         6. Span         |   |
    -|   +-------------------------+   |
    -+---------------------------------+
    +
    +---------------------------------+
    +|   +-----+ +------------+ +--+   |
    +|   |  1  | |     2      | | 3|   |
    +|   |     | |            | |  |   |
    +|   +-----+ +------------+ +--+   |
    +|   +--------+ +---------+        |
    +|   |   4    | |   5     |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   +--------+ +---------+        |
    +|   +-------------------------+   |
    +|   |         6. Span         |   |
    +|   +-------------------------+   |
    ++---------------------------------+
     

    Transformations

    @@ -518,7 +518,7 @@

    Spacing

    Declaration

    Swift

    -
    open class CollectionViewFlowLayout : CollectionViewLayout
    +
    open class CollectionViewFlowLayout : CollectionViewLayout
    @@ -546,7 +546,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewDelegateFlowLayout
    +
    public protocol CollectionViewDelegateFlowLayout
    @@ -578,7 +578,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    +
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    @@ -606,7 +606,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    @@ -621,8 +621,8 @@

    Declaration

    diff --git a/docs/Collection View.html b/docs/Collection View.html index 2764ae4..1a4a43d 100644 --- a/docs/Collection View.html +++ b/docs/Collection View.html @@ -217,7 +217,7 @@ Other Enumerations @@ -302,7 +302,7 @@

    Laying Out Items

    Declaration

    Swift

    -
    open class CollectionView : ScrollView, NSDraggingSource
    +
    open class CollectionView : ScrollView, NSDraggingSource
    @@ -345,7 +345,7 @@

    Overview

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDataSource
    +
    @objc public protocol CollectionViewDataSource
    @@ -373,7 +373,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegate
    @@ -401,7 +401,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    +
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    @@ -433,7 +433,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewCell : CollectionReusableView
    +
    open class CollectionViewCell : CollectionReusableView
    @@ -461,7 +461,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionReusableView : NSView
    +
    open class CollectionReusableView : NSView
    @@ -493,7 +493,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    +
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    @@ -524,7 +524,7 @@

    Declaration

    Declaration

    Swift

    -
    public struct CollectionViewLayoutElementKind
    +
    public struct CollectionViewLayoutElementKind
    @@ -560,7 +560,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionElementCategory
    +
    public enum CollectionElementCategory
    @@ -594,7 +594,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewDirection
    +
    public enum CollectionViewDirection
    @@ -626,7 +626,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewScrollDirection
    +
    public enum CollectionViewScrollDirection
    @@ -661,7 +661,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewScrollPosition
    +
    public enum CollectionViewScrollPosition
    @@ -688,7 +688,7 @@

    Declaration

    Declaration

    Swift

    -
    public typealias AnimationCompletion = (_ finished: Bool)->Void
    +
    public typealias AnimationCompletion = (_ finished: Bool)->Void
    @@ -720,7 +720,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    +
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    @@ -750,7 +750,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewPreviewTransitionCell : class
    +
    public protocol CollectionViewPreviewTransitionCell : class
    @@ -799,7 +799,7 @@

    Transitions

    Declaration

    Swift

    -
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    +
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    @@ -827,7 +827,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewPreviewControllerDelegate: class
    +
    public protocol CollectionViewPreviewControllerDelegate: class
    @@ -842,8 +842,8 @@

    Declaration

    diff --git a/docs/Enums/SortDescriptorResult.html b/docs/Enums/SortDescriptorResult.html new file mode 100644 index 0000000..7230272 --- /dev/null +++ b/docs/Enums/SortDescriptorResult.html @@ -0,0 +1,342 @@ + + + + SortDescriptorResult Enumeration Reference + + + + + + + + + + + + + + + + +
    +

    + + CollectionView Docs + + (64% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    SortDescriptorResult

    +
    +
    +
    public enum SortDescriptorResult : ExpressibleByBooleanLiteral
    + +
    +
    +

    Sort Descriptor Result

    + +
      +
    • same: The two objects are equally compared
    • +
    • ascending: The first object is before the second (ordered)
    • +
    • descending: The second object precedes the first (reversed)
    • +
    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + BooleanLiteralType + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias BooleanLiteralType = Bool
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + init(booleanLiteral:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public init(booleanLiteral value: Bool)
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/Extensions/IndexPath.html b/docs/Extensions/IndexPath.html index a789a03..55a7e21 100644 --- a/docs/Extensions/IndexPath.html +++ b/docs/Extensions/IndexPath.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    IndexPath

    -
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    +
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    @@ -293,7 +293,7 @@

    IndexPath

    Declaration

    Swift

    -
    public static func `for`(item: Int = 0, section: Int) -> IndexPath
    +
    public static func `for`(item: Int = 0, section: Int) -> IndexPath
    @@ -338,9 +338,9 @@

    Return Value

  • - + - _item + _item
    @@ -355,7 +355,7 @@

    Return Value

    Declaration

    Swift

    -
    public var _item: Int
    +
    public var _item: Int
    @@ -365,9 +365,9 @@

    Declaration

  • - + - _section + _section
    @@ -382,7 +382,7 @@

    Declaration

    Declaration

    Swift

    -
    public var _section: Int
    +
    public var _section: Int
    @@ -397,8 +397,8 @@

    Declaration

    diff --git a/docs/Guides.html b/docs/Guides.html index 6d0ebf8..115b2c4 100644 --- a/docs/Guides.html +++ b/docs/Guides.html @@ -217,7 +217,7 @@ Other Enumerations
  • @@ -264,8 +264,8 @@

    Guides

    diff --git a/docs/Other Enums.html b/docs/Other Enums.html index 6e93923..7a46cb7 100644 --- a/docs/Other Enums.html +++ b/docs/Other Enums.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,12 +282,13 @@

    Other Enumerations

  • descending: The second object precedes the first (reversed)
  • + See more

    Declaration

    Swift

    -
    public enum SortDescriptorResult
    +
    public enum SortDescriptorResult : ExpressibleByBooleanLiteral
    @@ -302,8 +303,8 @@

    Declaration

    diff --git a/docs/Other Extensions.html b/docs/Other Extensions.html index 2a7b60e..2e2f676 100644 --- a/docs/Other Extensions.html +++ b/docs/Other Extensions.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,7 +282,7 @@

    Other Extensions

    Declaration

    Swift

    -
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    +
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    @@ -297,8 +297,8 @@

    Declaration

    diff --git a/docs/Other Protocols.html b/docs/Other Protocols.html index ee72e5e..e9160b1 100644 --- a/docs/Other Protocols.html +++ b/docs/Other Protocols.html @@ -217,7 +217,7 @@ Other Enumerations @@ -281,7 +281,7 @@

    Other Protocols

    Declaration

    Swift

    -
    public protocol CustomDisplayStringConvertible
    +
    public protocol CustomDisplayStringConvertible
    @@ -296,8 +296,8 @@

    Declaration

    diff --git a/docs/Other Structs.html b/docs/Other Structs.html index 3bb14d4..6c0faa3 100644 --- a/docs/Other Structs.html +++ b/docs/Other Structs.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,7 +282,7 @@

    Other Structures

    Declaration

    Swift

    -
    public struct SortDescriptor<T>
    +
    public struct SortDescriptor<T>
    @@ -297,8 +297,8 @@

    Declaration

    diff --git a/docs/Protocols/CollectionViewDataSource.html b/docs/Protocols/CollectionViewDataSource.html index 87423b7..c54f8ec 100644 --- a/docs/Protocols/CollectionViewDataSource.html +++ b/docs/Protocols/CollectionViewDataSource.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDataSource

    -
    @objc public protocol CollectionViewDataSource
    +
    @objc public protocol CollectionViewDataSource
    @@ -306,7 +306,7 @@

    Getting Item and Section Metrics

    Declaration

    Swift

    -
    func numberOfSections(in collectionView: CollectionView) -> Int
    +
    func numberOfSections(in collectionView: CollectionView) -> Int
    @@ -356,7 +356,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    +
    func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    @@ -433,7 +433,7 @@

    Discussion

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -499,7 +499,7 @@

    Discussion

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> CollectionReusableView
    +
    @objc optional func collectionView(_ collectionView: CollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> CollectionReusableView
    @@ -584,7 +584,7 @@

    Dragging Items

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting?
    +
    @objc optional func collectionView(_ collectionView: CollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting?
    @@ -651,7 +651,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragContentsForItemAt indexPath: IndexPath) -> NSImage?
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragContentsForItemAt indexPath: IndexPath) -> NSImage?
    @@ -713,7 +713,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragRectForItemAt indexPath: IndexPath, withStartingRect rect: UnsafeMutablePointer<CGRect>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragRectForItemAt indexPath: IndexPath, withStartingRect rect: UnsafeMutablePointer<CGRect>)
    @@ -771,8 +771,8 @@

    Parameters

    diff --git a/docs/Protocols/CollectionViewDelegate.html b/docs/Protocols/CollectionViewDelegate.html index abf42c5..cdc3d05 100644 --- a/docs/Protocols/CollectionViewDelegate.html +++ b/docs/Protocols/CollectionViewDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegate

    -
    @objc public protocol CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegate
    @@ -302,7 +302,7 @@

    Reloading Data

    Declaration

    Swift

    -
    @objc optional func collectionViewWillReloadLayout(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewWillReloadLayout(_ collectionView: CollectionView)
    @@ -342,7 +342,7 @@

    Parameters

    Notifies the delegate that the collection view finished reloading it’s layout

    -
    It can be assumed that the data has been reloaded and  is up to date
    +
    It can be assumed that the data has been reloaded and  is up to date
     
    @@ -350,7 +350,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidReloadLayout(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidReloadLayout(_ collectionView: CollectionView)
    @@ -407,7 +407,7 @@

    First Responder

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didChangeFirstResponderStatus firstResponder: Bool)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didChangeFirstResponderStatus firstResponder: Bool)
    @@ -481,7 +481,7 @@

    Mouse Tracking

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, mouseMovedToSection indexPath: IndexPath?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, mouseMovedToSection indexPath: IndexPath?)
    @@ -539,7 +539,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, mouseDownInItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, mouseDownInItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -609,7 +609,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,
    @@ -690,7 +690,7 @@

    Highlighting

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
    @@ -767,7 +767,7 @@

    Selections

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    @@ -848,7 +848,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didSelectItemsAt indexPaths: Set<IndexPath>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didSelectItemsAt indexPaths: Set<IndexPath>)
    @@ -908,7 +908,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    @@ -972,7 +972,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>)
    @@ -1030,7 +1030,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didDoubleClickItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didDoubleClickItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -1100,7 +1100,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didRightClickItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didRightClickItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -1181,7 +1181,7 @@

    View Display

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, willDisplaySupplementaryView view:CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, willDisplaySupplementaryView view:CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    @@ -1251,7 +1251,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingCell cell: CollectionViewCell, forItemAt indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingCell cell: CollectionViewCell, forItemAt indexPath: IndexPath)
    @@ -1321,7 +1321,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingSupplementaryView view: CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingSupplementaryView view: CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    @@ -1416,7 +1416,7 @@

    Ancoring

    Declaration

    Swift

    -
    @objc optional func collectionViewLayoutAnchor(_ collectionView: CollectionView) -> IndexPath?
    +
    @objc optional func collectionViewLayoutAnchor(_ collectionView: CollectionView) -> IndexPath?
    @@ -1477,7 +1477,7 @@

    Resizing

    Declaration

    Swift

    -
    @objc optional func collectionViewDidEndLiveResize(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidEndLiveResize(_ collectionView: CollectionView)
    @@ -1534,7 +1534,7 @@

    Scrolling

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldScrollToItemAt indexPath: IndexPath) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldScrollToItemAt indexPath: IndexPath) -> Bool
    @@ -1596,7 +1596,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didScrollToItemAt indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didScrollToItemAt indexPath: IndexPath)
    @@ -1656,7 +1656,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidScroll(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidScroll(_ collectionView: CollectionView)
    @@ -1702,7 +1702,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewWillBeginScrolling(_ collectionView: CollectionView, animated: Bool)
    +
    @objc optional func collectionViewWillBeginScrolling(_ collectionView: CollectionView, animated: Bool)
    @@ -1760,7 +1760,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool)
    +
    @objc optional func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool)
    @@ -1806,8 +1806,8 @@

    Parameters

    diff --git a/docs/Protocols/CollectionViewDelegateColumnLayout.html b/docs/Protocols/CollectionViewDelegateColumnLayout.html index 8f9f390..eaf1102 100644 --- a/docs/Protocols/CollectionViewDelegateColumnLayout.html +++ b/docs/Protocols/CollectionViewDelegateColumnLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateColumnLayout

    -
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Spacing & Insets

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -369,7 +369,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -443,7 +443,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -517,7 +517,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionview(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionview(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -602,7 +602,7 @@

    Item Size

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -676,7 +676,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -761,7 +761,7 @@

    Header & Footer Size

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -835,7 +835,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -897,8 +897,8 @@

    Return Value

    diff --git a/docs/Protocols/CollectionViewDelegateFlowLayout.html b/docs/Protocols/CollectionViewDelegateFlowLayout.html index 86a7d52..d0bbf49 100644 --- a/docs/Protocols/CollectionViewDelegateFlowLayout.html +++ b/docs/Protocols/CollectionViewDelegateFlowLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateFlowLayout

    -
    public protocol CollectionViewDelegateFlowLayout
    +
    public protocol CollectionViewDelegateFlowLayout
    @@ -302,7 +302,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, flowLayout: CollectionViewFlowLayout, styleForItemAt indexPath: IndexPath) -> CollectionViewFlowLayout.ItemStyle
    +
    func collectionView(_ collectionView: CollectionView, flowLayout: CollectionViewFlowLayout, styleForItemAt indexPath: IndexPath) -> CollectionViewFlowLayout.ItemStyle
    @@ -385,7 +385,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -468,7 +468,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -560,7 +560,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -641,7 +641,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -703,8 +703,8 @@

    Return Value

    diff --git a/docs/Protocols/CollectionViewDelegateHorizontalListLayout.html b/docs/Protocols/CollectionViewDelegateHorizontalListLayout.html index de38ef9..8b9edbe 100644 --- a/docs/Protocols/CollectionViewDelegateHorizontalListLayout.html +++ b/docs/Protocols/CollectionViewDelegateHorizontalListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateHorizontalListLayout

    -
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    @@ -288,7 +288,7 @@

    CollectionViewDelegateHorizontalListLayout

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -350,8 +350,8 @@

    Return Value

    diff --git a/docs/Protocols/CollectionViewDelegateListLayout.html b/docs/Protocols/CollectionViewDelegateListLayout.html index 9253306..5ac05eb 100644 --- a/docs/Protocols/CollectionViewDelegateListLayout.html +++ b/docs/Protocols/CollectionViewDelegateListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateListLayout

    -
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Element Size

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -369,7 +369,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -443,7 +443,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -528,7 +528,7 @@

    Spacing & Insets

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -602,7 +602,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -664,8 +664,8 @@

    Return Value

    diff --git a/docs/Protocols/CollectionViewDragDelegate.html b/docs/Protocols/CollectionViewDragDelegate.html index 0276180..142720b 100644 --- a/docs/Protocols/CollectionViewDragDelegate.html +++ b/docs/Protocols/CollectionViewDragDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDragDelegate

    -
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    +
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Dragging Source

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldBeginDraggingAt indexPath: IndexPath, with event: NSEvent) ->Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldBeginDraggingAt indexPath: IndexPath, with event: NSEvent) ->Bool
    @@ -371,7 +371,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, validateIndexPathsForDrag indexPaths: [IndexPath]) -> [IndexPath]
    +
    @objc optional func collectionView(_ collectionView: CollectionView, validateIndexPathsForDrag indexPaths: [IndexPath]) -> [IndexPath]
    @@ -435,7 +435,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, willBeginAt point: NSPoint)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, willBeginAt point: NSPoint)
    @@ -505,7 +505,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didEndAt screenPoint: NSPoint, with operation: NSDragOperation, draggedIndexPaths: [IndexPath])
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didEndAt screenPoint: NSPoint, with operation: NSDragOperation, draggedIndexPaths: [IndexPath])
    @@ -587,7 +587,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didMoveTo point: NSPoint)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didMoveTo point: NSPoint)
    @@ -668,7 +668,7 @@

    Dragging Destination

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragEntered dragInfo: NSDraggingInfo) -> NSDragOperation
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragEntered dragInfo: NSDraggingInfo) -> NSDragOperation
    @@ -730,7 +730,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragUpdated dragInfo: NSDraggingInfo) -> NSDragOperation
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragUpdated dragInfo: NSDraggingInfo) -> NSDragOperation
    @@ -792,7 +792,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragExited dragInfo: NSDraggingInfo?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragExited dragInfo: NSDraggingInfo?)
    @@ -850,7 +850,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragEnded dragInfo: NSDraggingInfo?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragEnded dragInfo: NSDraggingInfo?)
    @@ -908,7 +908,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, performDragOperation dragInfo: NSDraggingInfo) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, performDragOperation dragInfo: NSDraggingInfo) -> Bool
    @@ -958,8 +958,8 @@

    Return Value

    diff --git a/docs/Protocols/CollectionViewPreviewControllerDelegate.html b/docs/Protocols/CollectionViewPreviewControllerDelegate.html index 0f9b37e..894b416 100644 --- a/docs/Protocols/CollectionViewPreviewControllerDelegate.html +++ b/docs/Protocols/CollectionViewPreviewControllerDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewControllerDelegate

    -
    public protocol CollectionViewPreviewControllerDelegate: class
    +
    public protocol CollectionViewPreviewControllerDelegate: class
    @@ -290,7 +290,7 @@

    CollectionViewPreviewControllerDelegate

    Declaration

    Swift

    -
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -354,7 +354,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, canPreviewItemAt indexPath: IndexPath) -> Bool
    +
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, canPreviewItemAt indexPath: IndexPath) -> Bool
    @@ -416,7 +416,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionViewPreviewControllerWillDismiss(_ controller: CollectionViewPreviewController)
    +
    func collectionViewPreviewControllerWillDismiss(_ controller: CollectionViewPreviewController)
    @@ -450,8 +450,8 @@

    Parameters

    diff --git a/docs/Protocols/CollectionViewPreviewTransitionCell.html b/docs/Protocols/CollectionViewPreviewTransitionCell.html index 9a891a2..74eea73 100644 --- a/docs/Protocols/CollectionViewPreviewTransitionCell.html +++ b/docs/Protocols/CollectionViewPreviewTransitionCell.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewTransitionCell

    -
    public protocol CollectionViewPreviewTransitionCell : class
    +
    public protocol CollectionViewPreviewTransitionCell : class
    @@ -299,7 +299,7 @@

    Transitioning From Source

    Declaration

    Swift

    -
    func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -371,7 +371,7 @@

    Parameters

    Declaration

    Swift

    -
    func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -441,7 +441,7 @@

    Parameters

    Declaration

    Swift

    -
    func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -510,7 +510,7 @@

    Transitioning To Source

    Declaration

    Swift

    -
    func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -570,7 +570,7 @@

    Parameters

    Declaration

    Swift

    -
    func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -628,7 +628,7 @@

    Parameters

    Declaration

    Swift

    -
    func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    +
    func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    @@ -674,8 +674,8 @@

    Parameters

    diff --git a/docs/Protocols/ResultsController.html b/docs/Protocols/ResultsController.html index 7072dde..77b5801 100644 --- a/docs/Protocols/ResultsController.html +++ b/docs/Protocols/ResultsController.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    ResultsController

    -
    public protocol ResultsController : class
    +
    public protocol ResultsController : class
    @@ -283,9 +283,9 @@

    Delegate

  • - + - delegate + delegate
    @@ -300,7 +300,7 @@

    Delegate

    Declaration

    Swift

    -
    var delegate : ResultsControllerDelegate?
    +
    var delegate : ResultsControllerDelegate?
    @@ -321,9 +321,9 @@

    Data

  • @@ -338,7 +338,7 @@

    Data

    Declaration

    Swift

    -
    var numberOfSections : Int
    +
    var numberOfSections : Int
    @@ -365,7 +365,7 @@

    Declaration

    Declaration

    Swift

    -
    func numberOfObjects(in section: Int) -> Int
    +
    func numberOfObjects(in section: Int) -> Int
    @@ -431,7 +431,7 @@

    Getting Items

    Declaration

    Swift

    -
    func sectionName(forSectionAt indexPath :IndexPath) -> String
    +
    func sectionName(forSectionAt indexPath :IndexPath) -> String
    @@ -462,7 +462,7 @@

    Return Value

    Declaration

    Swift

    -
    func reset()
    +
    func reset()
    @@ -477,8 +477,8 @@

    Declaration

    diff --git a/docs/Protocols/ResultsControllerDelegate.html b/docs/Protocols/ResultsControllerDelegate.html index fe7b6e8..1fe70e3 100644 --- a/docs/Protocols/ResultsControllerDelegate.html +++ b/docs/Protocols/ResultsControllerDelegate.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    ResultsControllerDelegate

    -
    public protocol ResultsControllerDelegate: class
    +
    public protocol ResultsControllerDelegate: class
    @@ -297,7 +297,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func controllerDidLoadContent(controller: ResultsController)
    +
    func controllerDidLoadContent(controller: ResultsController)
    @@ -343,7 +343,7 @@

    Parameters

    Declaration

    Swift

    -
    func controllerWillChangeContent(controller: ResultsController)
    +
    func controllerWillChangeContent(controller: ResultsController)
    @@ -389,7 +389,7 @@

    Parameters

    Declaration

    Swift

    -
    func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -471,7 +471,7 @@

    Parameters

    Declaration

    Swift

    -
    func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -553,7 +553,7 @@

    Parameters

    Declaration

    Swift

    -
    func controllerDidChangeContent(controller: ResultsController)
    +
    func controllerDidChangeContent(controller: ResultsController)
    @@ -587,8 +587,8 @@

    Parameters

    diff --git a/docs/Results Controller.html b/docs/Results Controller.html index f381e2c..c9a99cb 100644 --- a/docs/Results Controller.html +++ b/docs/Results Controller.html @@ -217,7 +217,7 @@ Other Enumerations @@ -286,7 +286,7 @@

    Results Controller

    Declaration

    Swift

    -
    public protocol ResultsController : class
    +
    public protocol ResultsController : class
    @@ -316,7 +316,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol ResultsControllerDelegate: class
    +
    public protocol ResultsControllerDelegate: class
    @@ -350,7 +350,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ResultsControllerChangeType
    +
    public enum ResultsControllerChangeType
    @@ -381,7 +381,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ResultsControllerError: Error
    +
    public enum ResultsControllerError: Error
    @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    +
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    @@ -449,7 +449,7 @@

    Declaration

    Declaration

    Swift

    -
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    +
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    @@ -472,27 +472,27 @@

    Declaration

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    In a FetchedResultsController (and NSFetchedResultsController) you would use sectionKeyPath to achieve the following:

    -
    Things
    -   { sectionKeyPath : "Things" }
    -   { sectionKeyPath : "Things" }
    +
    Things
    +   { sectionKeyPath : "Things" }
    +   { sectionKeyPath : "Things" }
     
    -Not Things
    -   { sectionKeyPath : "Not Things" }
    -   { sectionKeyPath : "Not Things" }
    +Not Things
    +   { sectionKeyPath : "Not Things" }
    +   { sectionKeyPath : "Not Things" }
     

    While this is great, it does not work well for the common Parent-Child data model. In a Department - Employee model for example we woul want:

    -
    Sales {}
    -   Jim {}
    -   Samantha {}
    +
    Sales {}
    +   Jim {}
    +   Samantha {}
     
    -Managment {}
    -   Sarah {}
    -   Howard {}
    +Managment {}
    +   Sarah {}
    +   Howard {}
     
     
    -Delivery {}
    -   <No employees>
    +Delivery {}
    +   <No employees>
     

    In this case, both the parent and child are NSManagedObjects joined by a relationship. Also, notice the Delivery department has no employees. With a standard FetchedResultsController where sections consist of the available values in the fetched objects, the Delivery would not be included. With a RelationalResultsController though you can opt to fetch both the sections and object independently (see fetchSections).

    @@ -503,7 +503,7 @@

    Declaration

    Declaration

    Swift

    -
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    +
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    @@ -535,7 +535,7 @@

    Declaration

    Declaration

    Swift

    -
    public class FetchedSetController : NSObject
    +
    public class FetchedSetController : NSObject
    @@ -567,7 +567,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewProvider : CollectionViewResultsProxy
    +
    public class CollectionViewProvider : CollectionViewResultsProxy
    @@ -595,7 +595,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewResultsProxy
    +
    public class CollectionViewResultsProxy
    @@ -610,8 +610,8 @@

    Declaration

    diff --git a/docs/Structs/SortDescriptor.html b/docs/Structs/SortDescriptor.html index 29070fa..ad12ec3 100644 --- a/docs/Structs/SortDescriptor.html +++ b/docs/Structs/SortDescriptor.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    SortDescriptor

    -
    public struct SortDescriptor<T>
    +
    public struct SortDescriptor<T>
    @@ -288,7 +288,7 @@

    SortDescriptor

    Declaration

    Swift

    -
    public init<V:Comparable>(_ keyPath: KeyPath<T,V>, ascending:Bool = true)
    +
    public init<V:Comparable>(_ keyPath: KeyPath<T,V>, ascending:Bool = true)
    @@ -346,7 +346,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(_ comparator: @escaping ((T,T)->SortDescriptorResult))
    +
    public init(_ comparator: @escaping ((T,T)->SortDescriptorResult))
    @@ -392,7 +392,7 @@

    Parameters

    Declaration

    Swift

    -
    public func compare(_ a:T, to b:T) -> SortDescriptorResult
    +
    public func compare(_ a:T, to b:T) -> SortDescriptorResult
    @@ -442,8 +442,8 @@

    Return Value

    diff --git a/docs/basic-setup.html b/docs/basic-setup.html index 73292f9..0ddb9ee 100644 --- a/docs/basic-setup.html +++ b/docs/basic-setup.html @@ -217,7 +217,7 @@ Other Enumerations @@ -426,8 +426,8 @@

    Implementing the Delegate

    diff --git a/docs/content-updates.html b/docs/content-updates.html index 8ddf108..8a19f17 100644 --- a/docs/content-updates.html +++ b/docs/content-updates.html @@ -217,7 +217,7 @@ Other Enumerations @@ -315,8 +315,8 @@

    Batch Updates

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionReusableView.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionReusableView.html index c512a3c..7881436 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionReusableView.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionReusableView.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionReusableView

    -
    open class CollectionReusableView : NSView
    +
    open class CollectionReusableView : NSView
    @@ -278,9 +278,9 @@

    Reuse

  • @@ -295,7 +295,7 @@

    Reuse

    Declaration

    Swift

    -
    open internal(set) var reuseIdentifier: String?
    +
    open internal(set) var reuseIdentifier: String?
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    open internal(set) weak var collectionView : CollectionView?
    +
    open internal(set) weak var collectionView : CollectionView?
    @@ -332,9 +332,9 @@

    Declaration

  • - + - reused + reused
    @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    open internal(set) var reused : Bool = false
    +
    open internal(set) var reused : Bool = false
    @@ -387,7 +387,7 @@

    Lifecycle

    Declaration

    Swift

    -
    override open func prepareForReuse()
    +
    override open func prepareForReuse()
    @@ -414,7 +414,7 @@

    Declaration

    Declaration

    Swift

    -
    open func viewWillDisplay()
    +
    open func viewWillDisplay()
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    open func viewDidDisplay()
    +
    open func viewDidDisplay()
    @@ -462,9 +462,9 @@

    Attributes

  • @@ -479,7 +479,7 @@

    Attributes

    Declaration

    Swift

    -
    open var backgroundColor: NSColor?
    +
    open var backgroundColor: NSColor?
    @@ -517,7 +517,7 @@

    Mouse Tracking

    Declaration

    Swift

    -
    open func disableTracking()
    +
    open func disableTracking()
    @@ -544,7 +544,7 @@

    Declaration

    Declaration

    Swift

    -
    open func enableTracking()
    +
    open func enableTracking()
    @@ -559,8 +559,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionView.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionView.html index d414776..1cc2cc7 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionView.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionView.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionView

    -
    open class CollectionView : ScrollView, NSDraggingSource
    +
    open class CollectionView : ScrollView, NSDraggingSource
    @@ -316,7 +316,7 @@

    Data Source & Delegate

    Declaration

    Swift

    -
    @objc public weak var delegate : CollectionViewDelegate?
    +
    @objc public weak var delegate : CollectionViewDelegate?
    @@ -326,9 +326,9 @@

    Declaration

  • @@ -343,7 +343,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var dataSource : CollectionViewDataSource?
    +
    public weak var dataSource : CollectionViewDataSource?
    @@ -353,9 +353,9 @@

    Declaration

  • @@ -370,7 +370,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentDocumentView : CollectionViewDocumentView
    +
    public var contentDocumentView : CollectionViewDocumentView
    @@ -408,7 +408,7 @@

    Registering reusable cells

    Declaration

    Swift

    -
    public func register(class cellClass: CollectionViewCell.Type, forCellWithReuseIdentifier identifier: String)
    +
    public func register(class cellClass: CollectionViewCell.Type, forCellWithReuseIdentifier identifier: String)
    @@ -466,7 +466,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(nib: NSNib, forCellWithReuseIdentifier identifier: String)
    +
    public func register(nib: NSNib, forCellWithReuseIdentifier identifier: String)
    @@ -524,7 +524,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(class viewClass: CollectionReusableView.Type, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String)
    +
    public func register(class viewClass: CollectionReusableView.Type, forSupplementaryViewOfKind kind: String, withReuseIdentifier identifier: String)
    @@ -599,7 +599,7 @@

    Parameters

    Declaration

    Swift

    -
    public func register(nib: NSNib, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String)
    +
    public func register(nib: NSNib, forSupplementaryViewOfKind elementKind: String, withReuseIdentifier identifier: String)
    @@ -682,7 +682,7 @@

    Dequeing reusable cells

    Declaration

    Swift

    -
    public final func dequeueReusableCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionViewCell
    +
    public final func dequeueReusableCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionViewCell
    @@ -744,7 +744,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func dequeueReusableSupplementaryView(ofKind elementKind: String, withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionReusableView
    +
    public final func dequeueReusableSupplementaryView(ofKind elementKind: String, withReuseIdentifier identifier: String, for indexPath: IndexPath) -> CollectionReusableView
    @@ -812,9 +812,9 @@

    Floating View

  • @@ -829,7 +829,7 @@

    Floating View

    Declaration

    Swift

    -
    public var  floatingContentView : NSView
    +
    public var  floatingContentView : NSView
    @@ -856,7 +856,7 @@

    Declaration

    Declaration

    Swift

    -
    public func addAccessoryView(_ view: NSView)
    +
    public func addAccessoryView(_ view: NSView)
    @@ -896,9 +896,9 @@

    Data

  • @@ -913,7 +913,7 @@

    Data

    Declaration

    Swift

    -
    public var numberOfSections : Int
    +
    public var numberOfSections : Int
    @@ -944,7 +944,7 @@

    Return Value

    Declaration

    Swift

    -
    public func numberOfItems(in section: Int) -> Int
    +
    public func numberOfItems(in section: Int) -> Int
    @@ -994,7 +994,7 @@

    Return Value

    Declaration

    Swift

    -
    open func reloadData()
    +
    open func reloadData()
    @@ -1015,9 +1015,9 @@

    Layout

  • @@ -1037,7 +1037,7 @@

    Layout

    Declaration

    Swift

    -
    public var collectionViewLayout : CollectionViewLayout = CollectionViewLayout()
    +
    public var collectionViewLayout : CollectionViewLayout = CollectionViewLayout()
    @@ -1047,9 +1047,9 @@

    Declaration

  • @@ -1064,7 +1064,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentVisibleRect : CGRect
    +
    public var contentVisibleRect : CGRect
    @@ -1091,7 +1091,7 @@

    Declaration

    Declaration

    Swift

    -
    open override var contentSize: NSSize
    +
    open override var contentSize: NSSize
    @@ -1101,9 +1101,9 @@

    Declaration

  • @@ -1118,7 +1118,7 @@

    Declaration

    Declaration

    Swift

    -
    public var contentOffset : CGPoint
    +
    public var contentOffset : CGPoint
    @@ -1128,9 +1128,9 @@

    Declaration

  • @@ -1150,7 +1150,7 @@

    Declaration

    Declaration

    Swift

    -
    public var prepareAll : Bool = false
    +
    public var prepareAll : Bool = false
    @@ -1177,7 +1177,7 @@

    Declaration

    Declaration

    Swift

    -
    open func frameForSection(at index: Int) -> CGRect?
    +
    open func frameForSection(at index: Int) -> CGRect?
    @@ -1206,9 +1206,9 @@

    Parameters

  • @@ -1243,7 +1243,7 @@

    Parameters

    Declaration

    Swift

    -
    public var reloadDataOnBoundsChange : Bool = false
    +
    public var reloadDataOnBoundsChange : Bool = false
    @@ -1270,7 +1270,7 @@

    Declaration

    Declaration

    Swift

    -
    public func reloadLayout(_ animated: Bool, scrollPosition: CollectionViewScrollPosition = .nearest, completion: AnimationCompletion? = nil)
    +
    public func reloadLayout(_ animated: Bool, scrollPosition: CollectionViewScrollPosition = .nearest, completion: AnimationCompletion? = nil)
    @@ -1322,9 +1322,9 @@

    Scroll Handling

  • @@ -1339,7 +1339,7 @@

    Scroll Handling

    Declaration

    Swift

    -
    public internal(set) var isScrolling : Bool = false
    +
    public internal(set) var isScrolling : Bool = false
    @@ -1349,9 +1349,9 @@

    Declaration

  • @@ -1366,7 +1366,7 @@

    Declaration

    Declaration

    Swift

    -
    public private(set) var scrollVelocity = CGPoint.zero
    +
    public private(set) var scrollVelocity = CGPoint.zero
    @@ -1376,9 +1376,9 @@

    Declaration

  • @@ -1392,27 +1392,27 @@

    Example Usage

    If your cells require complex loading that may slow scrolling performance, peakScrollVelocity can be used to determine if the cell content should be reduced or delayed until after the scrolling ends.

    For example in CollectionViewCell

    -
    override func viewDidDisplay() {
    -   if self.collectionView?.isScrolling != true ||  (self.collectionView?.peakScrollVelocity.maxAbsVelocity ?? 0) < 200 {
    -       // load complex content
    -   }
    -   else {
    -       // Wait until we are done scrolling
    -   }
    -}
    -
    -func loadContent() { Do complex loading }
    +
    override func viewDidDisplay() {
    +   if self.collectionView?.isScrolling != true ||  (self.collectionView?.peakScrollVelocity.maxAbsVelocity ?? 0) < 200 {
    +       // load complex content
    +   }
    +   else {
    +       // Wait until we are done scrolling
    +   }
    +}
    +
    +func loadContent() { Do complex loading }
     

    Then, in your collection view’s delegate

    -
    func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool) {
    -   guard collectionView.peakScrollVelocity.maxAbsVelocity > 200 else { return }
    -   for ip in collectionView.indexPathsForVisibleItems {
    -       if let c = collectionView.cellForItem(at:ip) as? MyCellClass {
    -           c.loadContent
    -       }
    -   }
    -}
    +
    func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool) {
    +   guard collectionView.peakScrollVelocity.maxAbsVelocity > 200 else { return }
    +   for ip in collectionView.indexPathsForVisibleItems {
    +       if let c = collectionView.cellForItem(at:ip) as? MyCellClass {
    +           c.loadContent
    +       }
    +   }
    +}
     
    @@ -1420,7 +1420,7 @@

    Example Usage

    Declaration

    Swift

    -
    public private(set) var peakScrollVelocity = CGPoint.zero
    +
    public private(set) var peakScrollVelocity = CGPoint.zero
    @@ -1430,9 +1430,9 @@

    Declaration

  • @@ -1447,7 +1447,7 @@

    Declaration

    Declaration

    Swift

    -
    open var indexPathsForVisibleSections : [IndexPath]
    +
    open var indexPathsForVisibleSections : [IndexPath]
    @@ -1457,9 +1457,9 @@

    Declaration

  • @@ -1474,7 +1474,7 @@

    Declaration

    Declaration

    Swift

    -
    open var indexPathForFirstVisibleItem : IndexPath?
    +
    open var indexPathForFirstVisibleItem : IndexPath?
    @@ -1484,9 +1484,9 @@

    Declaration

  • @@ -1501,7 +1501,7 @@

    Declaration

    Declaration

    Swift

    -
    open var _indexPathForFirstVisibleItem : IndexPath?
    +
    open var _indexPathForFirstVisibleItem : IndexPath?
    @@ -1522,9 +1522,9 @@

    Batch Updates

  • @@ -1539,7 +1539,7 @@

    Batch Updates

    Declaration

    Swift

    -
    public var animationDuration: TimeInterval = 0.4
    +
    public var animationDuration: TimeInterval = 0.4
    @@ -1566,7 +1566,7 @@

    Declaration

    Declaration

    Swift

    -
    public func performBatchUpdates(_ updates: (()->Void), completion: AnimationCompletion?)
    +
    public func performBatchUpdates(_ updates: (()->Void), completion: AnimationCompletion?)
    @@ -1635,7 +1635,7 @@

    Manipulating Sections

    Declaration

    Swift

    -
    public func insertSections(_ sections: IndexSet, animated: Bool)
    +
    public func insertSections(_ sections: IndexSet, animated: Bool)
    @@ -1698,7 +1698,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deleteSections(_ sections: IndexSet, animated: Bool)
    +
    public func deleteSections(_ sections: IndexSet, animated: Bool)
    @@ -1768,7 +1768,7 @@

    Parameters

    Declaration

    Swift

    -
    public func moveSection(_ section: Int, to newSection: Int, animated: Bool)
    +
    public func moveSection(_ section: Int, to newSection: Int, animated: Bool)
    @@ -1849,7 +1849,7 @@

    Manipulating items

    Declaration

    Swift

    -
    public func insertItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func insertItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -1907,7 +1907,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deleteItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func deleteItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -1967,7 +1967,7 @@

    Parameters

    Declaration

    Swift

    -
    public func reloadItems(at indexPaths: [IndexPath], animated: Bool)
    +
    public func reloadItems(at indexPaths: [IndexPath], animated: Bool)
    @@ -2025,7 +2025,7 @@

    Parameters

    Declaration

    Swift

    -
    public func moveItem(at indexPath : IndexPath, to destinationIndexPath: IndexPath, animated: Bool)
    +
    public func moveItem(at indexPath : IndexPath, to destinationIndexPath: IndexPath, animated: Bool)
    @@ -2089,9 +2089,9 @@

    Mouse Tracking (section highlight)

  • @@ -2106,7 +2106,7 @@

    Mouse Tracking (section highlight)

    Declaration

    Swift

    -
    public var trackSectionHover : Bool = false
    +
    public var trackSectionHover : Bool = false
    @@ -2127,9 +2127,9 @@

    Selection options

  • @@ -2144,7 +2144,7 @@

    Selection options

    Declaration

    Swift

    -
    public var allowsSelection: Bool = true
    +
    public var allowsSelection: Bool = true
    @@ -2176,7 +2176,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum SelectionMode
    +
    public enum SelectionMode
    @@ -2186,9 +2186,9 @@

    Declaration

  • @@ -2203,7 +2203,7 @@

    Declaration

    Declaration

    Swift

    -
    public var selectionMode: SelectionMode = .default
    +
    public var selectionMode: SelectionMode = .default
    @@ -2213,9 +2213,9 @@

    Declaration

  • @@ -2230,7 +2230,7 @@

    Declaration

    Declaration

    Swift

    -
    public var allowsMultipleSelection: Bool = true
    +
    public var allowsMultipleSelection: Bool = true
    @@ -2240,9 +2240,9 @@

    Declaration

  • @@ -2257,7 +2257,7 @@

    Declaration

    Declaration

    Swift

    -
    public var allowsEmptySelection: Bool = true
    +
    public var allowsEmptySelection: Bool = true
    @@ -2267,9 +2267,9 @@

    Declaration

  • @@ -2284,7 +2284,7 @@

    Declaration

    Declaration

    Swift

    -
    public var notifyDelegate: Bool = false
    +
    public var notifyDelegate: Bool = false
    @@ -2294,9 +2294,9 @@

    Declaration

  • @@ -2311,7 +2311,7 @@

    Declaration

    Declaration

    Swift

    -
    public var repeatSelections: Bool = false
    +
    public var repeatSelections: Bool = false
    @@ -2332,9 +2332,9 @@

    Selections

  • @@ -2349,7 +2349,7 @@

    Selections

    Declaration

    Swift

    -
    public internal(set) var indexPathForHighlightedItem: IndexPath?
    +
    public internal(set) var indexPathForHighlightedItem: IndexPath?
    @@ -2378,7 +2378,7 @@

    Declaration

    Declaration

    Swift

    -
    public func highlightItem(at indexPath: IndexPath?, animated: Bool)
    +
    public func highlightItem(at indexPath: IndexPath?, animated: Bool)
    @@ -2419,9 +2419,9 @@

    Parameters

  • @@ -2436,7 +2436,7 @@

    Parameters

    Declaration

    Swift

    -
    public final var indexPathsForSelectedItems : Set<IndexPath>
    +
    public final var indexPathsForSelectedItems : Set<IndexPath>
    @@ -2446,9 +2446,9 @@

    Declaration

  • @@ -2463,7 +2463,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var sortedIndexPathsForSelectedItems : [IndexPath]
    +
    public final var sortedIndexPathsForSelectedItems : [IndexPath]
    @@ -2490,7 +2490,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func itemAtIndexPathIsSelected(_ indexPath: IndexPath) -> Bool
    +
    public final func itemAtIndexPathIsSelected(_ indexPath: IndexPath) -> Bool
    @@ -2556,7 +2556,7 @@

    Selecting Items

    Declaration

    Swift

    -
    public func selectAllItems(_ animated: Bool = true)
    +
    public func selectAllItems(_ animated: Bool = true)
    @@ -2607,7 +2607,7 @@

    Parameters

    Declaration

    Swift

    -
    public func selectItem(at indexPath: IndexPath, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none)
    +
    public func selectItem(at indexPath: IndexPath, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none)
    @@ -2682,7 +2682,7 @@

    Parameters

    Declaration

    Swift

    -
    public func selectItems<C:Collection>(at indexPaths: C, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none) where C.Element == IndexPath
    +
    public func selectItems<C:Collection>(at indexPaths: C, animated: Bool, scrollPosition: CollectionViewScrollPosition = .none) where C.Element == IndexPath
    @@ -2745,7 +2745,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectItems<C:Collection>(at indexPaths: C, animated: Bool) where C.Element == IndexPath
    +
    public func deselectItems<C:Collection>(at indexPaths: C, animated: Bool) where C.Element == IndexPath
    @@ -2808,7 +2808,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectAllItems(_ animated: Bool = false)
    +
    public func deselectAllItems(_ animated: Bool = false)
    @@ -2859,7 +2859,7 @@

    Parameters

    Declaration

    Swift

    -
    public func deselectItem(at indexPath: IndexPath, animated: Bool)
    +
    public func deselectItem(at indexPath: IndexPath, animated: Bool)
    @@ -2911,9 +2911,9 @@

    Cells & Index Paths

  • @@ -2928,7 +2928,7 @@

    Cells & Index Paths

    Declaration

    Swift

    -
    public final var visibleCells : [CollectionViewCell]
    +
    public final var visibleCells : [CollectionViewCell]
    @@ -2938,9 +2938,9 @@

    Declaration

  • @@ -2955,7 +2955,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var indexPathsForVisibleItems : [IndexPath]
    +
    public final var indexPathsForVisibleItems : [IndexPath]
    @@ -2982,7 +2982,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func itemAtIndexPathIsVisible(_ indexPath: IndexPath) -> Bool
    +
    public final func itemAtIndexPathIsVisible(_ indexPath: IndexPath) -> Bool
    @@ -3032,7 +3032,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func cellForItem(at indexPath: IndexPath) -> CollectionViewCell?
    +
    public final func cellForItem(at indexPath: IndexPath) -> CollectionViewCell?
    @@ -3082,7 +3082,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func indexPath(for cell: CollectionViewCell) -> IndexPath?
    +
    public final func indexPath(for cell: CollectionViewCell) -> IndexPath?
    @@ -3132,7 +3132,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathForItem(at point: CGPoint) -> IndexPath?
    +
    public func indexPathForItem(at point: CGPoint) -> IndexPath?
    @@ -3182,7 +3182,7 @@

    Return Value

    Declaration

    Swift

    -
    public func firstIndexPathForItem(near point: CGPoint, radius: CGFloat) -> IndexPath?
    +
    public func firstIndexPathForItem(near point: CGPoint, radius: CGFloat) -> IndexPath?
    @@ -3244,7 +3244,7 @@

    Return Value

    Declaration

    Swift

    -
    public func firstIndexPathForItem(in rect: CGRect) -> IndexPath?
    +
    public func firstIndexPathForItem(in rect: CGRect) -> IndexPath?
    @@ -3294,7 +3294,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathsForItems(in rect: CGRect) -> [IndexPath]
    +
    public func indexPathsForItems(in rect: CGRect) -> [IndexPath]
    @@ -3355,7 +3355,7 @@

    Supplementary Views & Index Paths

    Declaration

    Swift

    -
    public final func indexPathForSection(at point: CGPoint) -> IndexPath?
    +
    public final func indexPathForSection(at point: CGPoint) -> IndexPath?
    @@ -3388,9 +3388,9 @@

    Return Value

  • @@ -3405,7 +3405,7 @@

    Return Value

    Declaration

    Swift

    -
    public final var visibleSupplementaryViews : [CollectionReusableView]
    +
    public final var visibleSupplementaryViews : [CollectionReusableView]
    @@ -3432,7 +3432,7 @@

    Declaration

    Declaration

    Swift

    -
    public final func indexPath(forSupplementaryView view: CollectionReusableView) -> IndexPath?
    +
    public final func indexPath(forSupplementaryView view: CollectionReusableView) -> IndexPath?
    @@ -3482,7 +3482,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func supplementaryViews(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    +
    public final func supplementaryViews(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    @@ -3544,7 +3544,7 @@

    Return Value

    Declaration

    Swift

    -
    public final func supplementaryView(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    +
    public final func supplementaryView(forElementKind kind: String, at indexPath: IndexPath) -> CollectionReusableView?
    @@ -3617,7 +3617,7 @@

    Programatic Scrollin

    Declaration

    Swift

    -
    public func scrollItem(at indexPath: IndexPath, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    +
    public func scrollItem(at indexPath: IndexPath, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    @@ -3699,7 +3699,7 @@

    Parameters

    Declaration

    Swift

    -
    public func scrollRect(_ aRect: CGRect, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    +
    public func scrollRect(_ aRect: CGRect, to scrollPosition: CollectionViewScrollPosition, animated: Bool, completion: AnimationCompletion?)
    @@ -3775,9 +3775,9 @@

    Dragging Source

  • @@ -3792,7 +3792,7 @@

    Dragging Source

    Declaration

    Swift

    -
    public var indexPathsForDraggingItems : [IndexPath]
    +
    public var indexPathsForDraggingItems : [IndexPath]
    @@ -3823,7 +3823,7 @@

    Declaration

    Declaration

    Swift

    -
    public func applyChanges(from changeSet: CollectionViewResultsProxy, completion: AnimationCompletion? = nil)
    +
    public func applyChanges(from changeSet: CollectionViewResultsProxy, completion: AnimationCompletion? = nil)
    @@ -3869,8 +3869,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewCell.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewCell.html index c0155b1..9664c79 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewCell.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewCell.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewCell

    -
    open class CollectionViewCell : CollectionReusableView
    +
    open class CollectionViewCell : CollectionReusableView
    @@ -278,9 +278,9 @@

    State

  • @@ -295,7 +295,7 @@

    State

    Declaration

    Swift

    -
    public var highlighted: Bool
    +
    public var highlighted: Bool
    @@ -305,9 +305,9 @@

    Declaration

  • - + - selected + selected
    @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public var selected : Bool
    +
    public var selected : Bool
    @@ -348,7 +348,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func prepareForReuse()
    +
    open override func prepareForReuse()
    @@ -369,9 +369,9 @@

    Registration & Reuse Helpers

  • @@ -386,7 +386,7 @@

    Registration & Reuse Helpers

    Declaration

    Swift

    -
    open class var defaultReuseIdentifier : String
    +
    open class var defaultReuseIdentifier : String
    @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    open class func register(in collectionView: CollectionView)
    +
    open class func register(in collectionView: CollectionView)
    @@ -459,7 +459,7 @@

    Parameters

    Declaration

    Swift

    -
    open class func deque(for indexPath: IndexPath, in collectionView: CollectionView) -> CollectionViewCell
    +
    open class func deque(for indexPath: IndexPath, in collectionView: CollectionView) -> CollectionViewCell
    @@ -509,8 +509,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewColumnLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewColumnLayout.html index e9ebb81..44bdf6b 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewColumnLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewColumnLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewColumnLayout

    -
    open class CollectionViewColumnLayout : CollectionViewLayout
    +
    open class CollectionViewColumnLayout : CollectionViewLayout
    @@ -310,7 +310,7 @@

    CollectionViewColumnLayout

    Declaration

    Swift

    -
    public enum ItemRenderDirection
    +
    public enum ItemRenderDirection
    @@ -331,9 +331,9 @@

    Default layout values

  • @@ -348,7 +348,7 @@

    Default layout values

    Declaration

    Swift

    -
    open var columnCount : NSInteger = 2
    +
    open var columnCount : NSInteger = 2
    @@ -358,9 +358,9 @@

    Declaration

  • @@ -375,7 +375,7 @@

    Declaration

    Declaration

    Swift

    -
    open var columnSpacing : CGFloat = 8
    +
    open var columnSpacing : CGFloat = 8
    @@ -385,9 +385,9 @@

    Declaration

  • @@ -402,7 +402,7 @@

    Declaration

    Declaration

    Swift

    -
    open var interitemSpacing : CGFloat = 8
    +
    open var interitemSpacing : CGFloat = 8
    @@ -412,9 +412,9 @@

    Declaration

  • @@ -429,7 +429,7 @@

    Declaration

    Declaration

    Swift

    -
    open var headerHeight : CGFloat = 0.0
    +
    open var headerHeight : CGFloat = 0.0
    @@ -439,9 +439,9 @@

    Declaration

  • @@ -456,7 +456,7 @@

    Declaration

    Declaration

    Swift

    -
    open var footerHeight : CGFloat = 0.0
    +
    open var footerHeight : CGFloat = 0.0
    @@ -466,9 +466,9 @@

    Declaration

  • @@ -483,7 +483,7 @@

    Declaration

    Declaration

    Swift

    -
    open var itemHeight : CGFloat = 50
    +
    open var itemHeight : CGFloat = 50
    @@ -493,9 +493,9 @@

    Declaration

  • @@ -510,7 +510,7 @@

    Declaration

    Declaration

    Swift

    -
    open var insetSupplementaryViews : Bool = false
    +
    open var insetSupplementaryViews : Bool = false
    @@ -520,9 +520,9 @@

    Declaration

  • @@ -537,7 +537,7 @@

    Declaration

    Declaration

    Swift

    -
    open var invalidateOnBoundsChange : Bool = false
    +
    open var invalidateOnBoundsChange : Bool = false
    @@ -547,9 +547,9 @@

    Declaration

  • @@ -564,7 +564,7 @@

    Declaration

    Declaration

    Swift

    -
    open var sectionInset : NSEdgeInsets = NSEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
    +
    open var sectionInset : NSEdgeInsets = NSEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
    @@ -585,9 +585,9 @@

    Render Options

  • @@ -602,7 +602,7 @@

    Render Options

    Declaration

    Swift

    -
    open var itemRenderDirection : ItemRenderDirection = .leftToRight
    +
    open var itemRenderDirection : ItemRenderDirection = .leftToRight
    @@ -612,9 +612,9 @@

    Declaration

  • @@ -629,7 +629,7 @@

    Declaration

    Declaration

    Swift

    -
    public var itemWidth : CGFloat
    +
    public var itemWidth : CGFloat
    @@ -655,7 +655,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    +
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    @@ -681,7 +681,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func prepare()
    +
    override open func prepare()
    @@ -691,9 +691,9 @@

    Declaration

  • @@ -707,7 +707,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize : CGSize
    +
    override open var collectionViewContentSize : CGSize
    @@ -733,7 +733,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -759,7 +759,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -785,7 +785,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -811,7 +811,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -837,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -863,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -889,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -904,8 +904,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewController.html index a7b4fb9..1bc7d2b 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewController

    -
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    +
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    @@ -294,7 +294,7 @@

    Data Source

    Declaration

    Swift

    -
    open func numberOfSections(in collectionView: CollectionView) -> Int
    +
    open func numberOfSections(in collectionView: CollectionView) -> Int
    @@ -320,7 +320,7 @@

    Declaration

    Declaration

    Swift

    -
    open func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    +
    open func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    @@ -346,7 +346,7 @@

    Declaration

    Declaration

    Swift

    -
    open func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    open func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -384,7 +384,7 @@

    Layout

    Declaration

    Swift

    -
    open func adjustContentInsets(_ insets: NSEdgeInsets)
    +
    open func adjustContentInsets(_ insets: NSEdgeInsets)
    @@ -430,7 +430,7 @@

    Parameters

    Declaration

    Swift

    -
    open func adjustConstraint(_ attribute: NSLayoutConstraint.Attribute, value: CGFloat?)
    +
    open func adjustConstraint(_ attribute: NSLayoutConstraint.Attribute, value: CGFloat?)
    @@ -476,8 +476,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout.html index e59eb8d..cbce8a1 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewFlowLayout

    -
    open class CollectionViewFlowLayout : CollectionViewLayout
    +
    open class CollectionViewFlowLayout : CollectionViewLayout
    @@ -269,21 +269,21 @@

    CollectionViewFlowLayout

    Span items are always placed an their own row and fill the width of the Collection View.

    Example

    -
    +---------------------------------+
    -|   +-----+ +------------+ +--+   |
    -|   |  1  | |     2      | | 3|   |
    -|   |     | |            | |  |   |
    -|   +-----+ +------------+ +--+   |
    -|   +--------+ +---------+        |
    -|   |   4    | |   5     |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   +--------+ +---------+        |
    -|   +-------------------------+   |
    -|   |         6. Span         |   |
    -|   +-------------------------+   |
    -+---------------------------------+
    +
    +---------------------------------+
    +|   +-----+ +------------+ +--+   |
    +|   |  1  | |     2      | | 3|   |
    +|   |     | |            | |  |   |
    +|   +-----+ +------------+ +--+   |
    +|   +--------+ +---------+        |
    +|   |   4    | |   5     |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   +--------+ +---------+        |
    +|   +-------------------------+   |
    +|   |         6. Span         |   |
    +|   +-------------------------+   |
    ++---------------------------------+
     

    Transformations

    @@ -315,9 +315,9 @@

    Options

  • @@ -332,7 +332,7 @@

    Options

    Declaration

    Swift

    -
    public var interitemSpacing: CGFloat = 8
    +
    public var interitemSpacing: CGFloat = 8
    @@ -342,9 +342,9 @@

    Declaration

  • @@ -359,7 +359,7 @@

    Declaration

    Declaration

    Swift

    -
    public var interpanSpacing : CGFloat?
    +
    public var interpanSpacing : CGFloat?
    @@ -369,9 +369,9 @@

    Declaration

  • @@ -386,7 +386,7 @@

    Declaration

    Declaration

    Swift

    -
    public var spanGroupSpacingBefore : CGFloat?
    +
    public var spanGroupSpacingBefore : CGFloat?
    @@ -396,9 +396,9 @@

    Declaration

  • @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    public var spanGroupSpacingAfter : CGFloat?
    +
    public var spanGroupSpacingAfter : CGFloat?
    @@ -423,9 +423,9 @@

    Declaration

  • @@ -440,7 +440,7 @@

    Declaration

    Declaration

    Swift

    -
    public var insetSupplementaryViews = true
    +
    public var insetSupplementaryViews = true
    @@ -461,9 +461,9 @@

    Layout Information

  • @@ -478,7 +478,7 @@

    Layout Information

    Declaration

    Swift

    -
    private(set) public var widthOfLastRow : CGFloat?
    +
    private(set) public var widthOfLastRow : CGFloat?
    @@ -511,7 +511,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum RowTransform
    +
    public enum RowTransform
    @@ -539,7 +539,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ItemStyle
    +
    public enum ItemStyle
    @@ -576,7 +576,7 @@

    Layout Overrides

    Declaration

    Swift

    -
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -602,7 +602,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func prepare()
    +
    override open func prepare()
    @@ -628,7 +628,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    override open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -654,7 +654,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    override open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -680,7 +680,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    override open func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -706,7 +706,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -732,7 +732,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -742,9 +742,9 @@

    Declaration

  • @@ -758,7 +758,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize: CGSize
    +
    override open var collectionViewContentSize: CGSize
    @@ -784,7 +784,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -810,7 +810,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -825,8 +825,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout/ItemStyle.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout/ItemStyle.html index faf630e..b042049 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout/ItemStyle.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewFlowLayout/ItemStyle.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    ItemStyle

    -
    public enum ItemStyle
    +
    public enum ItemStyle
    @@ -288,7 +288,7 @@

    ItemStyle

    Declaration

    Swift

    -
    case flow(CGSize)
    +
    case flow(CGSize)
    @@ -319,7 +319,7 @@

    Declaration

    Declaration

    Swift

    -
    case span(CGSize)
    +
    case span(CGSize)
    @@ -334,8 +334,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewHorizontalListLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewHorizontalListLayout.html index 85995d1..dfe1159 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewHorizontalListLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewHorizontalListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewHorizontalListLayout

    -
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    +
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    @@ -271,9 +271,9 @@

    CollectionViewHorizontalListLayout

  • @@ -287,7 +287,7 @@

    CollectionViewHorizontalListLayout

    Declaration

    Swift

    -
    override open var scrollDirection : CollectionViewScrollDirection
    +
    override open var scrollDirection : CollectionViewScrollDirection
    @@ -313,7 +313,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func prepare()
    +
    open override func prepare()
    @@ -339,7 +339,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -349,9 +349,9 @@

    Declaration

  • @@ -365,7 +365,7 @@

    Declaration

    Declaration

    Swift

    -
    open override var collectionViewContentSize : CGSize
    +
    open override var collectionViewContentSize : CGSize
    @@ -391,7 +391,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -417,7 +417,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -443,7 +443,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func contentRectForSection(_ section: Int) -> CGRect
    +
    open override func contentRectForSection(_ section: Int) -> CGRect
    @@ -469,7 +469,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -484,8 +484,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayout.html index 5752f3e..eec8fd1 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewLayout

    -
    open class CollectionViewLayout : NSObject
    +
    open class CollectionViewLayout : NSObject
    @@ -271,9 +271,9 @@

    CollectionViewLayout

  • @@ -288,7 +288,7 @@

    CollectionViewLayout

    Declaration

    Swift

    -
    open var scrollDirection : CollectionViewScrollDirection
    +
    open var scrollDirection : CollectionViewScrollDirection
    @@ -298,9 +298,9 @@

    Declaration

  • @@ -315,7 +315,7 @@

    Declaration

    Declaration

    Swift

    -
    open var collectionViewContentSize : CGSize
    +
    open var collectionViewContentSize : CGSize
    @@ -325,9 +325,9 @@

    Declaration

  • @@ -342,7 +342,7 @@

    Declaration

    Declaration

    Swift

    -
    open var pinHeadersToTop: Bool = true
    +
    open var pinHeadersToTop: Bool = true
    @@ -380,7 +380,7 @@

    Layout Validation

    Declaration

    Swift

    -
    open func invalidate()
    +
    open func invalidate()
    @@ -407,7 +407,7 @@

    Declaration

    Declaration

    Swift

    -
    open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    +
    open func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool
    @@ -461,7 +461,7 @@

    Discussion

    Declaration

    Swift

    -
    open func prepare()
    +
    open func prepare()
    @@ -482,9 +482,9 @@

    Index Paths

  • @@ -501,7 +501,7 @@

    Index Paths

    Declaration

    Swift

    -
    public var allIndexPaths = OrderedSet<IndexPath>()
    +
    public var allIndexPaths = OrderedSet<IndexPath>()
    @@ -539,7 +539,7 @@

    Layout Attributes

    Declaration

    Swift

    -
    open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -588,7 +588,7 @@

    Important

    Declaration

    Swift

    -
    open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -637,7 +637,7 @@

    Important

    Declaration

    Swift

    -
    open func layoutAttributesForSupplementaryView(ofKind kind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    open func layoutAttributesForSupplementaryView(ofKind kind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -706,7 +706,7 @@

    Section Frames

    Declaration

    Swift

    -
    open func rectForSection(_ section: Int) -> CGRect
    +
    open func rectForSection(_ section: Int) -> CGRect
    @@ -756,7 +756,7 @@

    Return Value

    Declaration

    Swift

    -
    open func contentRectForSection(_ section: Int) -> CGRect
    +
    open func contentRectForSection(_ section: Int) -> CGRect
    @@ -819,7 +819,7 @@

    Scroll Frames

    Declaration

    Swift

    -
    open func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    open func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -888,7 +888,7 @@

    Item Direction

    Declaration

    Swift

    -
    open func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    open func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -934,8 +934,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayoutAttributes.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayoutAttributes.html index f1805f9..ffedcca 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayoutAttributes.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewLayoutAttributes.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewLayoutAttributes

    -
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    +
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    @@ -278,9 +278,9 @@

    Identifying the Referenced Item

  • @@ -295,7 +295,7 @@

    Identifying the Referenced Item

    Declaration

    Swift

    -
    public let indexPath: IndexPath
    +
    public let indexPath: IndexPath
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public let representedElementCategory: CollectionElementCategory
    +
    public let representedElementCategory: CollectionElementCategory
    @@ -332,9 +332,9 @@

    Declaration

  • @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public let representedElementKind: String?
    +
    public let representedElementKind: String?
    @@ -370,9 +370,9 @@

    Accessing the Layout Attributes

  • - + - frame + frame
    @@ -387,7 +387,7 @@

    Accessing the Layout Attributes

    Declaration

    Swift

    -
    public var frame: CGRect = CGRect.zero
    +
    public var frame: CGRect = CGRect.zero
    @@ -397,9 +397,9 @@

    Declaration

  • - + - center + center
    @@ -414,7 +414,7 @@

    Declaration

    Declaration

    Swift

    -
    public var center: CGPoint
    +
    public var center: CGPoint
    @@ -424,9 +424,9 @@

    Declaration

  • - + - size + size
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    public var size: CGSize
    +
    public var size: CGSize
    @@ -451,9 +451,9 @@

    Declaration

  • - + - bounds + bounds
    @@ -468,7 +468,7 @@

    Declaration

    Declaration

    Swift

    -
    public var bounds: CGRect
    +
    public var bounds: CGRect
    @@ -478,9 +478,9 @@

    Declaration

  • - + - alpha + alpha
    @@ -495,7 +495,7 @@

    Declaration

    Declaration

    Swift

    -
    public var alpha: CGFloat = 1
    +
    public var alpha: CGFloat = 1
    @@ -505,9 +505,9 @@

    Declaration

  • - + - zIndex + zIndex
    @@ -522,7 +522,7 @@

    Declaration

    Declaration

    Swift

    -
    public var zIndex: CGFloat = 0
    +
    public var zIndex: CGFloat = 0
    @@ -532,9 +532,9 @@

    Declaration

  • - + - hidden + hidden
    @@ -549,7 +549,7 @@

    Declaration

    Declaration

    Swift

    -
    public var hidden: Bool = false
    +
    public var hidden: Bool = false
    @@ -559,9 +559,9 @@

    Declaration

  • - + - floating + floating
    @@ -576,7 +576,7 @@

    Declaration

    Declaration

    Swift

    -
    public var floating: Bool = false
    +
    public var floating: Bool = false
    @@ -614,7 +614,7 @@

    Creating Layout Attributes

    Declaration

    Swift

    -
    public init(forCellWith indexPath: IndexPath)
    +
    public init(forCellWith indexPath: IndexPath)
    @@ -660,7 +660,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath)
    +
    public init(forSupplementaryViewOfKind elementKind: String, with indexPath: IndexPath)
    @@ -701,9 +701,9 @@

    Parameters

  • @@ -717,7 +717,7 @@

    Parameters

    Declaration

    Swift

    -
    public var description: String
    +
    public var description: String
    @@ -749,7 +749,7 @@

    Declaration

    Declaration

    Swift

    -
    public func copy() -> CollectionViewLayoutAttributes
    +
    public func copy() -> CollectionViewLayoutAttributes
    @@ -768,8 +768,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewListLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewListLayout.html index e4bc012..2912301 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewListLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewListLayout.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewListLayout

    -
    public final class CollectionViewListLayout : CollectionViewLayout
    +
    public final class CollectionViewListLayout : CollectionViewLayout
    @@ -278,9 +278,9 @@

    Default layout values

  • @@ -295,7 +295,7 @@

    Default layout values

    Declaration

    Swift

    -
    public final var interitemSpacing : CGFloat = 0
    +
    public final var interitemSpacing : CGFloat = 0
    @@ -305,9 +305,9 @@

    Declaration

  • @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var itemHeight : CGFloat = 36
    +
    public final var itemHeight : CGFloat = 36
    @@ -332,9 +332,9 @@

    Declaration

  • @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var headerHeight : CGFloat = 0.0
    +
    public final var headerHeight : CGFloat = 0.0
    @@ -359,9 +359,9 @@

    Declaration

  • @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var footerHeight : CGFloat = 0.0
    +
    public final var footerHeight : CGFloat = 0.0
    @@ -386,9 +386,9 @@

    Declaration

  • @@ -403,7 +403,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var insetSupplementaryViews : Bool = false
    +
    public final var insetSupplementaryViews : Bool = false
    @@ -413,9 +413,9 @@

    Declaration

  • @@ -430,7 +430,7 @@

    Declaration

    Declaration

    Swift

    -
    public final var sectionInsets : NSEdgeInsets = NSEdgeInsetsZero
    +
    public final var sectionInsets : NSEdgeInsets = NSEdgeInsetsZero
    @@ -456,7 +456,7 @@

    Declaration

    Declaration

    Swift

    -
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    +
    override open func shouldInvalidateLayout(forBoundsChange newBounds : CGRect) -> Bool
    @@ -482,7 +482,7 @@

    Declaration

    Declaration

    Swift

    -
    override public func prepare()
    +
    override public func prepare()
    @@ -492,9 +492,9 @@

    Declaration

  • @@ -508,7 +508,7 @@

    Declaration

    Declaration

    Swift

    -
    override open var collectionViewContentSize : CGSize
    +
    override open var collectionViewContentSize : CGSize
    @@ -534,7 +534,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func rectForSection(_ section: Int) -> CGRect
    +
    open override func rectForSection(_ section: Int) -> CGRect
    @@ -560,7 +560,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func contentRectForSection(_ section: Int) -> CGRect
    +
    public override func contentRectForSection(_ section: Int) -> CGRect
    @@ -586,7 +586,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    +
    open override func layoutAttributesForItems(in rect: CGRect) -> [CollectionViewLayoutAttributes]
    @@ -612,7 +612,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    public override func layoutAttributesForItem(at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -638,7 +638,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    +
    public override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> CollectionViewLayoutAttributes?
    @@ -664,7 +664,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    +
    public override func scrollRectForItem(at indexPath: IndexPath, atPosition: CollectionViewScrollPosition) -> CGRect?
    @@ -690,7 +690,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    +
    public override func indexPathForNextItem(moving direction: CollectionViewDirection, from currentIndexPath: IndexPath) -> IndexPath?
    @@ -705,8 +705,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewCell.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewCell.html index a11c210..93d62d8 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewCell.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewCell.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewPreviewCell

    -
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    +
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    @@ -287,7 +287,7 @@

    CollectionViewPreviewCell

    Declaration

    Swift

    -
    open override func prepareForReuse()
    +
    open override func prepareForReuse()
    @@ -324,7 +324,7 @@

    Transitioning From Source

    Declaration

    Swift

    -
    open func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    open func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -350,7 +350,7 @@

    Declaration

    Declaration

    Swift

    -
    open func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    open func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    open func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -413,7 +413,7 @@

    Transitioning To Source

    Declaration

    Swift

    -
    open func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -439,7 +439,7 @@

    Declaration

    Declaration

    Swift

    -
    open func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    open func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -465,7 +465,7 @@

    Declaration

    Declaration

    Swift

    -
    open func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    +
    open func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    @@ -480,8 +480,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewController.html index c5d72d4..2622ac3 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewPreviewController.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewController

    -
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    +
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    @@ -295,9 +295,9 @@

    Delegate

  • - + - delegate + delegate
    @@ -312,7 +312,7 @@

    Delegate

    Declaration

    Swift

    -
    open weak var delegate : CollectionViewPreviewControllerDelegate?
    +
    open weak var delegate : CollectionViewPreviewControllerDelegate?
    @@ -333,9 +333,9 @@

    Styling

  • @@ -350,7 +350,7 @@

    Styling

    Declaration

    Swift

    -
    open var backgroundColor: NSColor = NSColor.white
    +
    open var backgroundColor: NSColor = NSColor.white
    @@ -377,7 +377,7 @@

    Declaration

    Declaration

    Swift

    -
    open override func viewDidLoad()
    +
    open override func viewDidLoad()
    @@ -398,9 +398,9 @@

    Source & Data

  • @@ -415,7 +415,7 @@

    Source & Data

    Declaration

    Swift

    -
    private(set) public var sourceCollectionView : CollectionView?
    +
    private(set) public var sourceCollectionView : CollectionView?
    @@ -425,9 +425,9 @@

    Declaration

  • @@ -442,7 +442,7 @@

    Declaration

    Declaration

    Swift

    -
    private(set) public var sourceIndexPath : IndexPath?
    +
    private(set) public var sourceIndexPath : IndexPath?
    @@ -452,9 +452,9 @@

    Declaration

  • @@ -469,7 +469,7 @@

    Declaration

    Declaration

    Swift

    -
    public var currentIndexPath : IndexPath?
    +
    public var currentIndexPath : IndexPath?
    @@ -490,9 +490,9 @@

    Transitions

  • @@ -507,7 +507,7 @@

    Transitions

    Declaration

    Swift

    -
    open var transitionDuration : TimeInterval = 0.25
    +
    open var transitionDuration : TimeInterval = 0.25
    @@ -542,7 +542,7 @@

    Declaration

    Declaration

    Swift

    -
    open func present(in controller: NSViewController, source sourceCollectionView: CollectionView, indexPath: IndexPath, completion: AnimationCompletion? = nil)
    +
    open func present(in controller: NSViewController, source sourceCollectionView: CollectionView, indexPath: IndexPath, completion: AnimationCompletion? = nil)
    @@ -624,7 +624,7 @@

    Parameters

    Declaration

    Swift

    -
    open func dismiss(animated: Bool, completion: AnimationCompletion? = nil)
    +
    open func dismiss(animated: Bool, completion: AnimationCompletion? = nil)
    @@ -670,8 +670,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewProvider.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewProvider.html index b60a29b..976a51b 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewProvider.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewProvider.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewProvider

    -
    public class CollectionViewProvider : CollectionViewResultsProxy
    +
    public class CollectionViewProvider : CollectionViewResultsProxy
    @@ -271,9 +271,9 @@

    CollectionViewProvider

  • @@ -288,7 +288,7 @@

    CollectionViewProvider

    Declaration

    Swift

    -
    public unowned let collectionView : CollectionView
    +
    public unowned let collectionView : CollectionView
    @@ -298,9 +298,9 @@

    Declaration

  • @@ -320,7 +320,7 @@

    Discussion

    Declaration

    Swift

    -
    public var populateEmptySections = false
    +
    public var populateEmptySections = false
    @@ -330,9 +330,9 @@

    Declaration

  • @@ -352,7 +352,7 @@

    Discussion

    Declaration

    Swift

    -
    public var populateWhenEmpty = false
    +
    public var populateWhenEmpty = false
    @@ -382,7 +382,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerDidLoadContent(controller: ResultsController)
    +
    public func controllerDidLoadContent(controller: ResultsController)
    @@ -408,7 +408,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerWillChangeContent(controller: ResultsController)
    +
    public func controllerWillChangeContent(controller: ResultsController)
    @@ -434,7 +434,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    public func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -460,7 +460,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    public func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -486,7 +486,7 @@

    Declaration

    Declaration

    Swift

    -
    public func controllerDidChangeContent(controller: ResultsController)
    +
    public func controllerDidChangeContent(controller: ResultsController)
    @@ -501,8 +501,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewResultsProxy.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewResultsProxy.html index 978a3c6..7e4ebad 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewResultsProxy.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/CollectionViewResultsProxy.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    CollectionViewResultsProxy

    -
    public class CollectionViewResultsProxy
    +
    public class CollectionViewResultsProxy
    @@ -288,7 +288,7 @@

    CollectionViewResultsProxy

    Declaration

    Swift

    -
    public func addChange(forItemAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    +
    public func addChange(forItemAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    @@ -346,7 +346,7 @@

    Parameters

    Declaration

    Swift

    -
    public func addChange(forSectionAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    +
    public func addChange(forSectionAt source: IndexPath?, with changeType: ResultsControllerChangeType)
    @@ -387,9 +387,9 @@

    Parameters

  • - + - count + count
    @@ -404,7 +404,7 @@

    Parameters

    Declaration

    Swift

    -
    public var count : Int
    +
    public var count : Int
    @@ -431,7 +431,7 @@

    Declaration

    Declaration

    Swift

    -
    public func union(with other: CollectionViewResultsProxy)
    +
    public func union(with other: CollectionViewResultsProxy)
    @@ -465,8 +465,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedResultsController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedResultsController.html index bd34de6..ad0f211 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedResultsController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    FetchedResultsController

    -
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    +
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    @@ -299,7 +299,7 @@

    Initialization

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionKeyPath: KeyPath<Element,Section>? = nil)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionKeyPath: KeyPath<Element,Section>? = nil)
    @@ -363,9 +363,9 @@

    Configuration

  • - + - delegate + delegate
    @@ -380,7 +380,7 @@

    Configuration

    Declaration

    Swift

    -
    public override weak var delegate: ResultsControllerDelegate?
    +
    public override weak var delegate: ResultsControllerDelegate?
    @@ -390,9 +390,9 @@

    Declaration

  • @@ -407,7 +407,7 @@

    Declaration

    Declaration

    Swift

    -
    public let fetchRequest : NSFetchRequest<Element>
    +
    public let fetchRequest : NSFetchRequest<Element>
    @@ -417,9 +417,9 @@

    Declaration

  • @@ -434,7 +434,7 @@

    Declaration

    Declaration

    Swift

    -
    public var managedObjectContext: NSManagedObjectContext
    +
    public var managedObjectContext: NSManagedObjectContext
    @@ -461,7 +461,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    +
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    @@ -527,7 +527,7 @@

    Status

    Declaration

    Swift

    -
    public func performFetch() throws
    +
    public func performFetch() throws
    @@ -554,7 +554,7 @@

    Declaration

    Declaration

    Swift

    -
    public override func reset()
    +
    public override func reset()
    @@ -569,8 +569,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedSetController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedSetController.html index bbc01f6..a88a714 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedSetController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/FetchedSetController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    FetchedSetController

    -
    public class FetchedSetController : NSObject
    +
    public class FetchedSetController : NSObject
    @@ -295,7 +295,7 @@

    Initialization

    Declaration

    Swift

    -
    convenience public init(context: NSManagedObjectContext, entityName: String)
    +
    convenience public init(context: NSManagedObjectContext, entityName: String)
    @@ -353,7 +353,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<NSManagedObject>)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<NSManagedObject>)
    @@ -416,7 +416,7 @@

    Parameters

    Declaration

    Swift

    -
    @discardableResult public func performFetch() throws -> [NSManagedObject]
    +
    @discardableResult public func performFetch() throws -> [NSManagedObject]
    @@ -447,7 +447,7 @@

    Return Value

    Declaration

    Swift

    -
    public func reset()
    +
    public func reset()
    @@ -468,9 +468,9 @@

    Configuration

  • @@ -485,7 +485,7 @@

    Configuration

    Declaration

    Swift

    -
    public private(set) var managedObjectContext : NSManagedObjectContext
    +
    public private(set) var managedObjectContext : NSManagedObjectContext
    @@ -512,7 +512,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    +
    public func setManagedObjectContext(_ moc: NSManagedObjectContext) throws
    @@ -545,9 +545,9 @@

    Return Value

  • @@ -562,7 +562,7 @@

    Return Value

    Declaration

    Swift

    -
    public let fetchRequest : NSFetchRequest<NSManagedObject>
    +
    public let fetchRequest : NSFetchRequest<NSManagedObject>
    @@ -572,9 +572,9 @@

    Declaration

  • - + - delegate + delegate
    @@ -589,7 +589,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var delegate: FetchedSetControllerDelegate?
    +
    public weak var delegate: FetchedSetControllerDelegate?
    @@ -610,9 +610,9 @@

    Contents

  • @@ -627,7 +627,7 @@

    Contents

    Declaration

    Swift

    -
    public var numberOfObjects : Int
    +
    public var numberOfObjects : Int
    @@ -648,9 +648,9 @@

    Notification Registration

  • - + - wait + wait
    @@ -665,7 +665,7 @@

    Notification Registration

    Declaration

    Swift

    -
    public var wait: Bool = true
    +
    public var wait: Bool = true
    @@ -680,8 +680,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/MutableResultsController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/MutableResultsController.html index 2dab8b8..5e04b5f 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/MutableResultsController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/MutableResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    MutableResultsController

    -
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    +
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    @@ -278,9 +278,9 @@

    Configuration

  • @@ -295,7 +295,7 @@

    Configuration

    Declaration

    Swift

    -
    public var isSectioned: Bool
    +
    public var isSectioned: Bool
    @@ -322,7 +322,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section>?)
    +
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section>?)
    @@ -349,7 +349,7 @@

    Declaration

    Declaration

    Swift

    -
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section?>)
    +
    public func setSectionKeyPath(_ keyPath: KeyPath<Element, Section?>)
    @@ -359,9 +359,9 @@

    Declaration

  • - + - delegate + delegate
    @@ -376,7 +376,7 @@

    Declaration

    Declaration

    Swift

    -
    public weak var delegate: ResultsControllerDelegate?
    +
    public weak var delegate: ResultsControllerDelegate?
    @@ -397,9 +397,9 @@

    Controller Contents

  • @@ -414,7 +414,7 @@

    Controller Contents

    Declaration

    Swift

    -
    public var numberOfSections : Int
    +
    public var numberOfSections : Int
    @@ -441,7 +441,7 @@

    Declaration

    Declaration

    Swift

    -
    public func numberOfObjects(in section: Int) -> Int
    +
    public func numberOfObjects(in section: Int) -> Int
    @@ -474,9 +474,9 @@

    Return Value

  • @@ -493,7 +493,7 @@

    Return Value

    Declaration

    Swift

    -
    public var allObjects: [Element]
    +
    public var allObjects: [Element]
    @@ -503,9 +503,9 @@

    Declaration

  • - + - sections + sections
    @@ -522,7 +522,7 @@

    Declaration

    Declaration

    Swift

    -
    public var sections: [SectionInfo<Section,Element>]
    +
    public var sections: [SectionInfo<Section,Element>]
    @@ -555,7 +555,7 @@

    Declaration

    Declaration

    Swift

    -
    public func sectionName(forSectionAt indexPath: IndexPath) -> String
    +
    public func sectionName(forSectionAt indexPath: IndexPath) -> String
    @@ -616,7 +616,7 @@

    Querying Sections & Objects

    Declaration

    Swift

    -
    public func object(at indexPath: IndexPath) -> Element?
    +
    public func object(at indexPath: IndexPath) -> Element?
    @@ -666,7 +666,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(at sectionIndexPath: IndexPath) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(at sectionIndexPath: IndexPath) -> SectionInfo<Section,Element>?
    @@ -716,7 +716,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(at sectionIndex: Int) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(at sectionIndex: Int) -> SectionInfo<Section,Element>?
    @@ -766,7 +766,7 @@

    Return Value

    Declaration

    Swift

    -
    public func object(forSectionAt sectionIndexPath: IndexPath) -> Section?
    +
    public func object(forSectionAt sectionIndexPath: IndexPath) -> Section?
    @@ -816,7 +816,7 @@

    Return Value

    Declaration

    Swift

    -
    public func sectionInfo(representing section: Section?) -> SectionInfo<Section,Element>?
    +
    public func sectionInfo(representing section: Section?) -> SectionInfo<Section,Element>?
    @@ -866,7 +866,7 @@

    Return Value

    Declaration

    Swift

    -
    public func contains(object: Element) -> Bool
    +
    public func contains(object: Element) -> Bool
    @@ -916,7 +916,7 @@

    Return Value

    Declaration

    Swift

    -
    public func contains(sectionObject: Section) -> Bool
    +
    public func contains(sectionObject: Section) -> Bool
    @@ -977,7 +977,7 @@

    Getting IndexPaths

    Declaration

    Swift

    -
    public func indexPath(of object: Element) -> IndexPath?
    +
    public func indexPath(of object: Element) -> IndexPath?
    @@ -1027,7 +1027,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPath(of sectionInfo: SectionInfo<Section,Element>) -> IndexPath?
    +
    public func indexPath(of sectionInfo: SectionInfo<Section,Element>) -> IndexPath?
    @@ -1079,7 +1079,7 @@

    Return Value

    Declaration

    Swift

    -
    public func indexPathOfSection(representing sectionValue: Section?) -> IndexPath?
    +
    public func indexPathOfSection(representing sectionValue: Section?) -> IndexPath?
    @@ -1140,7 +1140,7 @@

    Storage Manipulation

    Declaration

    Swift

    -
    public func setContent(_ content: [(Section,[Element])])
    +
    public func setContent(_ content: [(Section,[Element])])
    @@ -1186,7 +1186,7 @@

    Parameters

    Declaration

    Swift

    -
    public func setContent(sections: [Section] = [], objects: [Element])
    +
    public func setContent(sections: [Section] = [], objects: [Element])
    @@ -1232,7 +1232,7 @@

    Parameters

    Declaration

    Swift

    -
    public func reset()
    +
    public func reset()
    @@ -1253,9 +1253,9 @@

    Making Updates

  • @@ -1270,7 +1270,7 @@

    Making Updates

    Declaration

    Swift

    -
    public var pendingChangeCount : Int
    +
    public var pendingChangeCount : Int
    @@ -1280,9 +1280,9 @@

    Declaration

  • @@ -1297,7 +1297,7 @@

    Declaration

    Declaration

    Swift

    -
    public var pendingItemChangeCount : Int
    +
    public var pendingItemChangeCount : Int
    @@ -1324,7 +1324,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginEditing()
    +
    public func beginEditing()
    @@ -1351,7 +1351,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endEditing()
    +
    public func endEditing()
    @@ -1372,9 +1372,9 @@

    Section Manipulation

  • @@ -1389,7 +1389,7 @@

    Section Manipulation

    Declaration

    Swift

    -
    public func delete(section: Section)
    +
    public func delete(section: Section)
    @@ -1418,9 +1418,9 @@

    Parameters

  • @@ -1435,7 +1435,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert(section: Section)
    +
    public func insert(section: Section)
    @@ -1464,9 +1464,9 @@

    Parameters

  • @@ -1483,7 +1483,7 @@

    Parameters

    Declaration

    Swift

    -
    public func didUpdate(section: Section)
    +
    public func didUpdate(section: Section)
    @@ -1523,9 +1523,9 @@

    Object Manipulation

  • @@ -1540,7 +1540,7 @@

    Object Manipulation

    Declaration

    Swift

    -
    public func delete<C : Collection>(objects deletedObjects: C) where C.Iterator.Element == Element
    +
    public func delete<C : Collection>(objects deletedObjects: C) where C.Iterator.Element == Element
    @@ -1569,9 +1569,9 @@

    Parameters

  • @@ -1586,7 +1586,7 @@

    Parameters

    Declaration

    Swift

    -
    public func delete(object: Element)
    +
    public func delete(object: Element)
    @@ -1615,9 +1615,9 @@

    Parameters

  • @@ -1632,7 +1632,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert<C : Collection>(objects newObjects: C) where C.Iterator.Element == Element
    +
    public func insert<C : Collection>(objects newObjects: C) where C.Iterator.Element == Element
    @@ -1661,9 +1661,9 @@

    Parameters

  • @@ -1678,7 +1678,7 @@

    Parameters

    Declaration

    Swift

    -
    public func insert(object: Element)
    +
    public func insert(object: Element)
    @@ -1707,9 +1707,9 @@

    Parameters

  • @@ -1726,7 +1726,7 @@

    Parameters

    Declaration

    Swift

    -
    public func didUpdate(object: Element)
    +
    public func didUpdate(object: Element)
    @@ -1760,8 +1760,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/RelationalResultsController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/RelationalResultsController.html index f80621f..8102a24 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/RelationalResultsController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Classes/RelationalResultsController.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,34 +255,34 @@

    RelationalResultsController

    -
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    +
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    In a FetchedResultsController (and NSFetchedResultsController) you would use sectionKeyPath to achieve the following:

    -
    Things
    -   { sectionKeyPath : "Things" }
    -   { sectionKeyPath : "Things" }
    +
    Things
    +   { sectionKeyPath : "Things" }
    +   { sectionKeyPath : "Things" }
     
    -Not Things
    -   { sectionKeyPath : "Not Things" }
    -   { sectionKeyPath : "Not Things" }
    +Not Things
    +   { sectionKeyPath : "Not Things" }
    +   { sectionKeyPath : "Not Things" }
     

    While this is great, it does not work well for the common Parent-Child data model. In a Department - Employee model for example we woul want:

    -
    Sales {}
    -   Jim {}
    -   Samantha {}
    +
    Sales {}
    +   Jim {}
    +   Samantha {}
     
    -Managment {}
    -   Sarah {}
    -   Howard {}
    +Managment {}
    +   Sarah {}
    +   Howard {}
     
     
    -Delivery {}
    -   <No employees>
    +Delivery {}
    +   <No employees>
     

    In this case, both the parent and child are NSManagedObjects joined by a relationship. Also, notice the Delivery department has no employees. With a standard FetchedResultsController where sections consist of the available values in the fetched objects, the Delivery would not be included. With a RelationalResultsController though you can opt to fetch both the sections and object independently (see fetchSections).

    @@ -321,7 +321,7 @@

    Initialization

    Declaration

    Swift

    -
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionRequest: NSFetchRequest<Section>, sectionKeyPath keyPath: KeyPath<Element, Section?>)
    +
    public init(context: NSManagedObjectContext, request: NSFetchRequest<Element>, sectionRequest: NSFetchRequest<Section>, sectionKeyPath keyPath: KeyPath<Element, Section?>)
    @@ -403,7 +403,7 @@

    Parameters

    Declaration

    Swift

    -
    override public func performFetch() throws
    +
    override public func performFetch() throws
    @@ -424,9 +424,9 @@

    Configuration

  • @@ -436,7 +436,7 @@

    Configuration

    A fetch request used to fetch, filter, and sort the section results of the controller.

    -

    This is used to validate the section objects. If fetchSections is true, section objects will be fetched independent of the child objects.

    +

    This is used to validate the section objects. If fetchSections is true, section objects will be fetched independent of the child objects.

    A parent object that does not match the request here, may still be visible if it has children that match the predicate of fetchRequest.

    @@ -445,7 +445,7 @@

    Configuration

    Declaration

    Swift

    -
    public let sectionFetchRequest : NSFetchRequest<Section>
    +
    public let sectionFetchRequest : NSFetchRequest<Section>
    @@ -455,9 +455,9 @@

    Declaration

  • @@ -474,7 +474,7 @@

    Declaration

    Declaration

    Swift

    -
    public var sectionNameKeyPath : String?
    +
    public var sectionNameKeyPath : KeyPath<Section, String>?
    @@ -484,9 +484,9 @@

    Declaration

  • @@ -503,7 +503,7 @@

    Declaration

    Declaration

    Swift

    -
    public var fetchSections : Bool = true
    +
    public var fetchSections : Bool = true
    @@ -540,7 +540,7 @@

    Section Names

    Declaration

    Swift

    -
    public override func sectionName(forSectionAt indexPath: IndexPath) -> String
    +
    public override func sectionName(forSectionAt indexPath: IndexPath) -> String
    @@ -555,8 +555,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View Layouts.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View Layouts.html index d25ca1c..ed06493 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View Layouts.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View Layouts.html @@ -217,7 +217,7 @@ Other Enumerations
  • @@ -281,7 +281,7 @@

    Collection View Layouts

    Declaration

    Swift

    -
    open class CollectionViewLayout : NSObject
    +
    open class CollectionViewLayout : NSObject
    @@ -313,7 +313,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    +
    public class CollectionViewLayoutAttributes: CustomStringConvertible
    @@ -345,7 +345,7 @@

    Declaration

    Declaration

    Swift

    -
    public final class CollectionViewListLayout : CollectionViewLayout
    +
    public final class CollectionViewListLayout : CollectionViewLayout
    @@ -373,7 +373,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    @@ -421,7 +421,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewColumnLayout : CollectionViewLayout
    +
    open class CollectionViewColumnLayout : CollectionViewLayout
    @@ -449,7 +449,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    @@ -483,21 +483,21 @@

    Declaration

    Span items are always placed an their own row and fill the width of the Collection View.

    Example

    -
    +---------------------------------+
    -|   +-----+ +------------+ +--+   |
    -|   |  1  | |     2      | | 3|   |
    -|   |     | |            | |  |   |
    -|   +-----+ +------------+ +--+   |
    -|   +--------+ +---------+        |
    -|   |   4    | |   5     |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   |        | |         |        |
    -|   +--------+ +---------+        |
    -|   +-------------------------+   |
    -|   |         6. Span         |   |
    -|   +-------------------------+   |
    -+---------------------------------+
    +
    +---------------------------------+
    +|   +-----+ +------------+ +--+   |
    +|   |  1  | |     2      | | 3|   |
    +|   |     | |            | |  |   |
    +|   +-----+ +------------+ +--+   |
    +|   +--------+ +---------+        |
    +|   |   4    | |   5     |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   |        | |         |        |
    +|   +--------+ +---------+        |
    +|   +-------------------------+   |
    +|   |         6. Span         |   |
    +|   +-------------------------+   |
    ++---------------------------------+
     

    Transformations

    @@ -518,7 +518,7 @@

    Spacing

    Declaration

    Swift

    -
    open class CollectionViewFlowLayout : CollectionViewLayout
    +
    open class CollectionViewFlowLayout : CollectionViewLayout
    @@ -546,7 +546,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewDelegateFlowLayout
    +
    public protocol CollectionViewDelegateFlowLayout
    @@ -578,7 +578,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    +
    open class CollectionViewHorizontalListLayout : CollectionViewLayout
    @@ -606,7 +606,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    @@ -621,8 +621,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View.html index 2764ae4..1a4a43d 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Collection View.html @@ -217,7 +217,7 @@ Other Enumerations @@ -302,7 +302,7 @@

    Laying Out Items

    Declaration

    Swift

    -
    open class CollectionView : ScrollView, NSDraggingSource
    +
    open class CollectionView : ScrollView, NSDraggingSource
    @@ -345,7 +345,7 @@

    Overview

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDataSource
    +
    @objc public protocol CollectionViewDataSource
    @@ -373,7 +373,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegate
    @@ -401,7 +401,7 @@

    Declaration

    Declaration

    Swift

    -
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    +
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    @@ -433,7 +433,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewCell : CollectionReusableView
    +
    open class CollectionViewCell : CollectionReusableView
    @@ -461,7 +461,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionReusableView : NSView
    +
    open class CollectionReusableView : NSView
    @@ -493,7 +493,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    +
    open class CollectionViewController : NSViewController, CollectionViewDataSource, CollectionViewDelegate
    @@ -524,7 +524,7 @@

    Declaration

    Declaration

    Swift

    -
    public struct CollectionViewLayoutElementKind
    +
    public struct CollectionViewLayoutElementKind
    @@ -560,7 +560,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionElementCategory
    +
    public enum CollectionElementCategory
    @@ -594,7 +594,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewDirection
    +
    public enum CollectionViewDirection
    @@ -626,7 +626,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewScrollDirection
    +
    public enum CollectionViewScrollDirection
    @@ -661,7 +661,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum CollectionViewScrollPosition
    +
    public enum CollectionViewScrollPosition
    @@ -688,7 +688,7 @@

    Declaration

    Declaration

    Swift

    -
    public typealias AnimationCompletion = (_ finished: Bool)->Void
    +
    public typealias AnimationCompletion = (_ finished: Bool)->Void
    @@ -720,7 +720,7 @@

    Declaration

    Declaration

    Swift

    -
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    +
    open class CollectionViewPreviewCell : CollectionViewCell, CollectionViewPreviewTransitionCell
    @@ -750,7 +750,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewPreviewTransitionCell : class
    +
    public protocol CollectionViewPreviewTransitionCell : class
    @@ -799,7 +799,7 @@

    Transitions

    Declaration

    Swift

    -
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    +
    open class CollectionViewPreviewController : CollectionViewController, CollectionViewDelegatePreviewLayout
    @@ -827,7 +827,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol CollectionViewPreviewControllerDelegate: class
    +
    public protocol CollectionViewPreviewControllerDelegate: class
    @@ -842,8 +842,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Enums/SortDescriptorResult.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Enums/SortDescriptorResult.html new file mode 100644 index 0000000..7230272 --- /dev/null +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Enums/SortDescriptorResult.html @@ -0,0 +1,342 @@ + + + + SortDescriptorResult Enumeration Reference + + + + + + + + + + + + + + + + +
    +

    + + CollectionView Docs + + (64% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    SortDescriptorResult

    +
    +
    +
    public enum SortDescriptorResult : ExpressibleByBooleanLiteral
    + +
    +
    +

    Sort Descriptor Result

    + +
      +
    • same: The two objects are equally compared
    • +
    • ascending: The first object is before the second (ordered)
    • +
    • descending: The second object precedes the first (reversed)
    • +
    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + BooleanLiteralType + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias BooleanLiteralType = Bool
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + init(booleanLiteral:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public init(booleanLiteral value: Bool)
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Extensions/IndexPath.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Extensions/IndexPath.html index a789a03..55a7e21 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Extensions/IndexPath.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Extensions/IndexPath.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    IndexPath

    -
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    +
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    @@ -293,7 +293,7 @@

    IndexPath

    Declaration

    Swift

    -
    public static func `for`(item: Int = 0, section: Int) -> IndexPath
    +
    public static func `for`(item: Int = 0, section: Int) -> IndexPath
    @@ -338,9 +338,9 @@

    Return Value

  • - + - _item + _item
    @@ -355,7 +355,7 @@

    Return Value

    Declaration

    Swift

    -
    public var _item: Int
    +
    public var _item: Int
    @@ -365,9 +365,9 @@

    Declaration

  • - + - _section + _section
    @@ -382,7 +382,7 @@

    Declaration

    Declaration

    Swift

    -
    public var _section: Int
    +
    public var _section: Int
    @@ -397,8 +397,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Guides.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Guides.html index 6d0ebf8..115b2c4 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Guides.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Guides.html @@ -217,7 +217,7 @@ Other Enumerations
  • @@ -264,8 +264,8 @@

    Guides

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Enums.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Enums.html index 6e93923..7a46cb7 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Enums.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Enums.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,12 +282,13 @@

    Other Enumerations

  • descending: The second object precedes the first (reversed)
  • + See more

    Declaration

    Swift

    -
    public enum SortDescriptorResult
    +
    public enum SortDescriptorResult : ExpressibleByBooleanLiteral
    @@ -302,8 +303,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Extensions.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Extensions.html index 2a7b60e..2e2f676 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Extensions.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Extensions.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,7 +282,7 @@

    Other Extensions

    Declaration

    Swift

    -
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    +
    struct IndexPath : ReferenceConvertible, Equatable, Hashable, MutableCollection, RandomAccessCollection, Comparable, ExpressibleByArrayLiteral
    @@ -297,8 +297,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Protocols.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Protocols.html index ee72e5e..e9160b1 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Protocols.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Protocols.html @@ -217,7 +217,7 @@ Other Enumerations @@ -281,7 +281,7 @@

    Other Protocols

    Declaration

    Swift

    -
    public protocol CustomDisplayStringConvertible
    +
    public protocol CustomDisplayStringConvertible
    @@ -296,8 +296,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Structs.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Structs.html index 3bb14d4..6c0faa3 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Structs.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Other Structs.html @@ -217,7 +217,7 @@ Other Enumerations @@ -282,7 +282,7 @@

    Other Structures

    Declaration

    Swift

    -
    public struct SortDescriptor<T>
    +
    public struct SortDescriptor<T>
    @@ -297,8 +297,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDataSource.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDataSource.html index 87423b7..c54f8ec 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDataSource.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDataSource.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDataSource

    -
    @objc public protocol CollectionViewDataSource
    +
    @objc public protocol CollectionViewDataSource
    @@ -306,7 +306,7 @@

    Getting Item and Section Metrics

    Declaration

    Swift

    -
    func numberOfSections(in collectionView: CollectionView) -> Int
    +
    func numberOfSections(in collectionView: CollectionView) -> Int
    @@ -356,7 +356,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    +
    func collectionView(_ collectionView: CollectionView, numberOfItemsInSection section: Int) -> Int
    @@ -433,7 +433,7 @@

    Discussion

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    func collectionView(_ collectionView: CollectionView, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -499,7 +499,7 @@

    Discussion

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> CollectionReusableView
    +
    @objc optional func collectionView(_ collectionView: CollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> CollectionReusableView
    @@ -584,7 +584,7 @@

    Dragging Items

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting?
    +
    @objc optional func collectionView(_ collectionView: CollectionView, pasteboardWriterForItemAt indexPath: IndexPath) -> NSPasteboardWriting?
    @@ -651,7 +651,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragContentsForItemAt indexPath: IndexPath) -> NSImage?
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragContentsForItemAt indexPath: IndexPath) -> NSImage?
    @@ -713,7 +713,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragRectForItemAt indexPath: IndexPath, withStartingRect rect: UnsafeMutablePointer<CGRect>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragRectForItemAt indexPath: IndexPath, withStartingRect rect: UnsafeMutablePointer<CGRect>)
    @@ -771,8 +771,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegate.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegate.html index abf42c5..cdc3d05 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegate.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegate

    -
    @objc public protocol CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegate
    @@ -302,7 +302,7 @@

    Reloading Data

    Declaration

    Swift

    -
    @objc optional func collectionViewWillReloadLayout(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewWillReloadLayout(_ collectionView: CollectionView)
    @@ -342,7 +342,7 @@

    Parameters

    Notifies the delegate that the collection view finished reloading it’s layout

    -
    It can be assumed that the data has been reloaded and  is up to date
    +
    It can be assumed that the data has been reloaded and  is up to date
     
    @@ -350,7 +350,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidReloadLayout(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidReloadLayout(_ collectionView: CollectionView)
    @@ -407,7 +407,7 @@

    First Responder

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didChangeFirstResponderStatus firstResponder: Bool)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didChangeFirstResponderStatus firstResponder: Bool)
    @@ -481,7 +481,7 @@

    Mouse Tracking

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, mouseMovedToSection indexPath: IndexPath?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, mouseMovedToSection indexPath: IndexPath?)
    @@ -539,7 +539,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, mouseDownInItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, mouseDownInItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -609,7 +609,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,
    @@ -690,7 +690,7 @@

    Highlighting

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
    @@ -767,7 +767,7 @@

    Selections

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldSelectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    @@ -848,7 +848,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didSelectItemsAt indexPaths: Set<IndexPath>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didSelectItemsAt indexPaths: Set<IndexPath>)
    @@ -908,7 +908,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldDeselectItemsAt indexPaths: Set<IndexPath>) -> Set<IndexPath>
    @@ -972,7 +972,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didDeselectItemsAt indexPaths: Set<IndexPath>)
    @@ -1030,7 +1030,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didDoubleClickItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didDoubleClickItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -1100,7 +1100,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didRightClickItemAt indexPath: IndexPath?, with event: NSEvent)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didRightClickItemAt indexPath: IndexPath?, with event: NSEvent)
    @@ -1181,7 +1181,7 @@

    View Display

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, willDisplaySupplementaryView view:CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, willDisplaySupplementaryView view:CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    @@ -1251,7 +1251,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingCell cell: CollectionViewCell, forItemAt indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingCell cell: CollectionViewCell, forItemAt indexPath: IndexPath)
    @@ -1321,7 +1321,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingSupplementaryView view: CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didEndDisplayingSupplementaryView view: CollectionReusableView, ofElementKind elementKind: String, at indexPath: IndexPath)
    @@ -1416,7 +1416,7 @@

    Ancoring

    Declaration

    Swift

    -
    @objc optional func collectionViewLayoutAnchor(_ collectionView: CollectionView) -> IndexPath?
    +
    @objc optional func collectionViewLayoutAnchor(_ collectionView: CollectionView) -> IndexPath?
    @@ -1477,7 +1477,7 @@

    Resizing

    Declaration

    Swift

    -
    @objc optional func collectionViewDidEndLiveResize(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidEndLiveResize(_ collectionView: CollectionView)
    @@ -1534,7 +1534,7 @@

    Scrolling

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldScrollToItemAt indexPath: IndexPath) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldScrollToItemAt indexPath: IndexPath) -> Bool
    @@ -1596,7 +1596,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, didScrollToItemAt indexPath: IndexPath)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, didScrollToItemAt indexPath: IndexPath)
    @@ -1656,7 +1656,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidScroll(_ collectionView: CollectionView)
    +
    @objc optional func collectionViewDidScroll(_ collectionView: CollectionView)
    @@ -1702,7 +1702,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewWillBeginScrolling(_ collectionView: CollectionView, animated: Bool)
    +
    @objc optional func collectionViewWillBeginScrolling(_ collectionView: CollectionView, animated: Bool)
    @@ -1760,7 +1760,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool)
    +
    @objc optional func collectionViewDidEndScrolling(_ collectionView: CollectionView, animated: Bool)
    @@ -1806,8 +1806,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateColumnLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateColumnLayout.html index 8f9f390..eaf1102 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateColumnLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateColumnLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateColumnLayout

    -
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateColumnLayout: CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Spacing & Insets

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -369,7 +369,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -443,7 +443,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -517,7 +517,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionview(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionview(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -602,7 +602,7 @@

    Item Size

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -676,7 +676,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -761,7 +761,7 @@

    Header & Footer Size

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -835,7 +835,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -897,8 +897,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateFlowLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateFlowLayout.html index 86a7d52..d0bbf49 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateFlowLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateFlowLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateFlowLayout

    -
    public protocol CollectionViewDelegateFlowLayout
    +
    public protocol CollectionViewDelegateFlowLayout
    @@ -302,7 +302,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView(_ collectionView: CollectionView, flowLayout: CollectionViewFlowLayout, styleForItemAt indexPath: IndexPath) -> CollectionViewFlowLayout.ItemStyle
    +
    func collectionView(_ collectionView: CollectionView, flowLayout: CollectionViewFlowLayout, styleForItemAt indexPath: IndexPath) -> CollectionViewFlowLayout.ItemStyle
    @@ -385,7 +385,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -468,7 +468,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -560,7 +560,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -641,7 +641,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    +
    func collectionView (_ collectionView: CollectionView, flowLayout collectionViewLayout: CollectionViewFlowLayout,
    @@ -703,8 +703,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateHorizontalListLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateHorizontalListLayout.html index de38ef9..8b9edbe 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateHorizontalListLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateHorizontalListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateHorizontalListLayout

    -
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateHorizontalListLayout: CollectionViewDelegate
    @@ -288,7 +288,7 @@

    CollectionViewDelegateHorizontalListLayout

    Declaration

    Swift

    -
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView (_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -350,8 +350,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateListLayout.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateListLayout.html index 9253306..5ac05eb 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateListLayout.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDelegateListLayout.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDelegateListLayout

    -
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    +
    @objc public protocol CollectionViewDelegateListLayout: CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Element Size

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -369,7 +369,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -443,7 +443,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -528,7 +528,7 @@

    Spacing & Insets

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView,layout collectionViewLayout: CollectionViewLayout,
    @@ -602,7 +602,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    +
    @objc optional func collectionView(_ collectionView: CollectionView, layout collectionViewLayout: CollectionViewLayout,
    @@ -664,8 +664,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDragDelegate.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDragDelegate.html index 0276180..142720b 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDragDelegate.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewDragDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewDragDelegate

    -
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    +
    @objc public protocol CollectionViewDragDelegate : CollectionViewDelegate
    @@ -295,7 +295,7 @@

    Dragging Source

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, shouldBeginDraggingAt indexPath: IndexPath, with event: NSEvent) ->Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, shouldBeginDraggingAt indexPath: IndexPath, with event: NSEvent) ->Bool
    @@ -371,7 +371,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, validateIndexPathsForDrag indexPaths: [IndexPath]) -> [IndexPath]
    +
    @objc optional func collectionView(_ collectionView: CollectionView, validateIndexPathsForDrag indexPaths: [IndexPath]) -> [IndexPath]
    @@ -435,7 +435,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, willBeginAt point: NSPoint)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, willBeginAt point: NSPoint)
    @@ -505,7 +505,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didEndAt screenPoint: NSPoint, with operation: NSDragOperation, draggedIndexPaths: [IndexPath])
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didEndAt screenPoint: NSPoint, with operation: NSDragOperation, draggedIndexPaths: [IndexPath])
    @@ -587,7 +587,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didMoveTo point: NSPoint)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, draggingSession session: NSDraggingSession, didMoveTo point: NSPoint)
    @@ -668,7 +668,7 @@

    Dragging Destination

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragEntered dragInfo: NSDraggingInfo) -> NSDragOperation
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragEntered dragInfo: NSDraggingInfo) -> NSDragOperation
    @@ -730,7 +730,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragUpdated dragInfo: NSDraggingInfo) -> NSDragOperation
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragUpdated dragInfo: NSDraggingInfo) -> NSDragOperation
    @@ -792,7 +792,7 @@

    Return Value

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragExited dragInfo: NSDraggingInfo?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragExited dragInfo: NSDraggingInfo?)
    @@ -850,7 +850,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, dragEnded dragInfo: NSDraggingInfo?)
    +
    @objc optional func collectionView(_ collectionView: CollectionView, dragEnded dragInfo: NSDraggingInfo?)
    @@ -908,7 +908,7 @@

    Parameters

    Declaration

    Swift

    -
    @objc optional func collectionView(_ collectionView: CollectionView, performDragOperation dragInfo: NSDraggingInfo) -> Bool
    +
    @objc optional func collectionView(_ collectionView: CollectionView, performDragOperation dragInfo: NSDraggingInfo) -> Bool
    @@ -958,8 +958,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewControllerDelegate.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewControllerDelegate.html index 0f9b37e..894b416 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewControllerDelegate.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewControllerDelegate.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewControllerDelegate

    -
    public protocol CollectionViewPreviewControllerDelegate: class
    +
    public protocol CollectionViewPreviewControllerDelegate: class
    @@ -290,7 +290,7 @@

    CollectionViewPreviewControllerDelegate

    Declaration

    Swift

    -
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    +
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, cellForItemAt indexPath: IndexPath) -> CollectionViewCell
    @@ -354,7 +354,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, canPreviewItemAt indexPath: IndexPath) -> Bool
    +
    func collectionViewPreviewController(_ controller: CollectionViewPreviewController, canPreviewItemAt indexPath: IndexPath) -> Bool
    @@ -416,7 +416,7 @@

    Return Value

    Declaration

    Swift

    -
    func collectionViewPreviewControllerWillDismiss(_ controller: CollectionViewPreviewController)
    +
    func collectionViewPreviewControllerWillDismiss(_ controller: CollectionViewPreviewController)
    @@ -450,8 +450,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewTransitionCell.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewTransitionCell.html index 9a891a2..74eea73 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewTransitionCell.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/CollectionViewPreviewTransitionCell.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    CollectionViewPreviewTransitionCell

    -
    public protocol CollectionViewPreviewTransitionCell : class
    +
    public protocol CollectionViewPreviewTransitionCell : class
    @@ -299,7 +299,7 @@

    Transitioning From Source

    Declaration

    Swift

    -
    func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    func prepareForTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -371,7 +371,7 @@

    Parameters

    Declaration

    Swift

    -
    func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    +
    func transition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView, to layoutAttributes: CollectionViewLayoutAttributes)
    @@ -441,7 +441,7 @@

    Parameters

    Declaration

    Swift

    -
    func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func finishTransition(fromItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -510,7 +510,7 @@

    Transitioning To Source

    Declaration

    Swift

    -
    func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func prepareForTransition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -570,7 +570,7 @@

    Parameters

    Declaration

    Swift

    -
    func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    +
    func transition(toItemAt indexPath: IndexPath, in collectionView: CollectionView)
    @@ -628,7 +628,7 @@

    Parameters

    Declaration

    Swift

    -
    func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    +
    func finishTransition(toItemAt indexPath: IndexPath, in collectView: CollectionView)
    @@ -674,8 +674,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsController.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsController.html index 7072dde..77b5801 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsController.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsController.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    ResultsController

    -
    public protocol ResultsController : class
    +
    public protocol ResultsController : class
    @@ -283,9 +283,9 @@

    Delegate

  • - + - delegate + delegate
    @@ -300,7 +300,7 @@

    Delegate

    Declaration

    Swift

    -
    var delegate : ResultsControllerDelegate?
    +
    var delegate : ResultsControllerDelegate?
    @@ -321,9 +321,9 @@

    Data

  • @@ -338,7 +338,7 @@

    Data

    Declaration

    Swift

    -
    var numberOfSections : Int
    +
    var numberOfSections : Int
    @@ -365,7 +365,7 @@

    Declaration

    Declaration

    Swift

    -
    func numberOfObjects(in section: Int) -> Int
    +
    func numberOfObjects(in section: Int) -> Int
    @@ -431,7 +431,7 @@

    Getting Items

    Declaration

    Swift

    -
    func sectionName(forSectionAt indexPath :IndexPath) -> String
    +
    func sectionName(forSectionAt indexPath :IndexPath) -> String
    @@ -462,7 +462,7 @@

    Return Value

    Declaration

    Swift

    -
    func reset()
    +
    func reset()
    @@ -477,8 +477,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsControllerDelegate.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsControllerDelegate.html index fe7b6e8..1fe70e3 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsControllerDelegate.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Protocols/ResultsControllerDelegate.html @@ -218,7 +218,7 @@ Other Enumerations
  • @@ -255,7 +255,7 @@

    ResultsControllerDelegate

    -
    public protocol ResultsControllerDelegate: class
    +
    public protocol ResultsControllerDelegate: class
    @@ -297,7 +297,7 @@

    Default Implementation

    Declaration

    Swift

    -
    func controllerDidLoadContent(controller: ResultsController)
    +
    func controllerDidLoadContent(controller: ResultsController)
    @@ -343,7 +343,7 @@

    Parameters

    Declaration

    Swift

    -
    func controllerWillChangeContent(controller: ResultsController)
    +
    func controllerWillChangeContent(controller: ResultsController)
    @@ -389,7 +389,7 @@

    Parameters

    Declaration

    Swift

    -
    func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    func controller(_ controller: ResultsController, didChangeObject object: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -471,7 +471,7 @@

    Parameters

    Declaration

    Swift

    -
    func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    +
    func controller(_ controller: ResultsController, didChangeSection section: Any, at indexPath: IndexPath?, for changeType: ResultsControllerChangeType)
    @@ -553,7 +553,7 @@

    Parameters

    Declaration

    Swift

    -
    func controllerDidChangeContent(controller: ResultsController)
    +
    func controllerDidChangeContent(controller: ResultsController)
    @@ -587,8 +587,8 @@

    Parameters

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Results Controller.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Results Controller.html index f381e2c..c9a99cb 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Results Controller.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Results Controller.html @@ -217,7 +217,7 @@ Other Enumerations @@ -286,7 +286,7 @@

    Results Controller

    Declaration

    Swift

    -
    public protocol ResultsController : class
    +
    public protocol ResultsController : class
    @@ -316,7 +316,7 @@

    Declaration

    Declaration

    Swift

    -
    public protocol ResultsControllerDelegate: class
    +
    public protocol ResultsControllerDelegate: class
    @@ -350,7 +350,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ResultsControllerChangeType
    +
    public enum ResultsControllerChangeType
    @@ -381,7 +381,7 @@

    Declaration

    Declaration

    Swift

    -
    public enum ResultsControllerError: Error
    +
    public enum ResultsControllerError: Error
    @@ -413,7 +413,7 @@

    Declaration

    Declaration

    Swift

    -
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    +
    public class MutableResultsController<Section: SectionType, Element: ResultType> : ResultsController
    @@ -449,7 +449,7 @@

    Declaration

    Declaration

    Swift

    -
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    +
    public class FetchedResultsController<Section: SectionType, Element: NSManagedObject> : MutableResultsController<Section, Element>
    @@ -472,27 +472,27 @@

    Declaration

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    In a FetchedResultsController (and NSFetchedResultsController) you would use sectionKeyPath to achieve the following:

    -
    Things
    -   { sectionKeyPath : "Things" }
    -   { sectionKeyPath : "Things" }
    +
    Things
    +   { sectionKeyPath : "Things" }
    +   { sectionKeyPath : "Things" }
     
    -Not Things
    -   { sectionKeyPath : "Not Things" }
    -   { sectionKeyPath : "Not Things" }
    +Not Things
    +   { sectionKeyPath : "Not Things" }
    +   { sectionKeyPath : "Not Things" }
     

    While this is great, it does not work well for the common Parent-Child data model. In a Department - Employee model for example we woul want:

    -
    Sales {}
    -   Jim {}
    -   Samantha {}
    +
    Sales {}
    +   Jim {}
    +   Samantha {}
     
    -Managment {}
    -   Sarah {}
    -   Howard {}
    +Managment {}
    +   Sarah {}
    +   Howard {}
     
     
    -Delivery {}
    -   <No employees>
    +Delivery {}
    +   <No employees>
     

    In this case, both the parent and child are NSManagedObjects joined by a relationship. Also, notice the Delivery department has no employees. With a standard FetchedResultsController where sections consist of the available values in the fetched objects, the Delivery would not be included. With a RelationalResultsController though you can opt to fetch both the sections and object independently (see fetchSections).

    @@ -503,7 +503,7 @@

    Declaration

    Declaration

    Swift

    -
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    +
    public class RelationalResultsController<Section: NSManagedObject, Element: NSManagedObject> : FetchedResultsController<Section, Element>
    @@ -535,7 +535,7 @@

    Declaration

    Declaration

    Swift

    -
    public class FetchedSetController : NSObject
    +
    public class FetchedSetController : NSObject
    @@ -567,7 +567,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewProvider : CollectionViewResultsProxy
    +
    public class CollectionViewProvider : CollectionViewResultsProxy
    @@ -595,7 +595,7 @@

    Declaration

    Declaration

    Swift

    -
    public class CollectionViewResultsProxy
    +
    public class CollectionViewResultsProxy
    @@ -610,8 +610,8 @@

    Declaration

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Structs/SortDescriptor.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Structs/SortDescriptor.html index 29070fa..ad12ec3 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Structs/SortDescriptor.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/Structs/SortDescriptor.html @@ -218,7 +218,7 @@ Other Enumerations @@ -255,7 +255,7 @@

    SortDescriptor

    -
    public struct SortDescriptor<T>
    +
    public struct SortDescriptor<T>
    @@ -288,7 +288,7 @@

    SortDescriptor

    Declaration

    Swift

    -
    public init<V:Comparable>(_ keyPath: KeyPath<T,V>, ascending:Bool = true)
    +
    public init<V:Comparable>(_ keyPath: KeyPath<T,V>, ascending:Bool = true)
    @@ -346,7 +346,7 @@

    Parameters

    Declaration

    Swift

    -
    public init(_ comparator: @escaping ((T,T)->SortDescriptorResult))
    +
    public init(_ comparator: @escaping ((T,T)->SortDescriptorResult))
    @@ -392,7 +392,7 @@

    Parameters

    Declaration

    Swift

    -
    public func compare(_ a:T, to b:T) -> SortDescriptorResult
    +
    public func compare(_ a:T, to b:T) -> SortDescriptorResult
    @@ -442,8 +442,8 @@

    Return Value

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/basic-setup.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/basic-setup.html index 73292f9..0ddb9ee 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/basic-setup.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/basic-setup.html @@ -217,7 +217,7 @@ Other Enumerations @@ -426,8 +426,8 @@

    Implementing the Delegate

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/content-updates.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/content-updates.html index 8ddf108..8a19f17 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/content-updates.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/content-updates.html @@ -217,7 +217,7 @@ Other Enumerations @@ -315,8 +315,8 @@

    Batch Updates

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/drag--drop.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/drag--drop.html index 4468c80..c018a06 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/drag--drop.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/drag--drop.html @@ -217,7 +217,7 @@ Other Enumerations @@ -290,8 +290,8 @@

    Dragging Target

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/index.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/index.html index 78e8765..a67c205 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/index.html @@ -217,7 +217,7 @@ Other Enumerations @@ -254,6 +254,8 @@

    CollectionView

    +

    test

    +

    An easy to use, highly customizable replacement for NSCollectionView.


    @@ -316,7 +318,8 @@

    To do

    Credits

      -
    • Thanks to DeepDiff for some diffing logic used in ResultsController
    • +
    • DeepDiff for some diffing logic used in ResultsController
    • +
    • JNWCollectionView for early inspiration

    Licence

    @@ -329,8 +332,8 @@

    Licence

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/introduction.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/introduction.html index 4bad01e..d18a985 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/introduction.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/introduction.html @@ -217,7 +217,7 @@ Other Enumerations @@ -289,8 +289,8 @@

    Layout

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/layouts.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/layouts.html index 05439ab..25f6772 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/layouts.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/layouts.html @@ -217,7 +217,7 @@ Other Enumerations @@ -345,8 +345,8 @@

    Custom Layouts

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/results-controller.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/results-controller.html index 76ef209..bb35ac8 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/results-controller.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/results-controller.html @@ -217,7 +217,7 @@ Other Enumerations @@ -359,8 +359,8 @@

    Core Data Results Control diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/search.json b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/search.json index 7922d3e..edfc1f5 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGs7KeyPathCyxqd__G_Sb9ascendingtcs10ComparableRd__lufc":{"name":"init(_:ascending:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGAA0cD6ResultOx_xtccfc":{"name":"init(_:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorV7compareAA0cD6ResultOx_x2totF":{"name":"compare(_:to:)","abstract":"

    Compare two objects

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html":{"name":"SortDescriptor","abstract":"

    a comparator used to compare two objects

    "},"Other Protocols.html#/s:14CollectionView30CustomDisplayStringConvertibleP":{"name":"CustomDisplayStringConvertible","abstract":"

    CustomDisplayStringConvertible allows objects to return a custom description to display

    "},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE3forACSi4item_Si7sectiontFZ":{"name":"for(item:section:)","abstract":"

    Create an index path with a given item and section

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE5_itemSiv":{"name":"_item","abstract":"

    Returns the item of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE8_sectionSiv":{"name":"_section","abstract":"

    Returns the section of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html":{"name":"IndexPath","abstract":"

    Provides support for OSX < 10.11 and provides some helpful additions

    "},"Other Enums.html#/s:14CollectionView20SortDescriptorResultO":{"name":"SortDescriptorResult","abstract":"

    Sort Descriptor Result

    "},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg9forItemAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forItemAt:with:)","abstract":"

    Add an item change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg12forSectionAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forSectionAt:with:)","abstract":"

    Add a section change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5countSiv":{"name":"count","abstract":"

    The count of changes in the set

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5unionyAC4with_tF":{"name":"union(with:)","abstract":"

    Merge this set with another

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC010collectionB0A2ACXov":{"name":"collectionView","abstract":"

    When set as the delegate

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC21populateEmptySectionsSbv":{"name":"populateEmptySections","abstract":"

    If true, a cell will be inserted when a section becomes empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC17populateWhenEmptySbv":{"name":"populateWhenEmpty","abstract":"

    If true, a cell will be inserted when a collection view becomes completely empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_SS10entityNametcfc":{"name":"init(context:entityName:)","abstract":"

    A convenience initializer that takes an entity name and creates a fetch request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_So14NSFetchRequestCySo0fG0CG7requesttcfc":{"name":"init(context:request:)","abstract":"

    Initialize a controller with a context and request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12performFetchSaySo15NSManagedObjectCGyKF":{"name":"performFetch()","abstract":"

    Fetches the object and begins monitoring the context for changes

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC20managedObjectContextSo09NSManagedgH0Cv":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the context and perform a fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12fetchRequestSo07NSFetchG0CySo15NSManagedObjectCGv":{"name":"fetchRequest","abstract":"

    A fetch request (including a predicate if needed) for the entity to fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC8delegateAA0cdE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    The delegate of the controller

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC15numberOfObjectsSiv":{"name":"numberOfObjects","abstract":"

    The number of objects in the set

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC4waitSbv":{"name":"wait","abstract":"

    If change processing should occur within a perform or performAndWait block on the context

    ","parent_name":"FetchedSetController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requestAIyxG07sectionK0s7KeyPathCyq_xSgG0mnO0tcfc":{"name":"init(context:request:sectionRequest:sectionKeyPath:)","abstract":"

    Intialize a controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Executes a fetch to populate the controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC19sectionFetchRequestSo07NSFetchH0CyxGv":{"name":"sectionFetchRequest","abstract":"

    A fetch request used to fetch, filter, and sort the section results of the controller.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC18sectionNameKeyPathSSSgv":{"name":"sectionNameKeyPath","abstract":"

    A keyPath of the section objects to get the displayable name

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC13fetchSectionsSbv":{"name":"fetchSections","abstract":"

    If true, sections will be fetched independent of objects using sectionFetchRequest.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","parent_name":"RelationalResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requests7KeyPathCyq_xGSg07sectionmN0tcfc":{"name":"init(context:request:sectionKeyPath:)","abstract":"

    Controller initializer a given context and fetch request

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC8delegateAA0dE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    An object the report to when content in the controller changes

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12fetchRequestSo07NSFetchG0Cyq_Gv":{"name":"fetchRequest","abstract":"

    The fetch request for the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC20managedObjectContextSo09NSManagedgH0Cv":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the managed object context used by the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Performs the provided fetch request to populate the controller. Calling again resets the controller.

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11isSectionedSbv":{"name":"isSectioned","abstract":"

    Returns true if a sectionKeyPath has been set

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xGSgF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xSgGF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8delegateAA0dE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    The delegate to report changes to

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    The number of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    The number of objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10allObjectsSayq_Gv":{"name":"allObjects","abstract":"

    A list of all objects in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8sectionsSayAA11SectionInfoCyxq_GGv":{"name":"sections","abstract":"

    The list of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The value of sectionKeyPath for the objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectq_Sg10Foundation9IndexPathV2at_tF":{"name":"object(at:)","abstract":"

    The object at a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSg10Foundation9IndexPathV2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgSi2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectxSg10Foundation9IndexPathV12forSectionAt_tF":{"name":"object(forSectionAt:)","abstract":"

    The object represented by the given section (if sectionKeyPath is not nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgxSg12representing_tF":{"name":"sectionInfo(representing:)","abstract":"

    Section info representing a given section value (or nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbq_6object_tF":{"name":"contains(object:)","abstract":"

    Check if an object exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbx13sectionObject_tF":{"name":"contains(sectionObject:)","abstract":"

    Check if a section value exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgq_2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of a given object contained in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgAA11SectionInfoCyxq_G2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of the section represented by section info

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18indexPathOfSection10Foundation05IndexG0VSgxSg12representing_tF":{"name":"indexPathOfSection(representing:)","abstract":"

    The index path of the section that represents a value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayx_Sayq_GtGF":{"name":"setContent(_:)","abstract":"

    Set pre-grouped content on the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayxG8sections_Sayq_G7objectstF":{"name":"setContent(sections:objects:)","abstract":"

    Set the content of the controller to be sorted and grouped according to options

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18pendingChangeCountSiv":{"name":"pendingChangeCount","abstract":"

    Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC22pendingItemChangeCountSiv":{"name":"pendingItemChangeCount","abstract":"

    Same as pendingChangeCount. Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC12beginEditingyyF":{"name":"beginEditing()","abstract":"

    Begin an esiting session to group multiple changes (see endEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10endEditingyyF":{"name":"endEditing()","abstract":"

    End an esiting session to commit changes (see beginEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE6deleteyx7section_tF":{"name":"delete(section:)","abstract":"

    Remove the section representing the given value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE6insertyx7section_tF":{"name":"insert(section:)","abstract":"

    Insert a section representing the provided value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE9didUpdateyx7section_tF":{"name":"didUpdate(section:)","abstract":"

    Notify the controller that a section value has changed

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6deleteyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"delete(objects:)","abstract":"

    Delete objects from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6deleteyq_6object_tF":{"name":"delete(object:)","abstract":"

    Delete an object from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6insertyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"insert(objects:)","abstract":"

    Insert multiple objects into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6insertyq_6object_tF":{"name":"insert(object:)","abstract":"

    Insert an object into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE9didUpdateyq_6object_tF":{"name":"didUpdate(object:)","abstract":"

    Notify the controller that an existing object has been updated

    ","parent_name":"MutableResultsController"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","abstract":"

    Tells the delegate that the controller did load its initial content

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","abstract":"

    Tells the delegate that the controller will change

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","abstract":"

    Tells the delegate that the an object was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","abstract":"

    Tells the delegate that a section was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","abstract":"

    Tells the delegate that it has process all changes

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP8delegateAA0cD8Delegate_pSgv":{"name":"delegate","abstract":"

    The delegate to notify about data changes

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    The number of sections in the results controller

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    Returns the number of objects in the specified section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The name of the section at the specfied section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP5resetyyF":{"name":"reset()","abstract":"

    Clear all storage for the controller and stop all observing

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html":{"name":"ResultsController","abstract":"

    A ResultsController manages data in a way that is usable by a collection view.

    "},"Protocols/ResultsControllerDelegate.html":{"name":"ResultsControllerDelegate","abstract":"

    The ResultsControllerDelegate defines methods that allow you to respond to changes in the results controller.

    "},"Classes/MutableResultsController.html":{"name":"MutableResultsController","abstract":"

    A results controller not only manages data, it also provides an easy to use, consistent interface for working with CollectionViews. While a typical controller fetches and manages data changes internally, this slimmed down version leaves the manipulation of it’s content up to you so you can use the same interface with any type of data.

    "},"Classes/FetchedResultsController.html":{"name":"FetchedResultsController","abstract":"

    A FetchedResultsController provides the same data store and change reporting as a MutableResultsController but sources it’s contents from a CoreData context.

    "},"Classes/RelationalResultsController.html":{"name":"RelationalResultsController","abstract":"

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    "},"Classes/FetchedSetController.html":{"name":"FetchedSetController","abstract":"

    A results controller that does not concern itself with the order of objects, but only their membership to the supplied fetch request.

    "},"Results Controller.html#/s:14CollectionView27ResultsControllerChangeTypeO":{"name":"ResultsControllerChangeType","abstract":"

    The types of changes reported to ResultsControllerDelegate

    "},"Results Controller.html#/s:14CollectionView22ResultsControllerErrorO":{"name":"ResultsControllerError","abstract":"

    Errors thrown by results controllers - unimplimented

    "},"Classes/CollectionViewProvider.html":{"name":"CollectionViewProvider","abstract":"

    A helper object to easily track changes reported by a ResultsController and apply them to a CollectionView

    "},"Classes/CollectionViewResultsProxy.html":{"name":"CollectionViewResultsProxy","abstract":"

    A Helper to

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateHorizontalListLayout(im)collectionView:layout:widthForItemAt:":{"name":"collectionView(_:layout:widthForItemAt:)","abstract":"

    Asks the delegate for the width of the item at a given index path

    ","parent_name":"CollectionViewDelegateHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC15scrollDirectionAA0ab6ScrollG0Ov":{"name":"scrollDirection","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC016shouldInvalidateE0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0nP0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC23layoutAttributesForItemAA0abeG0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewHorizontalListLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C9ItemStyleOA2AC_AF04flowE010Foundation9IndexPathV08styleForG2AttF":{"name":"collectionView(_:flowLayout:styleForItemAt:)","abstract":"

    Asks the delegate for the layout style for the item at the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForHeaderInSectiontF":{"name":"collectionView(_:flowLayout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForFooterInSectiontF":{"name":"collectionView(_:flowLayout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0SC12NSEdgeInsetsVA2AC_AA0abdE0C04flowE0Si18insetsForSectionAttF":{"name":"collectionView(_:flowLayout:insetsForSectionAt:)","abstract":"

    Asks the delegate for the insets for the content of the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C12RowTransformOA2AC_AF04flowE0Si03rowH12ForSectionAttF":{"name":"collectionView(_:flowLayout:rowTransformForSectionAt:)","abstract":"

    Asks the delegate for a transform to apply to the content in each row the specified section, defaults to .none

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4flowAESC6CGSizeVcAEmF":{"name":"flow","abstract":"

    Flow items with like other surrounding like-sized items

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4spanAESC6CGSizeVcAEmF":{"name":"span","abstract":"

    Break from the flow positioning the item in it’s own row

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    Spacing between flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC15interpanSpacing12CoreGraphics7CGFloatVSgv":{"name":"interpanSpacing","abstract":"

    Vertical spacing between multiple span elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC22spanGroupSpacingBefore12CoreGraphics7CGFloatVSgv":{"name":"spanGroupSpacingBefore","abstract":"

    Top spacing between the span elements that are preceded by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21spanGroupSpacingAfter12CoreGraphics7CGFloatVSgv":{"name":"spanGroupSpacingAfter","abstract":"

    Bottom spacing between span elements that are followed by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should be inset to section insets

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14widthOfLastRow12CoreGraphics7CGFloatVSgv":{"name":"widthOfLastRow","abstract":"

    Only used during layout preparation to reference the width of the previously inserted row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC12RowTransformO":{"name":"RowTransform","abstract":"

    Row transforms can be applied to flow elements that fall within the same row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html":{"name":"ItemStyle","abstract":"

    Styles for CollectionViewFlowLayout

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewFlowLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:numberOfColumnsInSection:":{"name":"collectionView(_:layout:numberOfColumnsInSection:)","abstract":"

    Asks the delegate for the number fo columns in a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to be applied to content of a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:interitemSpacingForSectionAt:":{"name":"collectionView(_:layout:interitemSpacingForSectionAt:)","abstract":"

    Asks the delegate for the item spacing to be applied to items of the same column of a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionview:layout:columnSpacingForSectionAt:":{"name":"collectionview(_:layout:columnSpacingForSectionAt:)","abstract":"

    Asks the delegate for the column spacing to applied to items in a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    The height for the item at the given indexPath (Priority 2)

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:aspectRatioForItemAt:":{"name":"collectionView(_:layout:aspectRatioForItemAt:)","abstract":"

    The aspect ration for the item at the given indexPath (Priority 1). Width and height must be greater than 0.

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19ItemRenderDirectionO":{"name":"ItemRenderDirection","abstract":"

    The method to use when directing items into columns

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC11columnCountSiv":{"name":"columnCount","abstract":"

    The default column count

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC13columnSpacing12CoreGraphics7CGFloatVv":{"name":"columnSpacing","abstract":"

    The spacing between each column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12headerHeight12CoreGraphics7CGFloatVv":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12footerHeight12CoreGraphics7CGFloatVv":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC10itemHeight12CoreGraphics7CGFloatVv":{"name":"itemHeight","abstract":"

    The default height to apply to all items

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24invalidateOnBoundsChangeSbv":{"name":"invalidateOnBoundsChange","abstract":"

    If set to true, the layout will invalidate on all bounds changes, if false only on width changes

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12sectionInsetSC12NSEdgeInsetsVv":{"name":"sectionInset","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19itemRenderDirectionAC04ItemfG0Ov":{"name":"itemRenderDirection","abstract":"

    A hint as to how to render items when deciding which column to place them in

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC9itemWidth12CoreGraphics7CGFloatVv":{"name":"itemWidth","abstract":"

    the calculated width of items based on the total width and number of columns (read only)

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewColumnLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    Asks the delegate for the height of the item at index path

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in a given section.

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:interitemSpacingForItemsInSection:":{"name":"collectionView(_:layout:interitemSpacingForItemsInSection:)","abstract":"

    Asks the delegate for the spacing between items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to use when laying out items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC10itemHeight12CoreGraphics7CGFloatVv":{"name":"itemHeight","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12headerHeight12CoreGraphics7CGFloatVv":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12footerHeight12CoreGraphics7CGFloatVv":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC13sectionInsetsSC06NSEdgeF0Vv":{"name":"sectionInsets","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC9indexPath10Foundation05IndexF0Vv":{"name":"indexPath","abstract":"

    The index path of the item in the collection view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC26representedElementCategoryAA0afG0Ov":{"name":"representedElementCategory","abstract":"

    The type of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC22representedElementKindSSSgv":{"name":"representedElementKind","abstract":"

    The layout-specific identifier for the target view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5frameSC6CGRectVv":{"name":"frame","abstract":"

    The frame rectangle of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6centerSC7CGPointVv":{"name":"center","abstract":"

    The center point of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4sizeSC6CGSizeVv":{"name":"size","abstract":"

    The size of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6boundsSC6CGRectVv":{"name":"bounds","abstract":"

    The bounds of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5alpha12CoreGraphics7CGFloatVv":{"name":"alpha","abstract":"

    The transparency of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6zIndex12CoreGraphics7CGFloatVv":{"name":"zIndex","abstract":"

    Specifies the item’s position on the z axis.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6hiddenSbv":{"name":"hidden","abstract":"

    Determines whether the item is currently displayed.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC8floatingSbv":{"name":"floating","abstract":"

    Specifies if the item it detached from the scroll view (SupplementaryViews only)

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCAC10Foundation9IndexPathV11forCellWith_tcfc":{"name":"init(forCellWith:)","abstract":"

    Creates and returns a layout attributes object that represents a cell with the specified index path.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCACSS016forSupplementaryB6OfKind_10Foundation9IndexPathV4withtcfc":{"name":"init(forSupplementaryViewOfKind:with:)","abstract":"

    Creates and returns a layout attributes object that represents the specified supplementary view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:s23CustomStringConvertibleP11descriptionSSv":{"name":"description","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4copyACyF":{"name":"copy()","abstract":"

    Create a copy of the layout attributes

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15scrollDirectionAA0ab6ScrollE0Ov":{"name":"scrollDirection","abstract":"

    The direction that the collection view should scroll

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","abstract":"

    The size that encapsulates all views within the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15pinHeadersToTopSbv":{"name":"pinHeadersToTop","abstract":"

    If supporting views should be pinned to the top of the view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC10invalidateyyF":{"name":"invalidate()","abstract":"

    Currently this is only called when the layout is applied to a collection view.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC016shouldInvalidateC0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","abstract":"

    Asks the layout if it should be invalidated due to a bounds change on the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC7prepareyyF":{"name":"prepare()","abstract":"

    Tells the layout object to update the current layout.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC13allIndexPathsAA10OrderedSetVy10Foundation0E4PathVGv":{"name":"allIndexPaths","abstract":"

    All the index paths to be displayed by the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC24layoutAttributesForItemsSayAA0abcE0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","abstract":"

    Returns the layout attributes for all views in a given rect

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC23layoutAttributesForItemAA0abcE0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","abstract":"

    Returns the layout attributes for an item at the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC032layoutAttributesForSupplementaryB0AA0abcE0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","abstract":"

    Returns the layout attributes for the supplementary view of the given kind and the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","abstract":"

    Returns the frame that encapsulates all the content in the section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","abstract":"

    Returns the rect that encapsulates just the items of a section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0lN0tF":{"name":"scrollRectForItem(at:atPosition:)","abstract":"

    Provides he layout a chance to adjust the frame to which the collection view should scroll to show an item

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC20indexPathForNextItem10Foundation05IndexE0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","abstract":"

    Returns the index path for the next item in a given direction

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html":{"name":"CollectionViewLayout","abstract":"

    The CollectionViewLayout class is an abstract base class that you subclass and use to generate layout information for a collection view. The job of a layout object is to determine the placement of cells, supplementary views inside the collection view’s bounds and to report that information to the collection view when asked. The collection view then applies the provided layout information to the corresponding views so that they can be presented onscreen.

    "},"Classes/CollectionViewLayoutAttributes.html":{"name":"CollectionViewLayoutAttributes","abstract":"

    An UICollectionViewLayoutAttributes object manages the layout-related attributes for a given item in a collection view. Layout objects create instances of this class when asked to do so by the collection view. In turn, the collection view uses the layout information to position cells and supplementary views inside its bounds.

    "},"Classes/CollectionViewListLayout.html":{"name":"CollectionViewListLayout","abstract":"

    A list layout that makes CollectionView a perfect alternative to NSTableView

    "},"Protocols/CollectionViewDelegateListLayout.html":{"name":"CollectionViewDelegateListLayout","abstract":"

    A vertical list based layout similiar to a native table view

    "},"Classes/CollectionViewColumnLayout.html":{"name":"CollectionViewColumnLayout","abstract":"

    This layout is column based which means you provide the number of columns and cells are placed in the appropriate one. It can be display items all the same size or as a Pinterest style layout.

    "},"Protocols/CollectionViewDelegateColumnLayout.html":{"name":"CollectionViewDelegateColumnLayout","abstract":"

    The delegate for CollectionViewColumnLayout to dynamically customize the layout

    "},"Classes/CollectionViewFlowLayout.html":{"name":"CollectionViewFlowLayout","abstract":"

    A variation of UICollectionViewFlowLayout

    "},"Protocols/CollectionViewDelegateFlowLayout.html":{"name":"CollectionViewDelegateFlowLayout","abstract":"

    CollectionViewDelegateFlowLayout

    "},"Classes/CollectionViewHorizontalListLayout.html":{"name":"CollectionViewHorizontalListLayout","abstract":"

    A full height horizontal scrolling layout

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html":{"name":"CollectionViewDelegateHorizontalListLayout","abstract":"

    The delegate for CollectionViewHorizontalListLayout

    "},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0AA0aB4CellCAA0abcD0C_10Foundation9IndexPathV13cellForItemAttF":{"name":"collectionViewPreviewController(_:cellForItemAt:)","abstract":"

    Asks the delegate for a cell to use to preview the item at indexPath

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0SbAA0abcD0C_10Foundation9IndexPathV03canC6ItemAttF":{"name":"collectionViewPreviewController(_:canPreviewItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should be included in the preview.

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD11WillDismissyAA0abcD0CF":{"name":"collectionViewPreviewControllerWillDismiss(_:)","abstract":"

    <#Description#>

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","abstract":"

    Called just before the transition animation to prepare the cell

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","abstract":"

    Called within the animation block in which the cell should moved from the source position to the destination position

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","abstract":"

    Called when the transition from the source has completed and the cell is in it’s final position.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","abstract":"

    Called just before the cell is transitioned back to it’s source

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","abstract":"

    Called within the transition animation block in which the cell should move back to its source.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","abstract":"

    Called when the transition back to the source has completed and the containing preview controller will be removed.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC8delegateAA0abcD8Delegate_pSgXwv":{"name":"delegate","abstract":"

    A delegate to provide data

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15backgroundColorSo7NSColorCv":{"name":"backgroundColor","abstract":"

    The background color of the view when the items are displayed

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewController(im)viewDidLoad":{"name":"viewDidLoad()","abstract":"

    CollectionViewDelegatePreviewLayout

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC06sourceaB0A2ACSgv":{"name":"sourceCollectionView","abstract":"

    The collection view the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15sourceIndexPath10Foundation0fG0VSgv":{"name":"sourceIndexPath","abstract":"

    The index path the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC16currentIndexPath10Foundation0fG0VSgv":{"name":"currentIndexPath","abstract":"

    The index path for the currently displayed item

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC18transitionDurationSdv":{"name":"transitionDuration","abstract":"

    The duration of present/dismiss transitions

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7presentySo06NSViewD0C2in_A2AC6source10Foundation9IndexPathV05indexK0ySbcSg10completiontF":{"name":"present(in:source:indexPath:completion:)","abstract":"

    Present the preview controller, transitioning from an item at indexPath in the source collectionView

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7dismissySb8animated_ySbcSg10completiontF":{"name":"dismiss(animated:completion:)","abstract":"

    Dismiss the preview controller, transitioning the current item back to its source

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC19adjustContentInsetsySC06NSEdgeF0VF":{"name":"adjustContentInsets(_:)","abstract":"

    Adjust the layout constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC16adjustConstraintySo08NSLayoutE0C9AttributeO_12CoreGraphics7CGFloatVSg5valuetF":{"name":"adjustConstraint(_:value:)","abstract":"

    Adjust the constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15reuseIdentifierSSSgv":{"name":"reuseIdentifier","abstract":"

    A string that identifies the purpose of the view.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C010collectionB0A2ACSgXwv":{"name":"collectionView","abstract":"

    The collection view the view was dequed in

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C6reusedSbv":{"name":"reused","abstract":"

    True if the view has been dequed from the reuse pool

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/c:@M@CollectionView@objc(cs)CollectionReusableView(im)prepareForReuse":{"name":"prepareForReuse()","abstract":"

    Performs any clean up necessary to prepare the view for use again.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15viewWillDisplayyyF":{"name":"viewWillDisplay()","abstract":"

    Called just before the view is added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14viewDidDisplayyyF":{"name":"viewDidDisplay()","abstract":"

    Called just after the view was added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15backgroundColorSo7NSColorCSgv":{"name":"backgroundColor","abstract":"

    The background color of the cell

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15disableTrackingyyF":{"name":"disableTracking()","abstract":"

    Disable tracking (used for highlighting in cells) for this view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14enableTrackingyyF":{"name":"enableTracking()","abstract":"

    Enable tracking for this view (called by default for cells)

    ","parent_name":"CollectionReusableView"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC11highlightedSbv":{"name":"highlighted","abstract":"

    The highlight state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8selectedSbv":{"name":"selected","abstract":"

    The selection state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC22defaultReuseIdentifierSSvZ":{"name":"defaultReuseIdentifier","abstract":"

    Provide a reuse identifier for all cells of this class, defaults to the class name

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8registeryA2AC2in_tFZ":{"name":"register(in:)","abstract":"

    Register a CollectionViewCell subclass to a collection view using the class’s defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC5dequeAC10Foundation9IndexPathV3for_A2AC2intFZ":{"name":"deque(for:in:)","abstract":"

    Deque a cell of this class from a collection view. Uses defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:shouldBeginDraggingAt:with:":{"name":"collectionView(_:shouldBeginDraggingAt:with:)","abstract":"

    Asks the delegate if a dragging session should be started

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:validateIndexPathsForDrag:":{"name":"collectionView(_:validateIndexPathsForDrag:)","abstract":"

    Asks the delegate to validate the selected items for drag.

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:willBeginAt:":{"name":"collectionView(_:draggingSession:willBeginAt:)","abstract":"

    Notifies the delegate that a dragging session will begin

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didEndAt:with:draggedIndexPaths:":{"name":"collectionView(_:draggingSession:didEndAt:with:draggedIndexPaths:)","abstract":"

    Notifies the delegate that a dragging session ended

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didMoveTo:":{"name":"collectionView(_:draggingSession:didMoveTo:)","abstract":"

    Notifies the delegate that a dragging session moved

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEntered:":{"name":"collectionView(_:dragEntered:)","abstract":"

    Asks the delegate for an operation for the drag at its current state when it enters the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragUpdated:":{"name":"collectionView(_:dragUpdated:)","abstract":"

    Asks the delegate for an operation for the drag at its current state as it updates

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragExited:":{"name":"collectionView(_:dragExited:)","abstract":"

    Notifies the delegate that a drag exited the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEnded:":{"name":"collectionView(_:dragEnded:)","abstract":"

    Notifies the delegate that a drag ended in the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:performDragOperation:":{"name":"collectionView(_:performDragOperation:)","abstract":"

    Asks the delegate to handle the drop in the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillReloadLayout:":{"name":"collectionViewWillReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view will reload it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidReloadLayout:":{"name":"collectionViewDidReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view finished reloading it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didChangeFirstResponderStatus:":{"name":"collectionView(_:didChangeFirstResponderStatus:)","abstract":"

    Notifies the delegate that the collection view has changed status as first responder

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseMovedToSection:":{"name":"collectionView(_:mouseMovedToSection:)","abstract":"

    Notifies the delegate that the mouse has moved into the frame of a section.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseDownInItemAt:with:":{"name":"collectionView(_:mouseDownInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was clicked down in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseUpInItemAt:with:":{"name":"collectionView(_:mouseUpInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was released in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldHighlightItemAt:":{"name":"collectionView(_:shouldHighlightItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should highlight

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldSelectItemsAt:":{"name":"collectionView(_:shouldSelectItemsAt:)","abstract":"

    Asks the delegate to approve the pending selection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didSelectItemsAt:":{"name":"collectionView(_:didSelectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were selected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldDeselectItemsAt:":{"name":"collectionView(_:shouldDeselectItemsAt:)","abstract":"

    Asks the delegate object to approve the pending deselection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDeselectItemsAt:":{"name":"collectionView(_:didDeselectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were deselected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDoubleClickItemAt:with:":{"name":"collectionView(_:didDoubleClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was double clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didRightClickItemAt:with:":{"name":"collectionView(_:didRightClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was right clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:willDisplaySupplementaryView:ofElementKind:at:":{"name":"collectionView(_:willDisplaySupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view will bw displayed

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingCell:forItemAt:":{"name":"collectionView(_:didEndDisplayingCell:forItemAt:)","abstract":"

    Notifies the delegate that a cell was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingSupplementaryView:ofElementKind:at:":{"name":"collectionView(_:didEndDisplayingSupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewLayoutAnchor:":{"name":"collectionViewLayoutAnchor(_:)","abstract":"

    Asks the delegate for an index path to anchor when resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndLiveResize:":{"name":"collectionViewDidEndLiveResize(_:)","abstract":"

    Notifies the delegate that the collection view did begin resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldScrollToItemAt:":{"name":"collectionView(_:shouldScrollToItemAt:)","abstract":"

    Asks the delegate if the collection view should scroll to an item

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didScrollToItemAt:":{"name":"collectionView(_:didScrollToItemAt:)","abstract":"

    Notifies the delegate that the collection view did complete a scrolling action

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidScroll:":{"name":"collectionViewDidScroll(_:)","abstract":"

    Notifies the delegate that the collection view was scrolled

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillBeginScrolling:animated:":{"name":"collectionViewWillBeginScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view will begin scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndScrolling:animated:":{"name":"collectionViewDidEndScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view did end scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","abstract":"

    Asks your data source for the number of sections in the collectin view

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","abstract":"

    Asks your data source object for the number of items in the specified section.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","abstract":"

    Asks your data source object for the cell that corresponds to the specified item in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:viewForSupplementaryElementOfKind:at:":{"name":"collectionView(_:viewForSupplementaryElementOfKind:at:)","abstract":"

    Asks your data source object to provide a supplementary view to display in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:pasteboardWriterForItemAt:":{"name":"collectionView(_:pasteboardWriterForItemAt:)","abstract":"

    Asks your data source for a pasteboard writing for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragContentsForItemAt:":{"name":"collectionView(_:dragContentsForItemAt:)","abstract":"

    Asks the data source for the drag contents for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragRectForItemAt:withStartingRect:":{"name":"collectionView(_:dragRectForItemAt:withStartingRect:)","abstract":"

    Asks the data source to validate the drag rect for an item to be dragged, allowing for adjustment.

    ","parent_name":"CollectionViewDataSource"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)delegate":{"name":"delegate","abstract":"

    The object that acts as the delegate to the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10dataSourceAA0ab4DataD0_pSgXwv":{"name":"dataSource","abstract":"

    The object that provides data for the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015contentDocumentB0AA0abdB0Cv":{"name":"contentDocumentView","abstract":"

    The content view in which all cells and views are displayed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0aB4CellCm5class_SS03forD19WithReuseIdentifiertF":{"name":"register(class:forCellWithReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS26forCellWithReuseIdentifiertF":{"name":"register(nib:forCellWithReuseIdentifier:)","abstract":"

    Register a nib to be loaded as reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0a8ReusableB0Cm5class_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(class:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable supplementary views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(nib:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a nib to be loaded as a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19dequeueReusableCellAA0abE0CSS19withReuseIdentifier_10Foundation9IndexPathV3fortF":{"name":"dequeueReusableCell(withReuseIdentifier:for:)","abstract":"

    Retrieve a cell for a given reuse identifier and index path.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC028dequeueReusableSupplementaryB0AA0adB0CSS6ofKind_SS19withReuseIdentifier10Foundation9IndexPathV3fortF":{"name":"dequeueReusableSupplementaryView(ofKind:withReuseIdentifier:for:)","abstract":"

    Returns a reusable supplementary view located by its identifier and kind.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015floatingContentB0So6NSViewCv":{"name":"floatingContentView","abstract":"

    A view atop the collection view used to display non-scrolling accessory views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC012addAccessoryB0ySo6NSViewCF":{"name":"addAccessoryView(_:)","abstract":"

    Adds the given view to the floating content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    Returns the number of sections displayed by the collection view.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13numberOfItemsS2i2in_tF":{"name":"numberOfItems(in:)","abstract":"

    Returns the number of items in the specified section.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10reloadDatayyF":{"name":"reloadData()","abstract":"

    Reloads all the data and views in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC010collectionB6LayoutAA0abD0Cv":{"name":"collectionViewLayout","abstract":"

    The layout used to organize the collected view’s items.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18contentVisibleRectSC6CGRectVv":{"name":"contentVisibleRect","abstract":"

    The visible rect of the document view that is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)contentSize":{"name":"contentSize","abstract":"

    The total size of all items/views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13contentOffsetSC7CGPointVv":{"name":"contentOffset","abstract":"

    The offset of the content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10prepareAllSbv":{"name":"prepareAll","abstract":"

    Force layout of all items, not just those in the visible content area

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15frameForSectionSC6CGRectVSgSi2at_tF":{"name":"frameForSection(at:)","abstract":"

    Returns the frame for the specified section

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24reloadDataOnBoundsChangeSbv":{"name":"reloadDataOnBoundsChange","abstract":"

    Reload the data (section & item counts) when the collectionView bounds change. Defaults to false.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12reloadLayoutySb_AA0aB14ScrollPositionO06scrollF0ySbcSg10completiontF":{"name":"reloadLayout(_:scrollPosition:completion:)","abstract":"

    Reload the collection view layout and apply the updated frames to the cells/views.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11isScrollingSbv":{"name":"isScrolling","abstract":"

    Returns true if the collection view is currently scrolling

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14scrollVelocitySC7CGPointVv":{"name":"scrollVelocity","abstract":"

    Returns the current velocity of a scroll in points/second

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18peakScrollVelocitySC7CGPointVv":{"name":"peakScrollVelocity","abstract":"

    Returns the peak valocity of a scroll during the last scrolling session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathsForVisibleSectionsSay10Foundation9IndexPathVGv":{"name":"indexPathsForVisibleSections","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathForFirstVisibleItem10Foundation05IndexD0VSgv":{"name":"indexPathForFirstVisibleItem","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC29_indexPathForFirstVisibleItem10Foundation05IndexD0VSgv":{"name":"_indexPathForFirstVisibleItem","abstract":"

    Same as indexPathForFirstVisibleItem but doesn’t ask the delegate for a suggestion. This is a convenient variable to use in collectionViewLayoutAnchor(_:) but asking the delegate within is not possibe.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17animationDurationSdv":{"name":"animationDuration","abstract":"

    The duration of animations when performing animated layout changes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19performBatchUpdatesyyyc_ySbcSg10completiontF":{"name":"performBatchUpdates(_:completion:)","abstract":"

    Perform multiple updates to be applied together

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14insertSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"insertSections(_:animated:)","abstract":"

    Insert sections at the given indexes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14deleteSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"deleteSections(_:animated:)","abstract":"

    Remove sections and their items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11moveSectionySi_Si2toSb8animatedtF":{"name":"moveSection(_:to:animated:)","abstract":"

    Move a section and its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11insertItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"insertItems(at:animated:)","abstract":"

    Insert items at specific index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11deleteItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"deleteItems(at:animated:)","abstract":"

    Deletes the items at the specified index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11reloadItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"reloadItems(at:animated:)","abstract":"

    Reload the items and the given index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8moveItemy10Foundation9IndexPathV2at_AF2toSb8animatedtF":{"name":"moveItem(at:to:animated:)","abstract":"

    Moves the item from it’s current index path to another

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17trackSectionHoverSbv":{"name":"trackSectionHover","abstract":"

    If true, the delegate’s collectionView(_:,mouseMovedToSection:) will be notified when the cursor is within a section frame

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15allowsSelectionSbv":{"name":"allowsSelection","abstract":"

    If the collection view should allow selection of its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13SelectionModeO":{"name":"SelectionMode","abstract":"

    Determine how item selections are managed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13selectionModeAB09SelectionD0Ov":{"name":"selectionMode","abstract":"

    Determines what happens when an item is clicked

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC23allowsMultipleSelectionSbv":{"name":"allowsMultipleSelection","abstract":"

    Allows the selection of multiple items via modifier keys (command & shift) (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC20allowsEmptySelectionSbv":{"name":"allowsEmptySelection","abstract":"

    If true, clicking empty space will deselect all items (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14notifyDelegateSbv":{"name":"notifyDelegate","abstract":"

    If true, programatic changes will be reported to the delegate (i.e. selections)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16repeatSelectionsSbv":{"name":"repeatSelections","abstract":"

    If true, selecting an already selected item will notify the delegate (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC27indexPathForHighlightedItem10Foundation05IndexD0VSgv":{"name":"indexPathForHighlightedItem","abstract":"

    The index path of the highlighted item, if any

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13highlightItemy10Foundation9IndexPathVSg2at_Sb8animatedtF":{"name":"highlightItem(at:animated:)","abstract":"

    Manually set the highlighted item reguardless of the cursor location

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForSelectedItemss3SetVy10Foundation9IndexPathVGv":{"name":"indexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC32sortedIndexPathsForSelectedItemsSay10Foundation0D4PathVGv":{"name":"sortedIndexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items ordered from first to last

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25itemAtIndexPathIsSelectedSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsSelected(_:)","abstract":"

    Returns if the item at a given index path is selected

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14selectAllItemsySbF":{"name":"selectAllItems(_:)","abstract":"

    Selects all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10selectItemy10Foundation9IndexPathV2at_Sb8animatedAA0aB14ScrollPositionO06scrollK0tF":{"name":"selectItem(at:animated:scrollPosition:)","abstract":"

    Select an item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11selectItemsyx2at_Sb8animatedAA0aB14ScrollPositionO06scrollH0ts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"selectItems(at:animated:scrollPosition:)","abstract":"

    Select the items at the given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13deselectItemsyx2at_Sb8animatedts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"deselectItems(at:animated:)","abstract":"

    Deselect cells at given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16deselectAllItemsySbF":{"name":"deselectAllItems(_:)","abstract":"

    Deselect all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12deselectItemy10Foundation9IndexPathV2at_Sb8animatedtF":{"name":"deselectItem(at:animated:)","abstract":"

    Deselect the item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12visibleCellsSayAA0aB4CellCGv":{"name":"visibleCells","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25indexPathsForVisibleItemsSay10Foundation9IndexPathVGv":{"name":"indexPathsForVisibleItems","abstract":"

    Returns the index paths for all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24itemAtIndexPathIsVisibleSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsVisible(_:)","abstract":"

    Returns true if the item at the index path is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11cellForItemAA0aB4CellCSg10Foundation9IndexPathV2at_tF":{"name":"cellForItem(at:)","abstract":"

    Returns the cell at a given index path if it is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0aB4CellC3for_tF":{"name":"indexPath(for:)","abstract":"

    Returns the index path for a cell in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16indexPathForItem10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForItem(at:)","abstract":"

    Returns a index path for the item at a given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC7CGPointV4near_12CoreGraphics7CGFloatV6radiustF":{"name":"firstIndexPathForItem(near:radius:)","abstract":"

    Returns the first index path within a given distance of a point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC6CGRectV2in_tF":{"name":"firstIndexPathForItem(in:)","abstract":"

    Returns the first index path found intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18indexPathsForItemsSay10Foundation9IndexPathVGSC6CGRectV2in_tF":{"name":"indexPathsForItems(in:)","abstract":"

    Returns all items intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19indexPathForSection10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForSection(at:)","abstract":"

    Returns the indexPath for the section that contains the given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25visibleSupplementaryViewsSayAA0a8ReusableB0CGv":{"name":"visibleSupplementaryViews","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0a8ReusableB0C016forSupplementaryB0_tF":{"name":"indexPath(forSupplementaryView:)","abstract":"

    Returns the index path for a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18supplementaryViewsAA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryViews(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC013supplementaryB0AA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryView(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollItemy10Foundation9IndexPathV2at_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollItem(at:to:animated:completion:)","abstract":"

    Scroll an item into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollRectySC6CGRectV_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollRect(_:to:animated:completion:)","abstract":"

    Scroll an given rect into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForDraggingItemsSay10Foundation9IndexPathVGv":{"name":"indexPathsForDraggingItems","abstract":"

    The index paths for items included in the currect dragging session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12applyChangesyAA0aB12ResultsProxyC4from_ySbcSg10completiontF":{"name":"applyChanges(from:completion:)","abstract":"

    Apply all changes in a change set to a collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html":{"name":"CollectionView","abstract":"

    A Collection View manages the presentation of items, your app’s main job is to provide the data that those items are to represent.

    "},"Protocols/CollectionViewDataSource.html":{"name":"CollectionViewDataSource","abstract":"

    The CollectionViewDataSource is responsible for providing the data and views required by a collection view

    "},"Protocols/CollectionViewDelegate.html":{"name":"CollectionViewDelegate","abstract":"

    The CollectionViewDelegate protocol defines methods that allow you to manage the status, selection, highlighting, and scrolling of items in a collection view and to perform actions on those items. The methods of this protocol are all optional.

    "},"Protocols/CollectionViewDragDelegate.html":{"name":"CollectionViewDragDelegate","abstract":"

    The CollectionViewDragDelegate forwards system drag functions to the delegate in the context of a Collection View.

    "},"Classes/CollectionViewCell.html":{"name":"CollectionViewCell","abstract":"

    A CollectionViewCell object presents the content for a single data item when that item is within the collection view’s visible bounds. You can use this class as-is or subclass it to add additional properties and methods. The layout and presentation of cells is managed by the collection view and its corresponding layout object.

    "},"Classes/CollectionReusableView.html":{"name":"CollectionReusableView","abstract":"

    The CollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view. Reusable views are so named because the collection view places them on a reuse queue rather than deleting them when they are scrolled out of the visible bounds. Such a view can then be retrieved and repurposed for a different set of content.

    "},"Classes/CollectionViewController.html":{"name":"CollectionViewController","abstract":"

    The UICollectionViewController class represents a view controller whose content consists of a collection view.

    "},"Collection View.html#/s:14CollectionView0aB17LayoutElementKindV":{"name":"CollectionViewLayoutElementKind","abstract":"

    CollectionViewLayoutElementKind

    "},"Collection View.html#/s:14CollectionView0A15ElementCategoryO":{"name":"CollectionElementCategory","abstract":"

    CollectionElementCategory

    "},"Collection View.html#/s:14CollectionView0aB9DirectionO":{"name":"CollectionViewDirection","abstract":"

    CollectionViewDirection

    "},"Collection View.html#/s:14CollectionView0aB15ScrollDirectionO":{"name":"CollectionViewScrollDirection","abstract":"

    CollectionViewScrollDirection

    "},"Collection View.html#/s:14CollectionView0aB14ScrollPositionO":{"name":"CollectionViewScrollPosition","abstract":"

    CollectionViewScrollPosition

    "},"Classes/CollectionViewPreviewCell.html":{"name":"CollectionViewPreviewCell","abstract":"

    A default implementation of CollectionViewPreviewTransitionCell

    "},"Classes/CollectionViewPreviewController.html":{"name":"CollectionViewPreviewController","abstract":"

    An easy to use CollectionViewController that transitions from a source collection view.

    "},"Protocols/CollectionViewPreviewTransitionCell.html":{"name":"CollectionViewPreviewTransitionCell","abstract":"

    A protocol for CollectionViewCells that need to customize their transition when used in CollectionViewPreviewController.

    "},"Protocols/CollectionViewPreviewControllerDelegate.html":{"name":"CollectionViewPreviewControllerDelegate","abstract":"

    a CollectionViewPreviewControllerDelegate is responsible for providing data to a CollectionViewPreviewController.

    "},"Collection View.html#/s:14CollectionView19AnimationCompletiona":{"name":"AnimationCompletion","abstract":"

    AnimationCompletion

    "},"introduction.html":{"name":"Introduction"},"basic-setup.html":{"name":"Basic Setup"},"supplementary-views.html":{"name":"Supplementary Views"},"layouts.html":{"name":"Layouts"},"drag--drop.html":{"name":"Drag & Drop"},"content-updates.html":{"name":"Content Updates"},"results-controller.html":{"name":"Results Controller"},"Guides.html":{"name":"Guides"},"Collection View.html":{"name":"Collection View"},"Collection View Layouts.html":{"name":"Collection View Layouts"},"Results Controller.html":{"name":"Results Controller"},"Other Enums.html":{"name":"Other Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Other Extensions.html":{"name":"Other Extensions","abstract":"

    The following extensions are available globally.

    "},"Other Protocols.html":{"name":"Other Protocols","abstract":"

    The following protocols are available globally.

    "},"Other Structs.html":{"name":"Other Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file +{"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGs7KeyPathCyxqd__G_Sb9ascendingtcs10ComparableRd__lufc":{"name":"init(_:ascending:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGAA0cD6ResultOx_xtccfc":{"name":"init(_:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorV7compareAA0cD6ResultOx_x2totF":{"name":"compare(_:to:)","abstract":"

    Compare two objects

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html":{"name":"SortDescriptor","abstract":"

    a comparator used to compare two objects

    "},"Other Protocols.html#/s:14CollectionView30CustomDisplayStringConvertibleP":{"name":"CustomDisplayStringConvertible","abstract":"

    CustomDisplayStringConvertible allows objects to return a custom description to display

    "},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE3forACSi4item_Si7sectiontFZ":{"name":"for(item:section:)","abstract":"

    Create an index path with a given item and section

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE5_itemSivp":{"name":"_item","abstract":"

    Returns the item of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE8_sectionSivp":{"name":"_section","abstract":"

    Returns the section of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html":{"name":"IndexPath","abstract":"

    Provides support for OSX < 10.11 and provides some helpful additions

    "},"Enums/SortDescriptorResult.html#/s:s27ExpressibleByBooleanLiteralP0cD4Type":{"name":"BooleanLiteralType","parent_name":"SortDescriptorResult"},"Enums/SortDescriptorResult.html#/s:s27ExpressibleByBooleanLiteralPx0cD4TypeQz07booleanD0_tcfc":{"name":"init(booleanLiteral:)","parent_name":"SortDescriptorResult"},"Enums/SortDescriptorResult.html":{"name":"SortDescriptorResult","abstract":"

    Sort Descriptor Result

    "},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg9forItemAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forItemAt:with:)","abstract":"

    Add an item change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg12forSectionAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forSectionAt:with:)","abstract":"

    Add a section change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5countSivp":{"name":"count","abstract":"

    The count of changes in the set

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5unionyAC4with_tF":{"name":"union(with:)","abstract":"

    Merge this set with another

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC010collectionB0A2ACXovp":{"name":"collectionView","abstract":"

    When set as the delegate

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC21populateEmptySectionsSbvp":{"name":"populateEmptySections","abstract":"

    If true, a cell will be inserted when a section becomes empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC17populateWhenEmptySbvp":{"name":"populateWhenEmpty","abstract":"

    If true, a cell will be inserted when a collection view becomes completely empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_SS10entityNametcfc":{"name":"init(context:entityName:)","abstract":"

    A convenience initializer that takes an entity name and creates a fetch request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_So14NSFetchRequestCySo0fG0CG7requesttcfc":{"name":"init(context:request:)","abstract":"

    Initialize a controller with a context and request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12performFetchSaySo15NSManagedObjectCGyKF":{"name":"performFetch()","abstract":"

    Fetches the object and begins monitoring the context for changes

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC20managedObjectContextSo09NSManagedgH0Cvp":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the context and perform a fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12fetchRequestSo07NSFetchG0CySo15NSManagedObjectCGvp":{"name":"fetchRequest","abstract":"

    A fetch request (including a predicate if needed) for the entity to fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC8delegateAA0cdE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    The delegate of the controller

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC15numberOfObjectsSivp":{"name":"numberOfObjects","abstract":"

    The number of objects in the set

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC4waitSbvp":{"name":"wait","abstract":"

    If change processing should occur within a perform or performAndWait block on the context

    ","parent_name":"FetchedSetController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requestAIyxG07sectionK0s7KeyPathCyq_xSgG0mnO0tcfc":{"name":"init(context:request:sectionRequest:sectionKeyPath:)","abstract":"

    Intialize a controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Executes a fetch to populate the controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC19sectionFetchRequestSo07NSFetchH0CyxGvp":{"name":"sectionFetchRequest","abstract":"

    A fetch request used to fetch, filter, and sort the section results of the controller.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC18sectionNameKeyPaths0hI0CyxSSGSgvp":{"name":"sectionNameKeyPath","abstract":"

    A keyPath of the section objects to get the displayable name

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC13fetchSectionsSbvp":{"name":"fetchSections","abstract":"

    If true, sections will be fetched independent of objects using sectionFetchRequest.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","parent_name":"RelationalResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requests7KeyPathCyq_xGSg07sectionmN0tcfc":{"name":"init(context:request:sectionKeyPath:)","abstract":"

    Controller initializer a given context and fetch request

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC8delegateAA0dE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    An object the report to when content in the controller changes

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12fetchRequestSo07NSFetchG0Cyq_Gvp":{"name":"fetchRequest","abstract":"

    The fetch request for the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC20managedObjectContextSo09NSManagedgH0Cvp":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the managed object context used by the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Performs the provided fetch request to populate the controller. Calling again resets the controller.

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11isSectionedSbvp":{"name":"isSectioned","abstract":"

    Returns true if a sectionKeyPath has been set

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xGSgF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xSgGF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8delegateAA0dE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    The delegate to report changes to

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    The number of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    The number of objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10allObjectsSayq_Gvp":{"name":"allObjects","abstract":"

    A list of all objects in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8sectionsSayAA11SectionInfoCyxq_GGvp":{"name":"sections","abstract":"

    The list of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The value of sectionKeyPath for the objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectq_Sg10Foundation9IndexPathV2at_tF":{"name":"object(at:)","abstract":"

    The object at a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSg10Foundation9IndexPathV2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgSi2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectxSg10Foundation9IndexPathV12forSectionAt_tF":{"name":"object(forSectionAt:)","abstract":"

    The object represented by the given section (if sectionKeyPath is not nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgxSg12representing_tF":{"name":"sectionInfo(representing:)","abstract":"

    Section info representing a given section value (or nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbq_6object_tF":{"name":"contains(object:)","abstract":"

    Check if an object exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbx13sectionObject_tF":{"name":"contains(sectionObject:)","abstract":"

    Check if a section value exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgq_2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of a given object contained in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgAA11SectionInfoCyxq_G2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of the section represented by section info

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18indexPathOfSection10Foundation05IndexG0VSgxSg12representing_tF":{"name":"indexPathOfSection(representing:)","abstract":"

    The index path of the section that represents a value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayx_Sayq_GtGF":{"name":"setContent(_:)","abstract":"

    Set pre-grouped content on the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayxG8sections_Sayq_G7objectstF":{"name":"setContent(sections:objects:)","abstract":"

    Set the content of the controller to be sorted and grouped according to options

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18pendingChangeCountSivp":{"name":"pendingChangeCount","abstract":"

    Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC22pendingItemChangeCountSivp":{"name":"pendingItemChangeCount","abstract":"

    Same as pendingChangeCount. Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC12beginEditingyyF":{"name":"beginEditing()","abstract":"

    Begin an esiting session to group multiple changes (see endEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10endEditingyyF":{"name":"endEditing()","abstract":"

    End an esiting session to commit changes (see beginEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE6deleteyx7section_tF":{"name":"delete(section:)","abstract":"

    Remove the section representing the given value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE6insertyx7section_tF":{"name":"insert(section:)","abstract":"

    Insert a section representing the provided value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE9didUpdateyx7section_tF":{"name":"didUpdate(section:)","abstract":"

    Notify the controller that a section value has changed

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6deleteyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"delete(objects:)","abstract":"

    Delete objects from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6deleteyq_6object_tF":{"name":"delete(object:)","abstract":"

    Delete an object from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6insertyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"insert(objects:)","abstract":"

    Insert multiple objects into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6insertyq_6object_tF":{"name":"insert(object:)","abstract":"

    Insert an object into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE9didUpdateyq_6object_tF":{"name":"didUpdate(object:)","abstract":"

    Notify the controller that an existing object has been updated

    ","parent_name":"MutableResultsController"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","abstract":"

    Tells the delegate that the controller did load its initial content

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","abstract":"

    Tells the delegate that the controller will change

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","abstract":"

    Tells the delegate that the an object was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","abstract":"

    Tells the delegate that a section was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","abstract":"

    Tells the delegate that it has process all changes

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP8delegateAA0cD8Delegate_pSgvp":{"name":"delegate","abstract":"

    The delegate to notify about data changes

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    The number of sections in the results controller

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    Returns the number of objects in the specified section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The name of the section at the specfied section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP5resetyyF":{"name":"reset()","abstract":"

    Clear all storage for the controller and stop all observing

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html":{"name":"ResultsController","abstract":"

    A ResultsController manages data in a way that is usable by a collection view.

    "},"Protocols/ResultsControllerDelegate.html":{"name":"ResultsControllerDelegate","abstract":"

    The ResultsControllerDelegate defines methods that allow you to respond to changes in the results controller.

    "},"Classes/MutableResultsController.html":{"name":"MutableResultsController","abstract":"

    A results controller not only manages data, it also provides an easy to use, consistent interface for working with CollectionViews. While a typical controller fetches and manages data changes internally, this slimmed down version leaves the manipulation of it’s content up to you so you can use the same interface with any type of data.

    "},"Classes/FetchedResultsController.html":{"name":"FetchedResultsController","abstract":"

    A FetchedResultsController provides the same data store and change reporting as a MutableResultsController but sources it’s contents from a CoreData context.

    "},"Classes/RelationalResultsController.html":{"name":"RelationalResultsController","abstract":"

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    "},"Classes/FetchedSetController.html":{"name":"FetchedSetController","abstract":"

    A results controller that does not concern itself with the order of objects, but only their membership to the supplied fetch request.

    "},"Results Controller.html#/s:14CollectionView27ResultsControllerChangeTypeO":{"name":"ResultsControllerChangeType","abstract":"

    The types of changes reported to ResultsControllerDelegate

    "},"Results Controller.html#/s:14CollectionView22ResultsControllerErrorO":{"name":"ResultsControllerError","abstract":"

    Errors thrown by results controllers - unimplimented

    "},"Classes/CollectionViewProvider.html":{"name":"CollectionViewProvider","abstract":"

    A helper object to easily track changes reported by a ResultsController and apply them to a CollectionView

    "},"Classes/CollectionViewResultsProxy.html":{"name":"CollectionViewResultsProxy","abstract":"

    A Helper to

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateHorizontalListLayout(im)collectionView:layout:widthForItemAt:":{"name":"collectionView(_:layout:widthForItemAt:)","abstract":"

    Asks the delegate for the width of the item at a given index path

    ","parent_name":"CollectionViewDelegateHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC15scrollDirectionAA0ab6ScrollG0Ovp":{"name":"scrollDirection","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC016shouldInvalidateE0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0nP0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC23layoutAttributesForItemAA0abeG0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewHorizontalListLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C9ItemStyleOA2AC_AF04flowE010Foundation9IndexPathV08styleForG2AttF":{"name":"collectionView(_:flowLayout:styleForItemAt:)","abstract":"

    Asks the delegate for the layout style for the item at the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForHeaderInSectiontF":{"name":"collectionView(_:flowLayout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForFooterInSectiontF":{"name":"collectionView(_:flowLayout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0SC12NSEdgeInsetsVA2AC_AA0abdE0C04flowE0Si18insetsForSectionAttF":{"name":"collectionView(_:flowLayout:insetsForSectionAt:)","abstract":"

    Asks the delegate for the insets for the content of the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C12RowTransformOA2AC_AF04flowE0Si03rowH12ForSectionAttF":{"name":"collectionView(_:flowLayout:rowTransformForSectionAt:)","abstract":"

    Asks the delegate for a transform to apply to the content in each row the specified section, defaults to .none

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4flowAESC6CGSizeVcAEmF":{"name":"flow","abstract":"

    Flow items with like other surrounding like-sized items

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4spanAESC6CGSizeVcAEmF":{"name":"span","abstract":"

    Break from the flow positioning the item in it’s own row

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    Spacing between flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC15interpanSpacing12CoreGraphics7CGFloatVSgvp":{"name":"interpanSpacing","abstract":"

    Vertical spacing between multiple span elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC22spanGroupSpacingBefore12CoreGraphics7CGFloatVSgvp":{"name":"spanGroupSpacingBefore","abstract":"

    Top spacing between the span elements that are preceded by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21spanGroupSpacingAfter12CoreGraphics7CGFloatVSgvp":{"name":"spanGroupSpacingAfter","abstract":"

    Bottom spacing between span elements that are followed by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should be inset to section insets

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14widthOfLastRow12CoreGraphics7CGFloatVSgvp":{"name":"widthOfLastRow","abstract":"

    Only used during layout preparation to reference the width of the previously inserted row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC12RowTransformO":{"name":"RowTransform","abstract":"

    Row transforms can be applied to flow elements that fall within the same row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html":{"name":"ItemStyle","abstract":"

    Styles for CollectionViewFlowLayout

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewFlowLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:numberOfColumnsInSection:":{"name":"collectionView(_:layout:numberOfColumnsInSection:)","abstract":"

    Asks the delegate for the number fo columns in a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to be applied to content of a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:interitemSpacingForSectionAt:":{"name":"collectionView(_:layout:interitemSpacingForSectionAt:)","abstract":"

    Asks the delegate for the item spacing to be applied to items of the same column of a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionview:layout:columnSpacingForSectionAt:":{"name":"collectionview(_:layout:columnSpacingForSectionAt:)","abstract":"

    Asks the delegate for the column spacing to applied to items in a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    The height for the item at the given indexPath (Priority 2)

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:aspectRatioForItemAt:":{"name":"collectionView(_:layout:aspectRatioForItemAt:)","abstract":"

    The aspect ration for the item at the given indexPath (Priority 1). Width and height must be greater than 0.

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19ItemRenderDirectionO":{"name":"ItemRenderDirection","abstract":"

    The method to use when directing items into columns

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC11columnCountSivp":{"name":"columnCount","abstract":"

    The default column count

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC13columnSpacing12CoreGraphics7CGFloatVvp":{"name":"columnSpacing","abstract":"

    The spacing between each column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12headerHeight12CoreGraphics7CGFloatVvp":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12footerHeight12CoreGraphics7CGFloatVvp":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC10itemHeight12CoreGraphics7CGFloatVvp":{"name":"itemHeight","abstract":"

    The default height to apply to all items

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24invalidateOnBoundsChangeSbvp":{"name":"invalidateOnBoundsChange","abstract":"

    If set to true, the layout will invalidate on all bounds changes, if false only on width changes

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12sectionInsetSC12NSEdgeInsetsVvp":{"name":"sectionInset","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19itemRenderDirectionAC04ItemfG0Ovp":{"name":"itemRenderDirection","abstract":"

    A hint as to how to render items when deciding which column to place them in

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC9itemWidth12CoreGraphics7CGFloatVvp":{"name":"itemWidth","abstract":"

    the calculated width of items based on the total width and number of columns (read only)

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewColumnLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    Asks the delegate for the height of the item at index path

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in a given section.

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:interitemSpacingForItemsInSection:":{"name":"collectionView(_:layout:interitemSpacingForItemsInSection:)","abstract":"

    Asks the delegate for the spacing between items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to use when laying out items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC10itemHeight12CoreGraphics7CGFloatVvp":{"name":"itemHeight","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12headerHeight12CoreGraphics7CGFloatVvp":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12footerHeight12CoreGraphics7CGFloatVvp":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC13sectionInsetsSC06NSEdgeF0Vvp":{"name":"sectionInsets","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC9indexPath10Foundation05IndexF0Vvp":{"name":"indexPath","abstract":"

    The index path of the item in the collection view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC26representedElementCategoryAA0afG0Ovp":{"name":"representedElementCategory","abstract":"

    The type of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC22representedElementKindSSSgvp":{"name":"representedElementKind","abstract":"

    The layout-specific identifier for the target view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5frameSC6CGRectVvp":{"name":"frame","abstract":"

    The frame rectangle of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6centerSC7CGPointVvp":{"name":"center","abstract":"

    The center point of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4sizeSC6CGSizeVvp":{"name":"size","abstract":"

    The size of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6boundsSC6CGRectVvp":{"name":"bounds","abstract":"

    The bounds of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5alpha12CoreGraphics7CGFloatVvp":{"name":"alpha","abstract":"

    The transparency of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6zIndex12CoreGraphics7CGFloatVvp":{"name":"zIndex","abstract":"

    Specifies the item’s position on the z axis.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6hiddenSbvp":{"name":"hidden","abstract":"

    Determines whether the item is currently displayed.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC8floatingSbvp":{"name":"floating","abstract":"

    Specifies if the item it detached from the scroll view (SupplementaryViews only)

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCAC10Foundation9IndexPathV11forCellWith_tcfc":{"name":"init(forCellWith:)","abstract":"

    Creates and returns a layout attributes object that represents a cell with the specified index path.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCACSS016forSupplementaryB6OfKind_10Foundation9IndexPathV4withtcfc":{"name":"init(forSupplementaryViewOfKind:with:)","abstract":"

    Creates and returns a layout attributes object that represents the specified supplementary view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4copyACyF":{"name":"copy()","abstract":"

    Create a copy of the layout attributes

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15scrollDirectionAA0ab6ScrollE0Ovp":{"name":"scrollDirection","abstract":"

    The direction that the collection view should scroll

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","abstract":"

    The size that encapsulates all views within the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15pinHeadersToTopSbvp":{"name":"pinHeadersToTop","abstract":"

    If supporting views should be pinned to the top of the view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC10invalidateyyF":{"name":"invalidate()","abstract":"

    Currently this is only called when the layout is applied to a collection view.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC016shouldInvalidateC0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","abstract":"

    Asks the layout if it should be invalidated due to a bounds change on the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC7prepareyyF":{"name":"prepare()","abstract":"

    Tells the layout object to update the current layout.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC13allIndexPathsAA10OrderedSetVy10Foundation0E4PathVGvp":{"name":"allIndexPaths","abstract":"

    All the index paths to be displayed by the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC24layoutAttributesForItemsSayAA0abcE0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","abstract":"

    Returns the layout attributes for all views in a given rect

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC23layoutAttributesForItemAA0abcE0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","abstract":"

    Returns the layout attributes for an item at the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC032layoutAttributesForSupplementaryB0AA0abcE0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","abstract":"

    Returns the layout attributes for the supplementary view of the given kind and the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","abstract":"

    Returns the frame that encapsulates all the content in the section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","abstract":"

    Returns the rect that encapsulates just the items of a section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0lN0tF":{"name":"scrollRectForItem(at:atPosition:)","abstract":"

    Provides he layout a chance to adjust the frame to which the collection view should scroll to show an item

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC20indexPathForNextItem10Foundation05IndexE0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","abstract":"

    Returns the index path for the next item in a given direction

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html":{"name":"CollectionViewLayout","abstract":"

    The CollectionViewLayout class is an abstract base class that you subclass and use to generate layout information for a collection view. The job of a layout object is to determine the placement of cells, supplementary views inside the collection view’s bounds and to report that information to the collection view when asked. The collection view then applies the provided layout information to the corresponding views so that they can be presented onscreen.

    "},"Classes/CollectionViewLayoutAttributes.html":{"name":"CollectionViewLayoutAttributes","abstract":"

    An UICollectionViewLayoutAttributes object manages the layout-related attributes for a given item in a collection view. Layout objects create instances of this class when asked to do so by the collection view. In turn, the collection view uses the layout information to position cells and supplementary views inside its bounds.

    "},"Classes/CollectionViewListLayout.html":{"name":"CollectionViewListLayout","abstract":"

    A list layout that makes CollectionView a perfect alternative to NSTableView

    "},"Protocols/CollectionViewDelegateListLayout.html":{"name":"CollectionViewDelegateListLayout","abstract":"

    A vertical list based layout similiar to a native table view

    "},"Classes/CollectionViewColumnLayout.html":{"name":"CollectionViewColumnLayout","abstract":"

    This layout is column based which means you provide the number of columns and cells are placed in the appropriate one. It can be display items all the same size or as a Pinterest style layout.

    "},"Protocols/CollectionViewDelegateColumnLayout.html":{"name":"CollectionViewDelegateColumnLayout","abstract":"

    The delegate for CollectionViewColumnLayout to dynamically customize the layout

    "},"Classes/CollectionViewFlowLayout.html":{"name":"CollectionViewFlowLayout","abstract":"

    A variation of UICollectionViewFlowLayout

    "},"Protocols/CollectionViewDelegateFlowLayout.html":{"name":"CollectionViewDelegateFlowLayout","abstract":"

    CollectionViewDelegateFlowLayout

    "},"Classes/CollectionViewHorizontalListLayout.html":{"name":"CollectionViewHorizontalListLayout","abstract":"

    A full height horizontal scrolling layout

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html":{"name":"CollectionViewDelegateHorizontalListLayout","abstract":"

    The delegate for CollectionViewHorizontalListLayout

    "},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0AA0aB4CellCAA0abcD0C_10Foundation9IndexPathV13cellForItemAttF":{"name":"collectionViewPreviewController(_:cellForItemAt:)","abstract":"

    Asks the delegate for a cell to use to preview the item at indexPath

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0SbAA0abcD0C_10Foundation9IndexPathV03canC6ItemAttF":{"name":"collectionViewPreviewController(_:canPreviewItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should be included in the preview.

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD11WillDismissyAA0abcD0CF":{"name":"collectionViewPreviewControllerWillDismiss(_:)","abstract":"

    <#Description#>

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","abstract":"

    Called just before the transition animation to prepare the cell

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","abstract":"

    Called within the animation block in which the cell should moved from the source position to the destination position

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","abstract":"

    Called when the transition from the source has completed and the cell is in it’s final position.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","abstract":"

    Called just before the cell is transitioned back to it’s source

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","abstract":"

    Called within the transition animation block in which the cell should move back to its source.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","abstract":"

    Called when the transition back to the source has completed and the containing preview controller will be removed.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC8delegateAA0abcD8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    A delegate to provide data

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15backgroundColorSo7NSColorCvp":{"name":"backgroundColor","abstract":"

    The background color of the view when the items are displayed

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewController(im)viewDidLoad":{"name":"viewDidLoad()","abstract":"

    CollectionViewDelegatePreviewLayout

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC06sourceaB0A2ACSgvp":{"name":"sourceCollectionView","abstract":"

    The collection view the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15sourceIndexPath10Foundation0fG0VSgvp":{"name":"sourceIndexPath","abstract":"

    The index path the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC16currentIndexPath10Foundation0fG0VSgvp":{"name":"currentIndexPath","abstract":"

    The index path for the currently displayed item

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC18transitionDurationSdvp":{"name":"transitionDuration","abstract":"

    The duration of present/dismiss transitions

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7presentySo06NSViewD0C2in_A2AC6source10Foundation9IndexPathV05indexK0ySbcSg10completiontF":{"name":"present(in:source:indexPath:completion:)","abstract":"

    Present the preview controller, transitioning from an item at indexPath in the source collectionView

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7dismissySb8animated_ySbcSg10completiontF":{"name":"dismiss(animated:completion:)","abstract":"

    Dismiss the preview controller, transitioning the current item back to its source

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC19adjustContentInsetsySC06NSEdgeF0VF":{"name":"adjustContentInsets(_:)","abstract":"

    Adjust the layout constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC16adjustConstraintySo08NSLayoutE0C9AttributeO_12CoreGraphics7CGFloatVSg5valuetF":{"name":"adjustConstraint(_:value:)","abstract":"

    Adjust the constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15reuseIdentifierSSSgvp":{"name":"reuseIdentifier","abstract":"

    A string that identifies the purpose of the view.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C010collectionB0A2ACSgXwvp":{"name":"collectionView","abstract":"

    The collection view the view was dequed in

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C6reusedSbvp":{"name":"reused","abstract":"

    True if the view has been dequed from the reuse pool

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/c:@M@CollectionView@objc(cs)CollectionReusableView(im)prepareForReuse":{"name":"prepareForReuse()","abstract":"

    Performs any clean up necessary to prepare the view for use again.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15viewWillDisplayyyF":{"name":"viewWillDisplay()","abstract":"

    Called just before the view is added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14viewDidDisplayyyF":{"name":"viewDidDisplay()","abstract":"

    Called just after the view was added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"

    The background color of the cell

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15disableTrackingyyF":{"name":"disableTracking()","abstract":"

    Disable tracking (used for highlighting in cells) for this view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14enableTrackingyyF":{"name":"enableTracking()","abstract":"

    Enable tracking for this view (called by default for cells)

    ","parent_name":"CollectionReusableView"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC11highlightedSbvp":{"name":"highlighted","abstract":"

    The highlight state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8selectedSbvp":{"name":"selected","abstract":"

    The selection state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC22defaultReuseIdentifierSSvpZ":{"name":"defaultReuseIdentifier","abstract":"

    Provide a reuse identifier for all cells of this class, defaults to the class name

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8registeryA2AC2in_tFZ":{"name":"register(in:)","abstract":"

    Register a CollectionViewCell subclass to a collection view using the class’s defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC5dequeAC10Foundation9IndexPathV3for_A2AC2intFZ":{"name":"deque(for:in:)","abstract":"

    Deque a cell of this class from a collection view. Uses defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:shouldBeginDraggingAt:with:":{"name":"collectionView(_:shouldBeginDraggingAt:with:)","abstract":"

    Asks the delegate if a dragging session should be started

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:validateIndexPathsForDrag:":{"name":"collectionView(_:validateIndexPathsForDrag:)","abstract":"

    Asks the delegate to validate the selected items for drag.

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:willBeginAt:":{"name":"collectionView(_:draggingSession:willBeginAt:)","abstract":"

    Notifies the delegate that a dragging session will begin

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didEndAt:with:draggedIndexPaths:":{"name":"collectionView(_:draggingSession:didEndAt:with:draggedIndexPaths:)","abstract":"

    Notifies the delegate that a dragging session ended

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didMoveTo:":{"name":"collectionView(_:draggingSession:didMoveTo:)","abstract":"

    Notifies the delegate that a dragging session moved

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEntered:":{"name":"collectionView(_:dragEntered:)","abstract":"

    Asks the delegate for an operation for the drag at its current state when it enters the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragUpdated:":{"name":"collectionView(_:dragUpdated:)","abstract":"

    Asks the delegate for an operation for the drag at its current state as it updates

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragExited:":{"name":"collectionView(_:dragExited:)","abstract":"

    Notifies the delegate that a drag exited the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEnded:":{"name":"collectionView(_:dragEnded:)","abstract":"

    Notifies the delegate that a drag ended in the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:performDragOperation:":{"name":"collectionView(_:performDragOperation:)","abstract":"

    Asks the delegate to handle the drop in the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillReloadLayout:":{"name":"collectionViewWillReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view will reload it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidReloadLayout:":{"name":"collectionViewDidReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view finished reloading it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didChangeFirstResponderStatus:":{"name":"collectionView(_:didChangeFirstResponderStatus:)","abstract":"

    Notifies the delegate that the collection view has changed status as first responder

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseMovedToSection:":{"name":"collectionView(_:mouseMovedToSection:)","abstract":"

    Notifies the delegate that the mouse has moved into the frame of a section.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseDownInItemAt:with:":{"name":"collectionView(_:mouseDownInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was clicked down in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseUpInItemAt:with:":{"name":"collectionView(_:mouseUpInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was released in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldHighlightItemAt:":{"name":"collectionView(_:shouldHighlightItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should highlight

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldSelectItemsAt:":{"name":"collectionView(_:shouldSelectItemsAt:)","abstract":"

    Asks the delegate to approve the pending selection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didSelectItemsAt:":{"name":"collectionView(_:didSelectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were selected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldDeselectItemsAt:":{"name":"collectionView(_:shouldDeselectItemsAt:)","abstract":"

    Asks the delegate object to approve the pending deselection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDeselectItemsAt:":{"name":"collectionView(_:didDeselectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were deselected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDoubleClickItemAt:with:":{"name":"collectionView(_:didDoubleClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was double clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didRightClickItemAt:with:":{"name":"collectionView(_:didRightClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was right clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:willDisplaySupplementaryView:ofElementKind:at:":{"name":"collectionView(_:willDisplaySupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view will bw displayed

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingCell:forItemAt:":{"name":"collectionView(_:didEndDisplayingCell:forItemAt:)","abstract":"

    Notifies the delegate that a cell was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingSupplementaryView:ofElementKind:at:":{"name":"collectionView(_:didEndDisplayingSupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewLayoutAnchor:":{"name":"collectionViewLayoutAnchor(_:)","abstract":"

    Asks the delegate for an index path to anchor when resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndLiveResize:":{"name":"collectionViewDidEndLiveResize(_:)","abstract":"

    Notifies the delegate that the collection view did begin resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldScrollToItemAt:":{"name":"collectionView(_:shouldScrollToItemAt:)","abstract":"

    Asks the delegate if the collection view should scroll to an item

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didScrollToItemAt:":{"name":"collectionView(_:didScrollToItemAt:)","abstract":"

    Notifies the delegate that the collection view did complete a scrolling action

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidScroll:":{"name":"collectionViewDidScroll(_:)","abstract":"

    Notifies the delegate that the collection view was scrolled

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillBeginScrolling:animated:":{"name":"collectionViewWillBeginScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view will begin scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndScrolling:animated:":{"name":"collectionViewDidEndScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view did end scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","abstract":"

    Asks your data source for the number of sections in the collectin view

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","abstract":"

    Asks your data source object for the number of items in the specified section.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","abstract":"

    Asks your data source object for the cell that corresponds to the specified item in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:viewForSupplementaryElementOfKind:at:":{"name":"collectionView(_:viewForSupplementaryElementOfKind:at:)","abstract":"

    Asks your data source object to provide a supplementary view to display in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:pasteboardWriterForItemAt:":{"name":"collectionView(_:pasteboardWriterForItemAt:)","abstract":"

    Asks your data source for a pasteboard writing for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragContentsForItemAt:":{"name":"collectionView(_:dragContentsForItemAt:)","abstract":"

    Asks the data source for the drag contents for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragRectForItemAt:withStartingRect:":{"name":"collectionView(_:dragRectForItemAt:withStartingRect:)","abstract":"

    Asks the data source to validate the drag rect for an item to be dragged, allowing for adjustment.

    ","parent_name":"CollectionViewDataSource"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)delegate":{"name":"delegate","abstract":"

    The object that acts as the delegate to the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10dataSourceAA0ab4DataD0_pSgXwvp":{"name":"dataSource","abstract":"

    The object that provides data for the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015contentDocumentB0AA0abdB0Cvp":{"name":"contentDocumentView","abstract":"

    The content view in which all cells and views are displayed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0aB4CellCm5class_SS03forD19WithReuseIdentifiertF":{"name":"register(class:forCellWithReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS26forCellWithReuseIdentifiertF":{"name":"register(nib:forCellWithReuseIdentifier:)","abstract":"

    Register a nib to be loaded as reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0a8ReusableB0Cm5class_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(class:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable supplementary views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(nib:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a nib to be loaded as a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19dequeueReusableCellAA0abE0CSS19withReuseIdentifier_10Foundation9IndexPathV3fortF":{"name":"dequeueReusableCell(withReuseIdentifier:for:)","abstract":"

    Retrieve a cell for a given reuse identifier and index path.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC028dequeueReusableSupplementaryB0AA0adB0CSS6ofKind_SS19withReuseIdentifier10Foundation9IndexPathV3fortF":{"name":"dequeueReusableSupplementaryView(ofKind:withReuseIdentifier:for:)","abstract":"

    Returns a reusable supplementary view located by its identifier and kind.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015floatingContentB0So6NSViewCvp":{"name":"floatingContentView","abstract":"

    A view atop the collection view used to display non-scrolling accessory views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC012addAccessoryB0ySo6NSViewCF":{"name":"addAccessoryView(_:)","abstract":"

    Adds the given view to the floating content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    Returns the number of sections displayed by the collection view.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13numberOfItemsS2i2in_tF":{"name":"numberOfItems(in:)","abstract":"

    Returns the number of items in the specified section.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10reloadDatayyF":{"name":"reloadData()","abstract":"

    Reloads all the data and views in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC010collectionB6LayoutAA0abD0Cvp":{"name":"collectionViewLayout","abstract":"

    The layout used to organize the collected view’s items.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18contentVisibleRectSC6CGRectVvp":{"name":"contentVisibleRect","abstract":"

    The visible rect of the document view that is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)contentSize":{"name":"contentSize","abstract":"

    The total size of all items/views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13contentOffsetSC7CGPointVvp":{"name":"contentOffset","abstract":"

    The offset of the content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10prepareAllSbvp":{"name":"prepareAll","abstract":"

    Force layout of all items, not just those in the visible content area

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15frameForSectionSC6CGRectVSgSi2at_tF":{"name":"frameForSection(at:)","abstract":"

    Returns the frame for the specified section

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24reloadDataOnBoundsChangeSbvp":{"name":"reloadDataOnBoundsChange","abstract":"

    Reload the data (section & item counts) when the collectionView bounds change. Defaults to false.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12reloadLayoutySb_AA0aB14ScrollPositionO06scrollF0ySbcSg10completiontF":{"name":"reloadLayout(_:scrollPosition:completion:)","abstract":"

    Reload the collection view layout and apply the updated frames to the cells/views.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11isScrollingSbvp":{"name":"isScrolling","abstract":"

    Returns true if the collection view is currently scrolling

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14scrollVelocitySC7CGPointVvp":{"name":"scrollVelocity","abstract":"

    Returns the current velocity of a scroll in points/second

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18peakScrollVelocitySC7CGPointVvp":{"name":"peakScrollVelocity","abstract":"

    Returns the peak valocity of a scroll during the last scrolling session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathsForVisibleSectionsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForVisibleSections","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathForFirstVisibleItem10Foundation05IndexD0VSgvp":{"name":"indexPathForFirstVisibleItem","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC29_indexPathForFirstVisibleItem10Foundation05IndexD0VSgvp":{"name":"_indexPathForFirstVisibleItem","abstract":"

    Same as indexPathForFirstVisibleItem but doesn’t ask the delegate for a suggestion. This is a convenient variable to use in collectionViewLayoutAnchor(_:) but asking the delegate within is not possibe.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17animationDurationSdvp":{"name":"animationDuration","abstract":"

    The duration of animations when performing animated layout changes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19performBatchUpdatesyyyc_ySbcSg10completiontF":{"name":"performBatchUpdates(_:completion:)","abstract":"

    Perform multiple updates to be applied together

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14insertSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"insertSections(_:animated:)","abstract":"

    Insert sections at the given indexes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14deleteSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"deleteSections(_:animated:)","abstract":"

    Remove sections and their items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11moveSectionySi_Si2toSb8animatedtF":{"name":"moveSection(_:to:animated:)","abstract":"

    Move a section and its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11insertItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"insertItems(at:animated:)","abstract":"

    Insert items at specific index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11deleteItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"deleteItems(at:animated:)","abstract":"

    Deletes the items at the specified index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11reloadItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"reloadItems(at:animated:)","abstract":"

    Reload the items and the given index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8moveItemy10Foundation9IndexPathV2at_AF2toSb8animatedtF":{"name":"moveItem(at:to:animated:)","abstract":"

    Moves the item from it’s current index path to another

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17trackSectionHoverSbvp":{"name":"trackSectionHover","abstract":"

    If true, the delegate’s collectionView(_:,mouseMovedToSection:) will be notified when the cursor is within a section frame

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15allowsSelectionSbvp":{"name":"allowsSelection","abstract":"

    If the collection view should allow selection of its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13SelectionModeO":{"name":"SelectionMode","abstract":"

    Determine how item selections are managed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13selectionModeAB09SelectionD0Ovp":{"name":"selectionMode","abstract":"

    Determines what happens when an item is clicked

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC23allowsMultipleSelectionSbvp":{"name":"allowsMultipleSelection","abstract":"

    Allows the selection of multiple items via modifier keys (command & shift) (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC20allowsEmptySelectionSbvp":{"name":"allowsEmptySelection","abstract":"

    If true, clicking empty space will deselect all items (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14notifyDelegateSbvp":{"name":"notifyDelegate","abstract":"

    If true, programatic changes will be reported to the delegate (i.e. selections)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16repeatSelectionsSbvp":{"name":"repeatSelections","abstract":"

    If true, selecting an already selected item will notify the delegate (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC27indexPathForHighlightedItem10Foundation05IndexD0VSgvp":{"name":"indexPathForHighlightedItem","abstract":"

    The index path of the highlighted item, if any

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13highlightItemy10Foundation9IndexPathVSg2at_Sb8animatedtF":{"name":"highlightItem(at:animated:)","abstract":"

    Manually set the highlighted item reguardless of the cursor location

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForSelectedItemss3SetVy10Foundation9IndexPathVGvp":{"name":"indexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC32sortedIndexPathsForSelectedItemsSay10Foundation0D4PathVGvp":{"name":"sortedIndexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items ordered from first to last

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25itemAtIndexPathIsSelectedSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsSelected(_:)","abstract":"

    Returns if the item at a given index path is selected

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14selectAllItemsySbF":{"name":"selectAllItems(_:)","abstract":"

    Selects all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10selectItemy10Foundation9IndexPathV2at_Sb8animatedAA0aB14ScrollPositionO06scrollK0tF":{"name":"selectItem(at:animated:scrollPosition:)","abstract":"

    Select an item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11selectItemsyx2at_Sb8animatedAA0aB14ScrollPositionO06scrollH0ts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"selectItems(at:animated:scrollPosition:)","abstract":"

    Select the items at the given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13deselectItemsyx2at_Sb8animatedts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"deselectItems(at:animated:)","abstract":"

    Deselect cells at given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16deselectAllItemsySbF":{"name":"deselectAllItems(_:)","abstract":"

    Deselect all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12deselectItemy10Foundation9IndexPathV2at_Sb8animatedtF":{"name":"deselectItem(at:animated:)","abstract":"

    Deselect the item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12visibleCellsSayAA0aB4CellCGvp":{"name":"visibleCells","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25indexPathsForVisibleItemsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForVisibleItems","abstract":"

    Returns the index paths for all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24itemAtIndexPathIsVisibleSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsVisible(_:)","abstract":"

    Returns true if the item at the index path is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11cellForItemAA0aB4CellCSg10Foundation9IndexPathV2at_tF":{"name":"cellForItem(at:)","abstract":"

    Returns the cell at a given index path if it is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0aB4CellC3for_tF":{"name":"indexPath(for:)","abstract":"

    Returns the index path for a cell in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16indexPathForItem10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForItem(at:)","abstract":"

    Returns a index path for the item at a given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC7CGPointV4near_12CoreGraphics7CGFloatV6radiustF":{"name":"firstIndexPathForItem(near:radius:)","abstract":"

    Returns the first index path within a given distance of a point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC6CGRectV2in_tF":{"name":"firstIndexPathForItem(in:)","abstract":"

    Returns the first index path found intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18indexPathsForItemsSay10Foundation9IndexPathVGSC6CGRectV2in_tF":{"name":"indexPathsForItems(in:)","abstract":"

    Returns all items intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19indexPathForSection10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForSection(at:)","abstract":"

    Returns the indexPath for the section that contains the given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25visibleSupplementaryViewsSayAA0a8ReusableB0CGvp":{"name":"visibleSupplementaryViews","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0a8ReusableB0C016forSupplementaryB0_tF":{"name":"indexPath(forSupplementaryView:)","abstract":"

    Returns the index path for a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18supplementaryViewsAA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryViews(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC013supplementaryB0AA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryView(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollItemy10Foundation9IndexPathV2at_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollItem(at:to:animated:completion:)","abstract":"

    Scroll an item into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollRectySC6CGRectV_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollRect(_:to:animated:completion:)","abstract":"

    Scroll an given rect into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForDraggingItemsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForDraggingItems","abstract":"

    The index paths for items included in the currect dragging session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12applyChangesyAA0aB12ResultsProxyC4from_ySbcSg10completiontF":{"name":"applyChanges(from:completion:)","abstract":"

    Apply all changes in a change set to a collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html":{"name":"CollectionView","abstract":"

    A Collection View manages the presentation of items, your app’s main job is to provide the data that those items are to represent.

    "},"Protocols/CollectionViewDataSource.html":{"name":"CollectionViewDataSource","abstract":"

    The CollectionViewDataSource is responsible for providing the data and views required by a collection view

    "},"Protocols/CollectionViewDelegate.html":{"name":"CollectionViewDelegate","abstract":"

    The CollectionViewDelegate protocol defines methods that allow you to manage the status, selection, highlighting, and scrolling of items in a collection view and to perform actions on those items. The methods of this protocol are all optional.

    "},"Protocols/CollectionViewDragDelegate.html":{"name":"CollectionViewDragDelegate","abstract":"

    The CollectionViewDragDelegate forwards system drag functions to the delegate in the context of a Collection View.

    "},"Classes/CollectionViewCell.html":{"name":"CollectionViewCell","abstract":"

    A CollectionViewCell object presents the content for a single data item when that item is within the collection view’s visible bounds. You can use this class as-is or subclass it to add additional properties and methods. The layout and presentation of cells is managed by the collection view and its corresponding layout object.

    "},"Classes/CollectionReusableView.html":{"name":"CollectionReusableView","abstract":"

    The CollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view. Reusable views are so named because the collection view places them on a reuse queue rather than deleting them when they are scrolled out of the visible bounds. Such a view can then be retrieved and repurposed for a different set of content.

    "},"Classes/CollectionViewController.html":{"name":"CollectionViewController","abstract":"

    The UICollectionViewController class represents a view controller whose content consists of a collection view.

    "},"Collection View.html#/s:14CollectionView0aB17LayoutElementKindV":{"name":"CollectionViewLayoutElementKind","abstract":"

    CollectionViewLayoutElementKind

    "},"Collection View.html#/s:14CollectionView0A15ElementCategoryO":{"name":"CollectionElementCategory","abstract":"

    CollectionElementCategory

    "},"Collection View.html#/s:14CollectionView0aB9DirectionO":{"name":"CollectionViewDirection","abstract":"

    CollectionViewDirection

    "},"Collection View.html#/s:14CollectionView0aB15ScrollDirectionO":{"name":"CollectionViewScrollDirection","abstract":"

    CollectionViewScrollDirection

    "},"Collection View.html#/s:14CollectionView0aB14ScrollPositionO":{"name":"CollectionViewScrollPosition","abstract":"

    CollectionViewScrollPosition

    "},"Classes/CollectionViewPreviewCell.html":{"name":"CollectionViewPreviewCell","abstract":"

    A default implementation of CollectionViewPreviewTransitionCell

    "},"Classes/CollectionViewPreviewController.html":{"name":"CollectionViewPreviewController","abstract":"

    An easy to use CollectionViewController that transitions from a source collection view.

    "},"Protocols/CollectionViewPreviewTransitionCell.html":{"name":"CollectionViewPreviewTransitionCell","abstract":"

    A protocol for CollectionViewCells that need to customize their transition when used in CollectionViewPreviewController.

    "},"Protocols/CollectionViewPreviewControllerDelegate.html":{"name":"CollectionViewPreviewControllerDelegate","abstract":"

    a CollectionViewPreviewControllerDelegate is responsible for providing data to a CollectionViewPreviewController.

    "},"Collection View.html#/s:14CollectionView19AnimationCompletiona":{"name":"AnimationCompletion","abstract":"

    AnimationCompletion

    "},"introduction.html":{"name":"Introduction"},"basic-setup.html":{"name":"Basic Setup"},"supplementary-views.html":{"name":"Supplementary Views"},"layouts.html":{"name":"Layouts"},"drag--drop.html":{"name":"Drag & Drop"},"content-updates.html":{"name":"Content Updates"},"results-controller.html":{"name":"Results Controller"},"Guides.html":{"name":"Guides"},"Collection View.html":{"name":"Collection View"},"Collection View Layouts.html":{"name":"Collection View Layouts"},"Results Controller.html":{"name":"Results Controller"},"Other Enums.html":{"name":"Other Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Other Extensions.html":{"name":"Other Extensions","abstract":"

    The following extensions are available globally.

    "},"Other Protocols.html":{"name":"Other Protocols","abstract":"

    The following protocols are available globally.

    "},"Other Structs.html":{"name":"Other Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/supplementary-views.html b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/supplementary-views.html index 79fc091..49dd7c3 100644 --- a/docs/docsets/CollectionView.docset/Contents/Resources/Documents/supplementary-views.html +++ b/docs/docsets/CollectionView.docset/Contents/Resources/Documents/supplementary-views.html @@ -217,7 +217,7 @@ Other Enumerations @@ -310,8 +310,8 @@

    Dequeing Cells

    diff --git a/docs/docsets/CollectionView.docset/Contents/Resources/docSet.dsidx b/docs/docsets/CollectionView.docset/Contents/Resources/docSet.dsidx index 8a8d447..52c533f 100644 Binary files a/docs/docsets/CollectionView.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/CollectionView.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/CollectionView.tgz b/docs/docsets/CollectionView.tgz index da4a2d6..b138e1b 100644 Binary files a/docs/docsets/CollectionView.tgz and b/docs/docsets/CollectionView.tgz differ diff --git a/docs/drag--drop.html b/docs/drag--drop.html index 4468c80..c018a06 100644 --- a/docs/drag--drop.html +++ b/docs/drag--drop.html @@ -217,7 +217,7 @@ Other Enumerations @@ -290,8 +290,8 @@

    Dragging Target

    diff --git a/docs/index.html b/docs/index.html index 78e8765..a67c205 100644 --- a/docs/index.html +++ b/docs/index.html @@ -217,7 +217,7 @@ Other Enumerations @@ -254,6 +254,8 @@

    CollectionView

    +

    test

    +

    An easy to use, highly customizable replacement for NSCollectionView.


    @@ -316,7 +318,8 @@

    To do

    Credits

      -
    • Thanks to DeepDiff for some diffing logic used in ResultsController
    • +
    • DeepDiff for some diffing logic used in ResultsController
    • +
    • JNWCollectionView for early inspiration

    Licence

    @@ -329,8 +332,8 @@

    Licence

    diff --git a/docs/introduction.html b/docs/introduction.html index 4bad01e..d18a985 100644 --- a/docs/introduction.html +++ b/docs/introduction.html @@ -217,7 +217,7 @@ Other Enumerations @@ -289,8 +289,8 @@

    Layout

    diff --git a/docs/layouts.html b/docs/layouts.html index 05439ab..25f6772 100644 --- a/docs/layouts.html +++ b/docs/layouts.html @@ -217,7 +217,7 @@ Other Enumerations @@ -345,8 +345,8 @@

    Custom Layouts

    diff --git a/docs/results-controller.html b/docs/results-controller.html index 76ef209..bb35ac8 100644 --- a/docs/results-controller.html +++ b/docs/results-controller.html @@ -217,7 +217,7 @@ Other Enumerations @@ -359,8 +359,8 @@

    Core Data Results Control diff --git a/docs/search.json b/docs/search.json index 7922d3e..edfc1f5 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGs7KeyPathCyxqd__G_Sb9ascendingtcs10ComparableRd__lufc":{"name":"init(_:ascending:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGAA0cD6ResultOx_xtccfc":{"name":"init(_:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorV7compareAA0cD6ResultOx_x2totF":{"name":"compare(_:to:)","abstract":"

    Compare two objects

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html":{"name":"SortDescriptor","abstract":"

    a comparator used to compare two objects

    "},"Other Protocols.html#/s:14CollectionView30CustomDisplayStringConvertibleP":{"name":"CustomDisplayStringConvertible","abstract":"

    CustomDisplayStringConvertible allows objects to return a custom description to display

    "},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE3forACSi4item_Si7sectiontFZ":{"name":"for(item:section:)","abstract":"

    Create an index path with a given item and section

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE5_itemSiv":{"name":"_item","abstract":"

    Returns the item of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE8_sectionSiv":{"name":"_section","abstract":"

    Returns the section of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html":{"name":"IndexPath","abstract":"

    Provides support for OSX < 10.11 and provides some helpful additions

    "},"Other Enums.html#/s:14CollectionView20SortDescriptorResultO":{"name":"SortDescriptorResult","abstract":"

    Sort Descriptor Result

    "},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg9forItemAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forItemAt:with:)","abstract":"

    Add an item change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg12forSectionAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forSectionAt:with:)","abstract":"

    Add a section change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5countSiv":{"name":"count","abstract":"

    The count of changes in the set

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5unionyAC4with_tF":{"name":"union(with:)","abstract":"

    Merge this set with another

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC010collectionB0A2ACXov":{"name":"collectionView","abstract":"

    When set as the delegate

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC21populateEmptySectionsSbv":{"name":"populateEmptySections","abstract":"

    If true, a cell will be inserted when a section becomes empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC17populateWhenEmptySbv":{"name":"populateWhenEmpty","abstract":"

    If true, a cell will be inserted when a collection view becomes completely empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_SS10entityNametcfc":{"name":"init(context:entityName:)","abstract":"

    A convenience initializer that takes an entity name and creates a fetch request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_So14NSFetchRequestCySo0fG0CG7requesttcfc":{"name":"init(context:request:)","abstract":"

    Initialize a controller with a context and request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12performFetchSaySo15NSManagedObjectCGyKF":{"name":"performFetch()","abstract":"

    Fetches the object and begins monitoring the context for changes

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC20managedObjectContextSo09NSManagedgH0Cv":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the context and perform a fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12fetchRequestSo07NSFetchG0CySo15NSManagedObjectCGv":{"name":"fetchRequest","abstract":"

    A fetch request (including a predicate if needed) for the entity to fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC8delegateAA0cdE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    The delegate of the controller

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC15numberOfObjectsSiv":{"name":"numberOfObjects","abstract":"

    The number of objects in the set

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC4waitSbv":{"name":"wait","abstract":"

    If change processing should occur within a perform or performAndWait block on the context

    ","parent_name":"FetchedSetController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requestAIyxG07sectionK0s7KeyPathCyq_xSgG0mnO0tcfc":{"name":"init(context:request:sectionRequest:sectionKeyPath:)","abstract":"

    Intialize a controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Executes a fetch to populate the controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC19sectionFetchRequestSo07NSFetchH0CyxGv":{"name":"sectionFetchRequest","abstract":"

    A fetch request used to fetch, filter, and sort the section results of the controller.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC18sectionNameKeyPathSSSgv":{"name":"sectionNameKeyPath","abstract":"

    A keyPath of the section objects to get the displayable name

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC13fetchSectionsSbv":{"name":"fetchSections","abstract":"

    If true, sections will be fetched independent of objects using sectionFetchRequest.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","parent_name":"RelationalResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requests7KeyPathCyq_xGSg07sectionmN0tcfc":{"name":"init(context:request:sectionKeyPath:)","abstract":"

    Controller initializer a given context and fetch request

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC8delegateAA0dE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    An object the report to when content in the controller changes

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12fetchRequestSo07NSFetchG0Cyq_Gv":{"name":"fetchRequest","abstract":"

    The fetch request for the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC20managedObjectContextSo09NSManagedgH0Cv":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the managed object context used by the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Performs the provided fetch request to populate the controller. Calling again resets the controller.

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11isSectionedSbv":{"name":"isSectioned","abstract":"

    Returns true if a sectionKeyPath has been set

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xGSgF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xSgGF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8delegateAA0dE8Delegate_pSgXwv":{"name":"delegate","abstract":"

    The delegate to report changes to

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    The number of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    The number of objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10allObjectsSayq_Gv":{"name":"allObjects","abstract":"

    A list of all objects in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8sectionsSayAA11SectionInfoCyxq_GGv":{"name":"sections","abstract":"

    The list of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The value of sectionKeyPath for the objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectq_Sg10Foundation9IndexPathV2at_tF":{"name":"object(at:)","abstract":"

    The object at a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSg10Foundation9IndexPathV2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgSi2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectxSg10Foundation9IndexPathV12forSectionAt_tF":{"name":"object(forSectionAt:)","abstract":"

    The object represented by the given section (if sectionKeyPath is not nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgxSg12representing_tF":{"name":"sectionInfo(representing:)","abstract":"

    Section info representing a given section value (or nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbq_6object_tF":{"name":"contains(object:)","abstract":"

    Check if an object exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbx13sectionObject_tF":{"name":"contains(sectionObject:)","abstract":"

    Check if a section value exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgq_2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of a given object contained in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgAA11SectionInfoCyxq_G2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of the section represented by section info

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18indexPathOfSection10Foundation05IndexG0VSgxSg12representing_tF":{"name":"indexPathOfSection(representing:)","abstract":"

    The index path of the section that represents a value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayx_Sayq_GtGF":{"name":"setContent(_:)","abstract":"

    Set pre-grouped content on the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayxG8sections_Sayq_G7objectstF":{"name":"setContent(sections:objects:)","abstract":"

    Set the content of the controller to be sorted and grouped according to options

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18pendingChangeCountSiv":{"name":"pendingChangeCount","abstract":"

    Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC22pendingItemChangeCountSiv":{"name":"pendingItemChangeCount","abstract":"

    Same as pendingChangeCount. Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC12beginEditingyyF":{"name":"beginEditing()","abstract":"

    Begin an esiting session to group multiple changes (see endEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10endEditingyyF":{"name":"endEditing()","abstract":"

    End an esiting session to commit changes (see beginEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE6deleteyx7section_tF":{"name":"delete(section:)","abstract":"

    Remove the section representing the given value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE6insertyx7section_tF":{"name":"insert(section:)","abstract":"

    Insert a section representing the provided value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCAA11SectionTypeRzAA06ResultG0R_r0_lE9didUpdateyx7section_tF":{"name":"didUpdate(section:)","abstract":"

    Notify the controller that a section value has changed

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6deleteyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"delete(objects:)","abstract":"

    Delete objects from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6deleteyq_6object_tF":{"name":"delete(object:)","abstract":"

    Delete an object from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6insertyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"insert(objects:)","abstract":"

    Insert multiple objects into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE6insertyq_6object_tF":{"name":"insert(object:)","abstract":"

    Insert an object into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCA2A11SectionTypeRzRl_CAA06ResultG0R_r0_lE9didUpdateyq_6object_tF":{"name":"didUpdate(object:)","abstract":"

    Notify the controller that an existing object has been updated

    ","parent_name":"MutableResultsController"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","abstract":"

    Tells the delegate that the controller did load its initial content

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","abstract":"

    Tells the delegate that the controller will change

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","abstract":"

    Tells the delegate that the an object was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","abstract":"

    Tells the delegate that a section was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","abstract":"

    Tells the delegate that it has process all changes

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP8delegateAA0cD8Delegate_pSgv":{"name":"delegate","abstract":"

    The delegate to notify about data changes

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    The number of sections in the results controller

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    Returns the number of objects in the specified section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The name of the section at the specfied section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP5resetyyF":{"name":"reset()","abstract":"

    Clear all storage for the controller and stop all observing

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html":{"name":"ResultsController","abstract":"

    A ResultsController manages data in a way that is usable by a collection view.

    "},"Protocols/ResultsControllerDelegate.html":{"name":"ResultsControllerDelegate","abstract":"

    The ResultsControllerDelegate defines methods that allow you to respond to changes in the results controller.

    "},"Classes/MutableResultsController.html":{"name":"MutableResultsController","abstract":"

    A results controller not only manages data, it also provides an easy to use, consistent interface for working with CollectionViews. While a typical controller fetches and manages data changes internally, this slimmed down version leaves the manipulation of it’s content up to you so you can use the same interface with any type of data.

    "},"Classes/FetchedResultsController.html":{"name":"FetchedResultsController","abstract":"

    A FetchedResultsController provides the same data store and change reporting as a MutableResultsController but sources it’s contents from a CoreData context.

    "},"Classes/RelationalResultsController.html":{"name":"RelationalResultsController","abstract":"

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    "},"Classes/FetchedSetController.html":{"name":"FetchedSetController","abstract":"

    A results controller that does not concern itself with the order of objects, but only their membership to the supplied fetch request.

    "},"Results Controller.html#/s:14CollectionView27ResultsControllerChangeTypeO":{"name":"ResultsControllerChangeType","abstract":"

    The types of changes reported to ResultsControllerDelegate

    "},"Results Controller.html#/s:14CollectionView22ResultsControllerErrorO":{"name":"ResultsControllerError","abstract":"

    Errors thrown by results controllers - unimplimented

    "},"Classes/CollectionViewProvider.html":{"name":"CollectionViewProvider","abstract":"

    A helper object to easily track changes reported by a ResultsController and apply them to a CollectionView

    "},"Classes/CollectionViewResultsProxy.html":{"name":"CollectionViewResultsProxy","abstract":"

    A Helper to

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateHorizontalListLayout(im)collectionView:layout:widthForItemAt:":{"name":"collectionView(_:layout:widthForItemAt:)","abstract":"

    Asks the delegate for the width of the item at a given index path

    ","parent_name":"CollectionViewDelegateHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC15scrollDirectionAA0ab6ScrollG0Ov":{"name":"scrollDirection","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC016shouldInvalidateE0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0nP0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC23layoutAttributesForItemAA0abeG0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewHorizontalListLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C9ItemStyleOA2AC_AF04flowE010Foundation9IndexPathV08styleForG2AttF":{"name":"collectionView(_:flowLayout:styleForItemAt:)","abstract":"

    Asks the delegate for the layout style for the item at the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForHeaderInSectiontF":{"name":"collectionView(_:flowLayout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForFooterInSectiontF":{"name":"collectionView(_:flowLayout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0SC12NSEdgeInsetsVA2AC_AA0abdE0C04flowE0Si18insetsForSectionAttF":{"name":"collectionView(_:flowLayout:insetsForSectionAt:)","abstract":"

    Asks the delegate for the insets for the content of the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C12RowTransformOA2AC_AF04flowE0Si03rowH12ForSectionAttF":{"name":"collectionView(_:flowLayout:rowTransformForSectionAt:)","abstract":"

    Asks the delegate for a transform to apply to the content in each row the specified section, defaults to .none

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4flowAESC6CGSizeVcAEmF":{"name":"flow","abstract":"

    Flow items with like other surrounding like-sized items

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4spanAESC6CGSizeVcAEmF":{"name":"span","abstract":"

    Break from the flow positioning the item in it’s own row

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    Spacing between flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC15interpanSpacing12CoreGraphics7CGFloatVSgv":{"name":"interpanSpacing","abstract":"

    Vertical spacing between multiple span elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC22spanGroupSpacingBefore12CoreGraphics7CGFloatVSgv":{"name":"spanGroupSpacingBefore","abstract":"

    Top spacing between the span elements that are preceded by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21spanGroupSpacingAfter12CoreGraphics7CGFloatVSgv":{"name":"spanGroupSpacingAfter","abstract":"

    Bottom spacing between span elements that are followed by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should be inset to section insets

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14widthOfLastRow12CoreGraphics7CGFloatVSgv":{"name":"widthOfLastRow","abstract":"

    Only used during layout preparation to reference the width of the previously inserted row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC12RowTransformO":{"name":"RowTransform","abstract":"

    Row transforms can be applied to flow elements that fall within the same row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html":{"name":"ItemStyle","abstract":"

    Styles for CollectionViewFlowLayout

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewFlowLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:numberOfColumnsInSection:":{"name":"collectionView(_:layout:numberOfColumnsInSection:)","abstract":"

    Asks the delegate for the number fo columns in a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to be applied to content of a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:interitemSpacingForSectionAt:":{"name":"collectionView(_:layout:interitemSpacingForSectionAt:)","abstract":"

    Asks the delegate for the item spacing to be applied to items of the same column of a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionview:layout:columnSpacingForSectionAt:":{"name":"collectionview(_:layout:columnSpacingForSectionAt:)","abstract":"

    Asks the delegate for the column spacing to applied to items in a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    The height for the item at the given indexPath (Priority 2)

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:aspectRatioForItemAt:":{"name":"collectionView(_:layout:aspectRatioForItemAt:)","abstract":"

    The aspect ration for the item at the given indexPath (Priority 1). Width and height must be greater than 0.

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19ItemRenderDirectionO":{"name":"ItemRenderDirection","abstract":"

    The method to use when directing items into columns

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC11columnCountSiv":{"name":"columnCount","abstract":"

    The default column count

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC13columnSpacing12CoreGraphics7CGFloatVv":{"name":"columnSpacing","abstract":"

    The spacing between each column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12headerHeight12CoreGraphics7CGFloatVv":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12footerHeight12CoreGraphics7CGFloatVv":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC10itemHeight12CoreGraphics7CGFloatVv":{"name":"itemHeight","abstract":"

    The default height to apply to all items

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24invalidateOnBoundsChangeSbv":{"name":"invalidateOnBoundsChange","abstract":"

    If set to true, the layout will invalidate on all bounds changes, if false only on width changes

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12sectionInsetSC12NSEdgeInsetsVv":{"name":"sectionInset","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19itemRenderDirectionAC04ItemfG0Ov":{"name":"itemRenderDirection","abstract":"

    A hint as to how to render items when deciding which column to place them in

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC9itemWidth12CoreGraphics7CGFloatVv":{"name":"itemWidth","abstract":"

    the calculated width of items based on the total width and number of columns (read only)

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewColumnLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    Asks the delegate for the height of the item at index path

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in a given section.

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:interitemSpacingForItemsInSection:":{"name":"collectionView(_:layout:interitemSpacingForItemsInSection:)","abstract":"

    Asks the delegate for the spacing between items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to use when laying out items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC16interitemSpacing12CoreGraphics7CGFloatVv":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC10itemHeight12CoreGraphics7CGFloatVv":{"name":"itemHeight","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12headerHeight12CoreGraphics7CGFloatVv":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12footerHeight12CoreGraphics7CGFloatVv":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23insetSupplementaryViewsSbv":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC13sectionInsetsSC06NSEdgeF0Vv":{"name":"sectionInsets","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC9indexPath10Foundation05IndexF0Vv":{"name":"indexPath","abstract":"

    The index path of the item in the collection view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC26representedElementCategoryAA0afG0Ov":{"name":"representedElementCategory","abstract":"

    The type of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC22representedElementKindSSSgv":{"name":"representedElementKind","abstract":"

    The layout-specific identifier for the target view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5frameSC6CGRectVv":{"name":"frame","abstract":"

    The frame rectangle of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6centerSC7CGPointVv":{"name":"center","abstract":"

    The center point of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4sizeSC6CGSizeVv":{"name":"size","abstract":"

    The size of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6boundsSC6CGRectVv":{"name":"bounds","abstract":"

    The bounds of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5alpha12CoreGraphics7CGFloatVv":{"name":"alpha","abstract":"

    The transparency of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6zIndex12CoreGraphics7CGFloatVv":{"name":"zIndex","abstract":"

    Specifies the item’s position on the z axis.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6hiddenSbv":{"name":"hidden","abstract":"

    Determines whether the item is currently displayed.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC8floatingSbv":{"name":"floating","abstract":"

    Specifies if the item it detached from the scroll view (SupplementaryViews only)

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCAC10Foundation9IndexPathV11forCellWith_tcfc":{"name":"init(forCellWith:)","abstract":"

    Creates and returns a layout attributes object that represents a cell with the specified index path.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCACSS016forSupplementaryB6OfKind_10Foundation9IndexPathV4withtcfc":{"name":"init(forSupplementaryViewOfKind:with:)","abstract":"

    Creates and returns a layout attributes object that represents the specified supplementary view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:s23CustomStringConvertibleP11descriptionSSv":{"name":"description","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4copyACyF":{"name":"copy()","abstract":"

    Create a copy of the layout attributes

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15scrollDirectionAA0ab6ScrollE0Ov":{"name":"scrollDirection","abstract":"

    The direction that the collection view should scroll

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC010collectionB11ContentSizeSC6CGSizeVv":{"name":"collectionViewContentSize","abstract":"

    The size that encapsulates all views within the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15pinHeadersToTopSbv":{"name":"pinHeadersToTop","abstract":"

    If supporting views should be pinned to the top of the view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC10invalidateyyF":{"name":"invalidate()","abstract":"

    Currently this is only called when the layout is applied to a collection view.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC016shouldInvalidateC0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","abstract":"

    Asks the layout if it should be invalidated due to a bounds change on the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC7prepareyyF":{"name":"prepare()","abstract":"

    Tells the layout object to update the current layout.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC13allIndexPathsAA10OrderedSetVy10Foundation0E4PathVGv":{"name":"allIndexPaths","abstract":"

    All the index paths to be displayed by the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC24layoutAttributesForItemsSayAA0abcE0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","abstract":"

    Returns the layout attributes for all views in a given rect

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC23layoutAttributesForItemAA0abcE0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","abstract":"

    Returns the layout attributes for an item at the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC032layoutAttributesForSupplementaryB0AA0abcE0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","abstract":"

    Returns the layout attributes for the supplementary view of the given kind and the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","abstract":"

    Returns the frame that encapsulates all the content in the section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","abstract":"

    Returns the rect that encapsulates just the items of a section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0lN0tF":{"name":"scrollRectForItem(at:atPosition:)","abstract":"

    Provides he layout a chance to adjust the frame to which the collection view should scroll to show an item

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC20indexPathForNextItem10Foundation05IndexE0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","abstract":"

    Returns the index path for the next item in a given direction

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html":{"name":"CollectionViewLayout","abstract":"

    The CollectionViewLayout class is an abstract base class that you subclass and use to generate layout information for a collection view. The job of a layout object is to determine the placement of cells, supplementary views inside the collection view’s bounds and to report that information to the collection view when asked. The collection view then applies the provided layout information to the corresponding views so that they can be presented onscreen.

    "},"Classes/CollectionViewLayoutAttributes.html":{"name":"CollectionViewLayoutAttributes","abstract":"

    An UICollectionViewLayoutAttributes object manages the layout-related attributes for a given item in a collection view. Layout objects create instances of this class when asked to do so by the collection view. In turn, the collection view uses the layout information to position cells and supplementary views inside its bounds.

    "},"Classes/CollectionViewListLayout.html":{"name":"CollectionViewListLayout","abstract":"

    A list layout that makes CollectionView a perfect alternative to NSTableView

    "},"Protocols/CollectionViewDelegateListLayout.html":{"name":"CollectionViewDelegateListLayout","abstract":"

    A vertical list based layout similiar to a native table view

    "},"Classes/CollectionViewColumnLayout.html":{"name":"CollectionViewColumnLayout","abstract":"

    This layout is column based which means you provide the number of columns and cells are placed in the appropriate one. It can be display items all the same size or as a Pinterest style layout.

    "},"Protocols/CollectionViewDelegateColumnLayout.html":{"name":"CollectionViewDelegateColumnLayout","abstract":"

    The delegate for CollectionViewColumnLayout to dynamically customize the layout

    "},"Classes/CollectionViewFlowLayout.html":{"name":"CollectionViewFlowLayout","abstract":"

    A variation of UICollectionViewFlowLayout

    "},"Protocols/CollectionViewDelegateFlowLayout.html":{"name":"CollectionViewDelegateFlowLayout","abstract":"

    CollectionViewDelegateFlowLayout

    "},"Classes/CollectionViewHorizontalListLayout.html":{"name":"CollectionViewHorizontalListLayout","abstract":"

    A full height horizontal scrolling layout

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html":{"name":"CollectionViewDelegateHorizontalListLayout","abstract":"

    The delegate for CollectionViewHorizontalListLayout

    "},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0AA0aB4CellCAA0abcD0C_10Foundation9IndexPathV13cellForItemAttF":{"name":"collectionViewPreviewController(_:cellForItemAt:)","abstract":"

    Asks the delegate for a cell to use to preview the item at indexPath

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0SbAA0abcD0C_10Foundation9IndexPathV03canC6ItemAttF":{"name":"collectionViewPreviewController(_:canPreviewItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should be included in the preview.

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD11WillDismissyAA0abcD0CF":{"name":"collectionViewPreviewControllerWillDismiss(_:)","abstract":"

    <#Description#>

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","abstract":"

    Called just before the transition animation to prepare the cell

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","abstract":"

    Called within the animation block in which the cell should moved from the source position to the destination position

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","abstract":"

    Called when the transition from the source has completed and the cell is in it’s final position.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","abstract":"

    Called just before the cell is transitioned back to it’s source

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","abstract":"

    Called within the transition animation block in which the cell should move back to its source.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","abstract":"

    Called when the transition back to the source has completed and the containing preview controller will be removed.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC8delegateAA0abcD8Delegate_pSgXwv":{"name":"delegate","abstract":"

    A delegate to provide data

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15backgroundColorSo7NSColorCv":{"name":"backgroundColor","abstract":"

    The background color of the view when the items are displayed

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewController(im)viewDidLoad":{"name":"viewDidLoad()","abstract":"

    CollectionViewDelegatePreviewLayout

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC06sourceaB0A2ACSgv":{"name":"sourceCollectionView","abstract":"

    The collection view the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15sourceIndexPath10Foundation0fG0VSgv":{"name":"sourceIndexPath","abstract":"

    The index path the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC16currentIndexPath10Foundation0fG0VSgv":{"name":"currentIndexPath","abstract":"

    The index path for the currently displayed item

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC18transitionDurationSdv":{"name":"transitionDuration","abstract":"

    The duration of present/dismiss transitions

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7presentySo06NSViewD0C2in_A2AC6source10Foundation9IndexPathV05indexK0ySbcSg10completiontF":{"name":"present(in:source:indexPath:completion:)","abstract":"

    Present the preview controller, transitioning from an item at indexPath in the source collectionView

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7dismissySb8animated_ySbcSg10completiontF":{"name":"dismiss(animated:completion:)","abstract":"

    Dismiss the preview controller, transitioning the current item back to its source

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC19adjustContentInsetsySC06NSEdgeF0VF":{"name":"adjustContentInsets(_:)","abstract":"

    Adjust the layout constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC16adjustConstraintySo08NSLayoutE0C9AttributeO_12CoreGraphics7CGFloatVSg5valuetF":{"name":"adjustConstraint(_:value:)","abstract":"

    Adjust the constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15reuseIdentifierSSSgv":{"name":"reuseIdentifier","abstract":"

    A string that identifies the purpose of the view.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C010collectionB0A2ACSgXwv":{"name":"collectionView","abstract":"

    The collection view the view was dequed in

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C6reusedSbv":{"name":"reused","abstract":"

    True if the view has been dequed from the reuse pool

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/c:@M@CollectionView@objc(cs)CollectionReusableView(im)prepareForReuse":{"name":"prepareForReuse()","abstract":"

    Performs any clean up necessary to prepare the view for use again.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15viewWillDisplayyyF":{"name":"viewWillDisplay()","abstract":"

    Called just before the view is added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14viewDidDisplayyyF":{"name":"viewDidDisplay()","abstract":"

    Called just after the view was added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15backgroundColorSo7NSColorCSgv":{"name":"backgroundColor","abstract":"

    The background color of the cell

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15disableTrackingyyF":{"name":"disableTracking()","abstract":"

    Disable tracking (used for highlighting in cells) for this view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14enableTrackingyyF":{"name":"enableTracking()","abstract":"

    Enable tracking for this view (called by default for cells)

    ","parent_name":"CollectionReusableView"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC11highlightedSbv":{"name":"highlighted","abstract":"

    The highlight state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8selectedSbv":{"name":"selected","abstract":"

    The selection state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC22defaultReuseIdentifierSSvZ":{"name":"defaultReuseIdentifier","abstract":"

    Provide a reuse identifier for all cells of this class, defaults to the class name

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8registeryA2AC2in_tFZ":{"name":"register(in:)","abstract":"

    Register a CollectionViewCell subclass to a collection view using the class’s defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC5dequeAC10Foundation9IndexPathV3for_A2AC2intFZ":{"name":"deque(for:in:)","abstract":"

    Deque a cell of this class from a collection view. Uses defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:shouldBeginDraggingAt:with:":{"name":"collectionView(_:shouldBeginDraggingAt:with:)","abstract":"

    Asks the delegate if a dragging session should be started

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:validateIndexPathsForDrag:":{"name":"collectionView(_:validateIndexPathsForDrag:)","abstract":"

    Asks the delegate to validate the selected items for drag.

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:willBeginAt:":{"name":"collectionView(_:draggingSession:willBeginAt:)","abstract":"

    Notifies the delegate that a dragging session will begin

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didEndAt:with:draggedIndexPaths:":{"name":"collectionView(_:draggingSession:didEndAt:with:draggedIndexPaths:)","abstract":"

    Notifies the delegate that a dragging session ended

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didMoveTo:":{"name":"collectionView(_:draggingSession:didMoveTo:)","abstract":"

    Notifies the delegate that a dragging session moved

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEntered:":{"name":"collectionView(_:dragEntered:)","abstract":"

    Asks the delegate for an operation for the drag at its current state when it enters the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragUpdated:":{"name":"collectionView(_:dragUpdated:)","abstract":"

    Asks the delegate for an operation for the drag at its current state as it updates

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragExited:":{"name":"collectionView(_:dragExited:)","abstract":"

    Notifies the delegate that a drag exited the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEnded:":{"name":"collectionView(_:dragEnded:)","abstract":"

    Notifies the delegate that a drag ended in the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:performDragOperation:":{"name":"collectionView(_:performDragOperation:)","abstract":"

    Asks the delegate to handle the drop in the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillReloadLayout:":{"name":"collectionViewWillReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view will reload it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidReloadLayout:":{"name":"collectionViewDidReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view finished reloading it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didChangeFirstResponderStatus:":{"name":"collectionView(_:didChangeFirstResponderStatus:)","abstract":"

    Notifies the delegate that the collection view has changed status as first responder

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseMovedToSection:":{"name":"collectionView(_:mouseMovedToSection:)","abstract":"

    Notifies the delegate that the mouse has moved into the frame of a section.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseDownInItemAt:with:":{"name":"collectionView(_:mouseDownInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was clicked down in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseUpInItemAt:with:":{"name":"collectionView(_:mouseUpInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was released in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldHighlightItemAt:":{"name":"collectionView(_:shouldHighlightItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should highlight

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldSelectItemsAt:":{"name":"collectionView(_:shouldSelectItemsAt:)","abstract":"

    Asks the delegate to approve the pending selection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didSelectItemsAt:":{"name":"collectionView(_:didSelectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were selected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldDeselectItemsAt:":{"name":"collectionView(_:shouldDeselectItemsAt:)","abstract":"

    Asks the delegate object to approve the pending deselection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDeselectItemsAt:":{"name":"collectionView(_:didDeselectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were deselected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDoubleClickItemAt:with:":{"name":"collectionView(_:didDoubleClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was double clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didRightClickItemAt:with:":{"name":"collectionView(_:didRightClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was right clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:willDisplaySupplementaryView:ofElementKind:at:":{"name":"collectionView(_:willDisplaySupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view will bw displayed

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingCell:forItemAt:":{"name":"collectionView(_:didEndDisplayingCell:forItemAt:)","abstract":"

    Notifies the delegate that a cell was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingSupplementaryView:ofElementKind:at:":{"name":"collectionView(_:didEndDisplayingSupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewLayoutAnchor:":{"name":"collectionViewLayoutAnchor(_:)","abstract":"

    Asks the delegate for an index path to anchor when resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndLiveResize:":{"name":"collectionViewDidEndLiveResize(_:)","abstract":"

    Notifies the delegate that the collection view did begin resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldScrollToItemAt:":{"name":"collectionView(_:shouldScrollToItemAt:)","abstract":"

    Asks the delegate if the collection view should scroll to an item

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didScrollToItemAt:":{"name":"collectionView(_:didScrollToItemAt:)","abstract":"

    Notifies the delegate that the collection view did complete a scrolling action

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidScroll:":{"name":"collectionViewDidScroll(_:)","abstract":"

    Notifies the delegate that the collection view was scrolled

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillBeginScrolling:animated:":{"name":"collectionViewWillBeginScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view will begin scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndScrolling:animated:":{"name":"collectionViewDidEndScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view did end scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","abstract":"

    Asks your data source for the number of sections in the collectin view

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","abstract":"

    Asks your data source object for the number of items in the specified section.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","abstract":"

    Asks your data source object for the cell that corresponds to the specified item in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:viewForSupplementaryElementOfKind:at:":{"name":"collectionView(_:viewForSupplementaryElementOfKind:at:)","abstract":"

    Asks your data source object to provide a supplementary view to display in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:pasteboardWriterForItemAt:":{"name":"collectionView(_:pasteboardWriterForItemAt:)","abstract":"

    Asks your data source for a pasteboard writing for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragContentsForItemAt:":{"name":"collectionView(_:dragContentsForItemAt:)","abstract":"

    Asks the data source for the drag contents for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragRectForItemAt:withStartingRect:":{"name":"collectionView(_:dragRectForItemAt:withStartingRect:)","abstract":"

    Asks the data source to validate the drag rect for an item to be dragged, allowing for adjustment.

    ","parent_name":"CollectionViewDataSource"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)delegate":{"name":"delegate","abstract":"

    The object that acts as the delegate to the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10dataSourceAA0ab4DataD0_pSgXwv":{"name":"dataSource","abstract":"

    The object that provides data for the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015contentDocumentB0AA0abdB0Cv":{"name":"contentDocumentView","abstract":"

    The content view in which all cells and views are displayed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0aB4CellCm5class_SS03forD19WithReuseIdentifiertF":{"name":"register(class:forCellWithReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS26forCellWithReuseIdentifiertF":{"name":"register(nib:forCellWithReuseIdentifier:)","abstract":"

    Register a nib to be loaded as reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0a8ReusableB0Cm5class_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(class:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable supplementary views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(nib:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a nib to be loaded as a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19dequeueReusableCellAA0abE0CSS19withReuseIdentifier_10Foundation9IndexPathV3fortF":{"name":"dequeueReusableCell(withReuseIdentifier:for:)","abstract":"

    Retrieve a cell for a given reuse identifier and index path.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC028dequeueReusableSupplementaryB0AA0adB0CSS6ofKind_SS19withReuseIdentifier10Foundation9IndexPathV3fortF":{"name":"dequeueReusableSupplementaryView(ofKind:withReuseIdentifier:for:)","abstract":"

    Returns a reusable supplementary view located by its identifier and kind.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015floatingContentB0So6NSViewCv":{"name":"floatingContentView","abstract":"

    A view atop the collection view used to display non-scrolling accessory views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC012addAccessoryB0ySo6NSViewCF":{"name":"addAccessoryView(_:)","abstract":"

    Adds the given view to the floating content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16numberOfSectionsSiv":{"name":"numberOfSections","abstract":"

    Returns the number of sections displayed by the collection view.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13numberOfItemsS2i2in_tF":{"name":"numberOfItems(in:)","abstract":"

    Returns the number of items in the specified section.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10reloadDatayyF":{"name":"reloadData()","abstract":"

    Reloads all the data and views in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC010collectionB6LayoutAA0abD0Cv":{"name":"collectionViewLayout","abstract":"

    The layout used to organize the collected view’s items.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18contentVisibleRectSC6CGRectVv":{"name":"contentVisibleRect","abstract":"

    The visible rect of the document view that is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)contentSize":{"name":"contentSize","abstract":"

    The total size of all items/views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13contentOffsetSC7CGPointVv":{"name":"contentOffset","abstract":"

    The offset of the content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10prepareAllSbv":{"name":"prepareAll","abstract":"

    Force layout of all items, not just those in the visible content area

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15frameForSectionSC6CGRectVSgSi2at_tF":{"name":"frameForSection(at:)","abstract":"

    Returns the frame for the specified section

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24reloadDataOnBoundsChangeSbv":{"name":"reloadDataOnBoundsChange","abstract":"

    Reload the data (section & item counts) when the collectionView bounds change. Defaults to false.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12reloadLayoutySb_AA0aB14ScrollPositionO06scrollF0ySbcSg10completiontF":{"name":"reloadLayout(_:scrollPosition:completion:)","abstract":"

    Reload the collection view layout and apply the updated frames to the cells/views.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11isScrollingSbv":{"name":"isScrolling","abstract":"

    Returns true if the collection view is currently scrolling

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14scrollVelocitySC7CGPointVv":{"name":"scrollVelocity","abstract":"

    Returns the current velocity of a scroll in points/second

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18peakScrollVelocitySC7CGPointVv":{"name":"peakScrollVelocity","abstract":"

    Returns the peak valocity of a scroll during the last scrolling session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathsForVisibleSectionsSay10Foundation9IndexPathVGv":{"name":"indexPathsForVisibleSections","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathForFirstVisibleItem10Foundation05IndexD0VSgv":{"name":"indexPathForFirstVisibleItem","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC29_indexPathForFirstVisibleItem10Foundation05IndexD0VSgv":{"name":"_indexPathForFirstVisibleItem","abstract":"

    Same as indexPathForFirstVisibleItem but doesn’t ask the delegate for a suggestion. This is a convenient variable to use in collectionViewLayoutAnchor(_:) but asking the delegate within is not possibe.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17animationDurationSdv":{"name":"animationDuration","abstract":"

    The duration of animations when performing animated layout changes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19performBatchUpdatesyyyc_ySbcSg10completiontF":{"name":"performBatchUpdates(_:completion:)","abstract":"

    Perform multiple updates to be applied together

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14insertSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"insertSections(_:animated:)","abstract":"

    Insert sections at the given indexes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14deleteSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"deleteSections(_:animated:)","abstract":"

    Remove sections and their items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11moveSectionySi_Si2toSb8animatedtF":{"name":"moveSection(_:to:animated:)","abstract":"

    Move a section and its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11insertItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"insertItems(at:animated:)","abstract":"

    Insert items at specific index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11deleteItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"deleteItems(at:animated:)","abstract":"

    Deletes the items at the specified index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11reloadItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"reloadItems(at:animated:)","abstract":"

    Reload the items and the given index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8moveItemy10Foundation9IndexPathV2at_AF2toSb8animatedtF":{"name":"moveItem(at:to:animated:)","abstract":"

    Moves the item from it’s current index path to another

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17trackSectionHoverSbv":{"name":"trackSectionHover","abstract":"

    If true, the delegate’s collectionView(_:,mouseMovedToSection:) will be notified when the cursor is within a section frame

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15allowsSelectionSbv":{"name":"allowsSelection","abstract":"

    If the collection view should allow selection of its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13SelectionModeO":{"name":"SelectionMode","abstract":"

    Determine how item selections are managed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13selectionModeAB09SelectionD0Ov":{"name":"selectionMode","abstract":"

    Determines what happens when an item is clicked

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC23allowsMultipleSelectionSbv":{"name":"allowsMultipleSelection","abstract":"

    Allows the selection of multiple items via modifier keys (command & shift) (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC20allowsEmptySelectionSbv":{"name":"allowsEmptySelection","abstract":"

    If true, clicking empty space will deselect all items (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14notifyDelegateSbv":{"name":"notifyDelegate","abstract":"

    If true, programatic changes will be reported to the delegate (i.e. selections)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16repeatSelectionsSbv":{"name":"repeatSelections","abstract":"

    If true, selecting an already selected item will notify the delegate (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC27indexPathForHighlightedItem10Foundation05IndexD0VSgv":{"name":"indexPathForHighlightedItem","abstract":"

    The index path of the highlighted item, if any

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13highlightItemy10Foundation9IndexPathVSg2at_Sb8animatedtF":{"name":"highlightItem(at:animated:)","abstract":"

    Manually set the highlighted item reguardless of the cursor location

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForSelectedItemss3SetVy10Foundation9IndexPathVGv":{"name":"indexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC32sortedIndexPathsForSelectedItemsSay10Foundation0D4PathVGv":{"name":"sortedIndexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items ordered from first to last

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25itemAtIndexPathIsSelectedSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsSelected(_:)","abstract":"

    Returns if the item at a given index path is selected

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14selectAllItemsySbF":{"name":"selectAllItems(_:)","abstract":"

    Selects all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10selectItemy10Foundation9IndexPathV2at_Sb8animatedAA0aB14ScrollPositionO06scrollK0tF":{"name":"selectItem(at:animated:scrollPosition:)","abstract":"

    Select an item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11selectItemsyx2at_Sb8animatedAA0aB14ScrollPositionO06scrollH0ts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"selectItems(at:animated:scrollPosition:)","abstract":"

    Select the items at the given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13deselectItemsyx2at_Sb8animatedts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"deselectItems(at:animated:)","abstract":"

    Deselect cells at given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16deselectAllItemsySbF":{"name":"deselectAllItems(_:)","abstract":"

    Deselect all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12deselectItemy10Foundation9IndexPathV2at_Sb8animatedtF":{"name":"deselectItem(at:animated:)","abstract":"

    Deselect the item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12visibleCellsSayAA0aB4CellCGv":{"name":"visibleCells","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25indexPathsForVisibleItemsSay10Foundation9IndexPathVGv":{"name":"indexPathsForVisibleItems","abstract":"

    Returns the index paths for all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24itemAtIndexPathIsVisibleSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsVisible(_:)","abstract":"

    Returns true if the item at the index path is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11cellForItemAA0aB4CellCSg10Foundation9IndexPathV2at_tF":{"name":"cellForItem(at:)","abstract":"

    Returns the cell at a given index path if it is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0aB4CellC3for_tF":{"name":"indexPath(for:)","abstract":"

    Returns the index path for a cell in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16indexPathForItem10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForItem(at:)","abstract":"

    Returns a index path for the item at a given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC7CGPointV4near_12CoreGraphics7CGFloatV6radiustF":{"name":"firstIndexPathForItem(near:radius:)","abstract":"

    Returns the first index path within a given distance of a point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC6CGRectV2in_tF":{"name":"firstIndexPathForItem(in:)","abstract":"

    Returns the first index path found intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18indexPathsForItemsSay10Foundation9IndexPathVGSC6CGRectV2in_tF":{"name":"indexPathsForItems(in:)","abstract":"

    Returns all items intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19indexPathForSection10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForSection(at:)","abstract":"

    Returns the indexPath for the section that contains the given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25visibleSupplementaryViewsSayAA0a8ReusableB0CGv":{"name":"visibleSupplementaryViews","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0a8ReusableB0C016forSupplementaryB0_tF":{"name":"indexPath(forSupplementaryView:)","abstract":"

    Returns the index path for a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18supplementaryViewsAA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryViews(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC013supplementaryB0AA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryView(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollItemy10Foundation9IndexPathV2at_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollItem(at:to:animated:completion:)","abstract":"

    Scroll an item into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollRectySC6CGRectV_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollRect(_:to:animated:completion:)","abstract":"

    Scroll an given rect into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForDraggingItemsSay10Foundation9IndexPathVGv":{"name":"indexPathsForDraggingItems","abstract":"

    The index paths for items included in the currect dragging session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12applyChangesyAA0aB12ResultsProxyC4from_ySbcSg10completiontF":{"name":"applyChanges(from:completion:)","abstract":"

    Apply all changes in a change set to a collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html":{"name":"CollectionView","abstract":"

    A Collection View manages the presentation of items, your app’s main job is to provide the data that those items are to represent.

    "},"Protocols/CollectionViewDataSource.html":{"name":"CollectionViewDataSource","abstract":"

    The CollectionViewDataSource is responsible for providing the data and views required by a collection view

    "},"Protocols/CollectionViewDelegate.html":{"name":"CollectionViewDelegate","abstract":"

    The CollectionViewDelegate protocol defines methods that allow you to manage the status, selection, highlighting, and scrolling of items in a collection view and to perform actions on those items. The methods of this protocol are all optional.

    "},"Protocols/CollectionViewDragDelegate.html":{"name":"CollectionViewDragDelegate","abstract":"

    The CollectionViewDragDelegate forwards system drag functions to the delegate in the context of a Collection View.

    "},"Classes/CollectionViewCell.html":{"name":"CollectionViewCell","abstract":"

    A CollectionViewCell object presents the content for a single data item when that item is within the collection view’s visible bounds. You can use this class as-is or subclass it to add additional properties and methods. The layout and presentation of cells is managed by the collection view and its corresponding layout object.

    "},"Classes/CollectionReusableView.html":{"name":"CollectionReusableView","abstract":"

    The CollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view. Reusable views are so named because the collection view places them on a reuse queue rather than deleting them when they are scrolled out of the visible bounds. Such a view can then be retrieved and repurposed for a different set of content.

    "},"Classes/CollectionViewController.html":{"name":"CollectionViewController","abstract":"

    The UICollectionViewController class represents a view controller whose content consists of a collection view.

    "},"Collection View.html#/s:14CollectionView0aB17LayoutElementKindV":{"name":"CollectionViewLayoutElementKind","abstract":"

    CollectionViewLayoutElementKind

    "},"Collection View.html#/s:14CollectionView0A15ElementCategoryO":{"name":"CollectionElementCategory","abstract":"

    CollectionElementCategory

    "},"Collection View.html#/s:14CollectionView0aB9DirectionO":{"name":"CollectionViewDirection","abstract":"

    CollectionViewDirection

    "},"Collection View.html#/s:14CollectionView0aB15ScrollDirectionO":{"name":"CollectionViewScrollDirection","abstract":"

    CollectionViewScrollDirection

    "},"Collection View.html#/s:14CollectionView0aB14ScrollPositionO":{"name":"CollectionViewScrollPosition","abstract":"

    CollectionViewScrollPosition

    "},"Classes/CollectionViewPreviewCell.html":{"name":"CollectionViewPreviewCell","abstract":"

    A default implementation of CollectionViewPreviewTransitionCell

    "},"Classes/CollectionViewPreviewController.html":{"name":"CollectionViewPreviewController","abstract":"

    An easy to use CollectionViewController that transitions from a source collection view.

    "},"Protocols/CollectionViewPreviewTransitionCell.html":{"name":"CollectionViewPreviewTransitionCell","abstract":"

    A protocol for CollectionViewCells that need to customize their transition when used in CollectionViewPreviewController.

    "},"Protocols/CollectionViewPreviewControllerDelegate.html":{"name":"CollectionViewPreviewControllerDelegate","abstract":"

    a CollectionViewPreviewControllerDelegate is responsible for providing data to a CollectionViewPreviewController.

    "},"Collection View.html#/s:14CollectionView19AnimationCompletiona":{"name":"AnimationCompletion","abstract":"

    AnimationCompletion

    "},"introduction.html":{"name":"Introduction"},"basic-setup.html":{"name":"Basic Setup"},"supplementary-views.html":{"name":"Supplementary Views"},"layouts.html":{"name":"Layouts"},"drag--drop.html":{"name":"Drag & Drop"},"content-updates.html":{"name":"Content Updates"},"results-controller.html":{"name":"Results Controller"},"Guides.html":{"name":"Guides"},"Collection View.html":{"name":"Collection View"},"Collection View Layouts.html":{"name":"Collection View Layouts"},"Results Controller.html":{"name":"Results Controller"},"Other Enums.html":{"name":"Other Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Other Extensions.html":{"name":"Other Extensions","abstract":"

    The following extensions are available globally.

    "},"Other Protocols.html":{"name":"Other Protocols","abstract":"

    The following protocols are available globally.

    "},"Other Structs.html":{"name":"Other Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file +{"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGs7KeyPathCyxqd__G_Sb9ascendingtcs10ComparableRd__lufc":{"name":"init(_:ascending:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorVACyxGAA0cD6ResultOx_xtccfc":{"name":"init(_:)","abstract":"

    Initialize a sort descriptor with a custom comparator

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html#/s:14CollectionView14SortDescriptorV7compareAA0cD6ResultOx_x2totF":{"name":"compare(_:to:)","abstract":"

    Compare two objects

    ","parent_name":"SortDescriptor"},"Structs/SortDescriptor.html":{"name":"SortDescriptor","abstract":"

    a comparator used to compare two objects

    "},"Other Protocols.html#/s:14CollectionView30CustomDisplayStringConvertibleP":{"name":"CustomDisplayStringConvertible","abstract":"

    CustomDisplayStringConvertible allows objects to return a custom description to display

    "},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE3forACSi4item_Si7sectiontFZ":{"name":"for(item:section:)","abstract":"

    Create an index path with a given item and section

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE5_itemSivp":{"name":"_item","abstract":"

    Returns the item of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html#/s:10Foundation9IndexPathV14CollectionViewE8_sectionSivp":{"name":"_section","abstract":"

    Returns the section of the index path

    ","parent_name":"IndexPath"},"Extensions/IndexPath.html":{"name":"IndexPath","abstract":"

    Provides support for OSX < 10.11 and provides some helpful additions

    "},"Enums/SortDescriptorResult.html#/s:s27ExpressibleByBooleanLiteralP0cD4Type":{"name":"BooleanLiteralType","parent_name":"SortDescriptorResult"},"Enums/SortDescriptorResult.html#/s:s27ExpressibleByBooleanLiteralPx0cD4TypeQz07booleanD0_tcfc":{"name":"init(booleanLiteral:)","parent_name":"SortDescriptorResult"},"Enums/SortDescriptorResult.html":{"name":"SortDescriptorResult","abstract":"

    Sort Descriptor Result

    "},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg9forItemAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forItemAt:with:)","abstract":"

    Add an item change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC9addChangey10Foundation9IndexPathVSg12forSectionAt_AA0c10ControllerF4TypeO4withtF":{"name":"addChange(forSectionAt:with:)","abstract":"

    Add a section change

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5countSivp":{"name":"count","abstract":"

    The count of changes in the set

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewResultsProxy.html#/s:14CollectionView0aB12ResultsProxyC5unionyAC4with_tF":{"name":"union(with:)","abstract":"

    Merge this set with another

    ","parent_name":"CollectionViewResultsProxy"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC010collectionB0A2ACXovp":{"name":"collectionView","abstract":"

    When set as the delegate

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC21populateEmptySectionsSbvp":{"name":"populateEmptySections","abstract":"

    If true, a cell will be inserted when a section becomes empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView0aB8ProviderC17populateWhenEmptySbvp":{"name":"populateWhenEmpty","abstract":"

    If true, a cell will be inserted when a collection view becomes completely empty

    ","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","parent_name":"CollectionViewProvider"},"Classes/CollectionViewProvider.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","parent_name":"CollectionViewProvider"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_SS10entityNametcfc":{"name":"init(context:entityName:)","abstract":"

    A convenience initializer that takes an entity name and creates a fetch request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerCACSo22NSManagedObjectContextC7context_So14NSFetchRequestCySo0fG0CG7requesttcfc":{"name":"init(context:request:)","abstract":"

    Initialize a controller with a context and request

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12performFetchSaySo15NSManagedObjectCGyKF":{"name":"performFetch()","abstract":"

    Fetches the object and begins monitoring the context for changes

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC20managedObjectContextSo09NSManagedgH0Cvp":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the context and perform a fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC12fetchRequestSo07NSFetchG0CySo15NSManagedObjectCGvp":{"name":"fetchRequest","abstract":"

    A fetch request (including a predicate if needed) for the entity to fetch

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC8delegateAA0cdE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    The delegate of the controller

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC15numberOfObjectsSivp":{"name":"numberOfObjects","abstract":"

    The number of objects in the set

    ","parent_name":"FetchedSetController"},"Classes/FetchedSetController.html#/s:14CollectionView20FetchedSetControllerC4waitSbvp":{"name":"wait","abstract":"

    If change processing should occur within a perform or performAndWait block on the context

    ","parent_name":"FetchedSetController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requestAIyxG07sectionK0s7KeyPathCyq_xSgG0mnO0tcfc":{"name":"init(context:request:sectionRequest:sectionKeyPath:)","abstract":"

    Intialize a controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Executes a fetch to populate the controller

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC19sectionFetchRequestSo07NSFetchH0CyxGvp":{"name":"sectionFetchRequest","abstract":"

    A fetch request used to fetch, filter, and sort the section results of the controller.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC18sectionNameKeyPaths0hI0CyxSSGSgvp":{"name":"sectionNameKeyPath","abstract":"

    A keyPath of the section objects to get the displayable name

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC13fetchSectionsSbvp":{"name":"fetchSections","abstract":"

    If true, sections will be fetched independent of objects using sectionFetchRequest.

    ","parent_name":"RelationalResultsController"},"Classes/RelationalResultsController.html#/s:14CollectionView27RelationalResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","parent_name":"RelationalResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerCACyxq_GSo22NSManagedObjectContextC7context_So14NSFetchRequestCyq_G7requests7KeyPathCyq_xGSg07sectionmN0tcfc":{"name":"init(context:request:sectionKeyPath:)","abstract":"

    Controller initializer a given context and fetch request

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC8delegateAA0dE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    An object the report to when content in the controller changes

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12fetchRequestSo07NSFetchG0Cyq_Gvp":{"name":"fetchRequest","abstract":"

    The fetch request for the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC20managedObjectContextSo09NSManagedgH0Cvp":{"name":"managedObjectContext","abstract":"

    The managed object context to fetch from

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC23setManagedObjectContextySo09NSManagedhI0CKF":{"name":"setManagedObjectContext(_:)","abstract":"

    Update the managed object context used by the controller

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC12performFetchyyKF":{"name":"performFetch()","abstract":"

    Performs the provided fetch request to populate the controller. Calling again resets the controller.

    ","parent_name":"FetchedResultsController"},"Classes/FetchedResultsController.html#/s:14CollectionView24FetchedResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"FetchedResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11isSectionedSbvp":{"name":"isSectioned","abstract":"

    Returns true if a sectionKeyPath has been set

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xGSgF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC17setSectionKeyPathys0hI0Cyq_xSgGF":{"name":"setSectionKeyPath(_:)","abstract":"

    A key path of the elements to use for section groupings

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8delegateAA0dE8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    The delegate to report changes to

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    The number of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    The number of objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10allObjectsSayq_Gvp":{"name":"allObjects","abstract":"

    A list of all objects in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8sectionsSayAA11SectionInfoCyxq_GGvp":{"name":"sections","abstract":"

    The list of sections in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The value of sectionKeyPath for the objects in a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectq_Sg10Foundation9IndexPathV2at_tF":{"name":"object(at:)","abstract":"

    The object at a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSg10Foundation9IndexPathV2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given index path

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgSi2at_tF":{"name":"sectionInfo(at:)","abstract":"

    Section info for a given section

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC6objectxSg10Foundation9IndexPathV12forSectionAt_tF":{"name":"object(forSectionAt:)","abstract":"

    The object represented by the given section (if sectionKeyPath is not nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC11sectionInfoAA07SectionG0Cyxq_GSgxSg12representing_tF":{"name":"sectionInfo(representing:)","abstract":"

    Section info representing a given section value (or nil)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbq_6object_tF":{"name":"contains(object:)","abstract":"

    Check if an object exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC8containsSbx13sectionObject_tF":{"name":"contains(sectionObject:)","abstract":"

    Check if a section value exists in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgq_2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of a given object contained in the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC9indexPath10Foundation05IndexG0VSgAA11SectionInfoCyxq_G2of_tF":{"name":"indexPath(of:)","abstract":"

    The index path of the section represented by section info

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18indexPathOfSection10Foundation05IndexG0VSgxSg12representing_tF":{"name":"indexPathOfSection(representing:)","abstract":"

    The index path of the section that represents a value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayx_Sayq_GtGF":{"name":"setContent(_:)","abstract":"

    Set pre-grouped content on the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10setContentySayxG8sections_Sayq_G7objectstF":{"name":"setContent(sections:objects:)","abstract":"

    Set the content of the controller to be sorted and grouped according to options

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC5resetyyF":{"name":"reset()","abstract":"

    Clears all data and stops monitoring for changes in the context.

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC18pendingChangeCountSivp":{"name":"pendingChangeCount","abstract":"

    Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC22pendingItemChangeCountSivp":{"name":"pendingItemChangeCount","abstract":"

    Same as pendingChangeCount. Returns the number of changes processed during an update. Only valid during controllDidChangeContent(_)

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC12beginEditingyyF":{"name":"beginEditing()","abstract":"

    Begin an esiting session to group multiple changes (see endEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerC10endEditingyyF":{"name":"endEditing()","abstract":"

    End an esiting session to commit changes (see beginEditing())

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE6deleteyx7section_tF":{"name":"delete(section:)","abstract":"

    Remove the section representing the given value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE6insertyx7section_tF":{"name":"insert(section:)","abstract":"

    Insert a section representing the provided value

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARlzCrlE9didUpdateyx7section_tF":{"name":"didUpdate(section:)","abstract":"

    Notify the controller that a section value has changed

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6deleteyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"delete(objects:)","abstract":"

    Delete objects from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6deleteyq_6object_tF":{"name":"delete(object:)","abstract":"

    Delete an object from the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6insertyqd__7objects_t7ElementQyd__Rs_s0A0Rd__lF":{"name":"insert(objects:)","abstract":"

    Insert multiple objects into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE6insertyq_6object_tF":{"name":"insert(object:)","abstract":"

    Insert an object into the controller

    ","parent_name":"MutableResultsController"},"Classes/MutableResultsController.html#/s:14CollectionView24MutableResultsControllerCAARl_CrlE9didUpdateyq_6object_tF":{"name":"didUpdate(object:)","abstract":"

    Notify the controller that an existing object has been updated

    ","parent_name":"MutableResultsController"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP24controllerDidLoadContentyAA0cD0_p0F0_tF":{"name":"controllerDidLoadContent(controller:)","abstract":"

    Tells the delegate that the controller did load its initial content

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP27controllerWillChangeContentyAA0cD0_p0F0_tF":{"name":"controllerWillChangeContent(controller:)","abstract":"

    Tells the delegate that the controller will change

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp15didChangeObject10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeObject:at:for:)","abstract":"

    Tells the delegate that the an object was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP10controlleryAA0cD0_p_yp16didChangeSection10Foundation9IndexPathVSg2atAA0cdH4TypeO3fortF":{"name":"controller(_:didChangeSection:at:for:)","abstract":"

    Tells the delegate that a section was changed

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsControllerDelegate.html#/s:14CollectionView25ResultsControllerDelegateP26controllerDidChangeContentyAA0cD0_p0F0_tF":{"name":"controllerDidChangeContent(controller:)","abstract":"

    Tells the delegate that it has process all changes

    ","parent_name":"ResultsControllerDelegate"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP8delegateAA0cD8Delegate_pSgvp":{"name":"delegate","abstract":"

    The delegate to notify about data changes

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    The number of sections in the results controller

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP15numberOfObjectsS2i2in_tF":{"name":"numberOfObjects(in:)","abstract":"

    Returns the number of objects in the specified section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP11sectionNameSS10Foundation9IndexPathV12forSectionAt_tF":{"name":"sectionName(forSectionAt:)","abstract":"

    The name of the section at the specfied section

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html#/s:14CollectionView17ResultsControllerP5resetyyF":{"name":"reset()","abstract":"

    Clear all storage for the controller and stop all observing

    ","parent_name":"ResultsController"},"Protocols/ResultsController.html":{"name":"ResultsController","abstract":"

    A ResultsController manages data in a way that is usable by a collection view.

    "},"Protocols/ResultsControllerDelegate.html":{"name":"ResultsControllerDelegate","abstract":"

    The ResultsControllerDelegate defines methods that allow you to respond to changes in the results controller.

    "},"Classes/MutableResultsController.html":{"name":"MutableResultsController","abstract":"

    A results controller not only manages data, it also provides an easy to use, consistent interface for working with CollectionViews. While a typical controller fetches and manages data changes internally, this slimmed down version leaves the manipulation of it’s content up to you so you can use the same interface with any type of data.

    "},"Classes/FetchedResultsController.html":{"name":"FetchedResultsController","abstract":"

    A FetchedResultsController provides the same data store and change reporting as a MutableResultsController but sources it’s contents from a CoreData context.

    "},"Classes/RelationalResultsController.html":{"name":"RelationalResultsController","abstract":"

    Extending on FetchedResultsController and it’s section grouping, this controller allows for sections to be created from a parent ententy.-

    "},"Classes/FetchedSetController.html":{"name":"FetchedSetController","abstract":"

    A results controller that does not concern itself with the order of objects, but only their membership to the supplied fetch request.

    "},"Results Controller.html#/s:14CollectionView27ResultsControllerChangeTypeO":{"name":"ResultsControllerChangeType","abstract":"

    The types of changes reported to ResultsControllerDelegate

    "},"Results Controller.html#/s:14CollectionView22ResultsControllerErrorO":{"name":"ResultsControllerError","abstract":"

    Errors thrown by results controllers - unimplimented

    "},"Classes/CollectionViewProvider.html":{"name":"CollectionViewProvider","abstract":"

    A helper object to easily track changes reported by a ResultsController and apply them to a CollectionView

    "},"Classes/CollectionViewResultsProxy.html":{"name":"CollectionViewResultsProxy","abstract":"

    A Helper to

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateHorizontalListLayout(im)collectionView:layout:widthForItemAt:":{"name":"collectionView(_:layout:widthForItemAt:)","abstract":"

    Asks the delegate for the width of the item at a given index path

    ","parent_name":"CollectionViewDelegateHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC15scrollDirectionAA0ab6ScrollG0Ovp":{"name":"scrollDirection","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC016shouldInvalidateE0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0nP0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewHorizontalListLayout"},"Classes/CollectionViewHorizontalListLayout.html#/s:14CollectionView0aB20HorizontalListLayoutC23layoutAttributesForItemAA0abeG0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewHorizontalListLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C9ItemStyleOA2AC_AF04flowE010Foundation9IndexPathV08styleForG2AttF":{"name":"collectionView(_:flowLayout:styleForItemAt:)","abstract":"

    Asks the delegate for the layout style for the item at the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForHeaderInSectiontF":{"name":"collectionView(_:flowLayout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB012CoreGraphics7CGFloatVA2AC_AA0abdE0C04flowE0Si24heightForFooterInSectiontF":{"name":"collectionView(_:flowLayout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer view in a specified section

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0SC12NSEdgeInsetsVA2AC_AA0abdE0C04flowE0Si18insetsForSectionAttF":{"name":"collectionView(_:flowLayout:insetsForSectionAt:)","abstract":"

    Asks the delegate for the insets for the content of the specified index path

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Protocols/CollectionViewDelegateFlowLayout.html#/s:14CollectionView0aB18DelegateFlowLayoutP010collectionB0AA0abdE0C12RowTransformOA2AC_AF04flowE0Si03rowH12ForSectionAttF":{"name":"collectionView(_:flowLayout:rowTransformForSectionAt:)","abstract":"

    Asks the delegate for a transform to apply to the content in each row the specified section, defaults to .none

    ","parent_name":"CollectionViewDelegateFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4flowAESC6CGSizeVcAEmF":{"name":"flow","abstract":"

    Flow items with like other surrounding like-sized items

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout/ItemStyle.html#/s:14CollectionView0aB10FlowLayoutC9ItemStyleO4spanAESC6CGSizeVcAEmF":{"name":"span","abstract":"

    Break from the flow positioning the item in it’s own row

    ","parent_name":"ItemStyle"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    Spacing between flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC15interpanSpacing12CoreGraphics7CGFloatVSgvp":{"name":"interpanSpacing","abstract":"

    Vertical spacing between multiple span elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC22spanGroupSpacingBefore12CoreGraphics7CGFloatVSgvp":{"name":"spanGroupSpacingBefore","abstract":"

    Top spacing between the span elements that are preceded by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21spanGroupSpacingAfter12CoreGraphics7CGFloatVSgvp":{"name":"spanGroupSpacingAfter","abstract":"

    Bottom spacing between span elements that are followed by flow elements

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should be inset to section insets

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14widthOfLastRow12CoreGraphics7CGFloatVSgvp":{"name":"widthOfLastRow","abstract":"

    Only used during layout preparation to reference the width of the previously inserted row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC12RowTransformO":{"name":"RowTransform","abstract":"

    Row transforms can be applied to flow elements that fall within the same row

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout/ItemStyle.html":{"name":"ItemStyle","abstract":"

    Styles for CollectionViewFlowLayout

    ","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewFlowLayout"},"Classes/CollectionViewFlowLayout.html#/s:14CollectionView0aB10FlowLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewFlowLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:numberOfColumnsInSection:":{"name":"collectionView(_:layout:numberOfColumnsInSection:)","abstract":"

    Asks the delegate for the number fo columns in a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to be applied to content of a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:interitemSpacingForSectionAt:":{"name":"collectionView(_:layout:interitemSpacingForSectionAt:)","abstract":"

    Asks the delegate for the item spacing to be applied to items of the same column of a section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionview:layout:columnSpacingForSectionAt:":{"name":"collectionview(_:layout:columnSpacingForSectionAt:)","abstract":"

    Asks the delegate for the column spacing to applied to items in a given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    The height for the item at the given indexPath (Priority 2)

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:aspectRatioForItemAt:":{"name":"collectionView(_:layout:aspectRatioForItemAt:)","abstract":"

    The aspect ration for the item at the given indexPath (Priority 1). Width and height must be greater than 0.

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Protocols/CollectionViewDelegateColumnLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateColumnLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in the given section

    ","parent_name":"CollectionViewDelegateColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19ItemRenderDirectionO":{"name":"ItemRenderDirection","abstract":"

    The method to use when directing items into columns

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC11columnCountSivp":{"name":"columnCount","abstract":"

    The default column count

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC13columnSpacing12CoreGraphics7CGFloatVvp":{"name":"columnSpacing","abstract":"

    The spacing between each column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12headerHeight12CoreGraphics7CGFloatVvp":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12footerHeight12CoreGraphics7CGFloatVvp":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC10itemHeight12CoreGraphics7CGFloatVvp":{"name":"itemHeight","abstract":"

    The default height to apply to all items

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24invalidateOnBoundsChangeSbvp":{"name":"invalidateOnBoundsChange","abstract":"

    If set to true, the layout will invalidate on all bounds changes, if false only on width changes

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC12sectionInsetSC12NSEdgeInsetsVvp":{"name":"sectionInset","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC19itemRenderDirectionAC04ItemfG0Ovp":{"name":"itemRenderDirection","abstract":"

    A hint as to how to render items when deciding which column to place them in

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC9itemWidth12CoreGraphics7CGFloatVvp":{"name":"itemWidth","abstract":"

    the calculated width of items based on the total width and number of columns (read only)

    ","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewColumnLayout"},"Classes/CollectionViewColumnLayout.html#/s:14CollectionView0aB12ColumnLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewColumnLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForItemAt:":{"name":"collectionView(_:layout:heightForItemAt:)","abstract":"

    Asks the delegate for the height of the item at index path

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForHeaderInSection:":{"name":"collectionView(_:layout:heightForHeaderInSection:)","abstract":"

    Asks the delegate for the height of the header in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:heightForFooterInSection:":{"name":"collectionView(_:layout:heightForFooterInSection:)","abstract":"

    Asks the delegate for the height of the footer in a given section.

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:interitemSpacingForItemsInSection:":{"name":"collectionView(_:layout:interitemSpacingForItemsInSection:)","abstract":"

    Asks the delegate for the spacing between items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Protocols/CollectionViewDelegateListLayout.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegateListLayout(im)collectionView:layout:insetForSectionAt:":{"name":"collectionView(_:layout:insetForSectionAt:)","abstract":"

    Asks the delegate for insets to use when laying out items in a given section

    ","parent_name":"CollectionViewDelegateListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC16interitemSpacing12CoreGraphics7CGFloatVvp":{"name":"interitemSpacing","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC10itemHeight12CoreGraphics7CGFloatVvp":{"name":"itemHeight","abstract":"

    The vertical spacing between items in the same column

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12headerHeight12CoreGraphics7CGFloatVvp":{"name":"headerHeight","abstract":"

    The height of section header views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC12footerHeight12CoreGraphics7CGFloatVvp":{"name":"footerHeight","abstract":"

    The height of section footer views

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23insetSupplementaryViewsSbvp":{"name":"insetSupplementaryViews","abstract":"

    If supplementary views should respect section insets or fill the CollectionView width

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC13sectionInsetsSC06NSEdgeF0Vvp":{"name":"sectionInsets","abstract":"

    Default insets for all sections

    ","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC016shouldInvalidateD0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC7prepareyyF":{"name":"prepare()","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC24layoutAttributesForItemsSayAA0abdF0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC23layoutAttributesForItemAA0abdF0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC032layoutAttributesForSupplementaryB0AA0abdF0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0mO0tF":{"name":"scrollRectForItem(at:atPosition:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewListLayout.html#/s:14CollectionView0aB10ListLayoutC20indexPathForNextItem10Foundation05IndexF0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","parent_name":"CollectionViewListLayout"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC9indexPath10Foundation05IndexF0Vvp":{"name":"indexPath","abstract":"

    The index path of the item in the collection view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC26representedElementCategoryAA0afG0Ovp":{"name":"representedElementCategory","abstract":"

    The type of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC22representedElementKindSSSgvp":{"name":"representedElementKind","abstract":"

    The layout-specific identifier for the target view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5frameSC6CGRectVvp":{"name":"frame","abstract":"

    The frame rectangle of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6centerSC7CGPointVvp":{"name":"center","abstract":"

    The center point of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4sizeSC6CGSizeVvp":{"name":"size","abstract":"

    The size of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6boundsSC6CGRectVvp":{"name":"bounds","abstract":"

    The bounds of the item

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC5alpha12CoreGraphics7CGFloatVvp":{"name":"alpha","abstract":"

    The transparency of the item.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6zIndex12CoreGraphics7CGFloatVvp":{"name":"zIndex","abstract":"

    Specifies the item’s position on the z axis.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC6hiddenSbvp":{"name":"hidden","abstract":"

    Determines whether the item is currently displayed.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC8floatingSbvp":{"name":"floating","abstract":"

    Specifies if the item it detached from the scroll view (SupplementaryViews only)

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCAC10Foundation9IndexPathV11forCellWith_tcfc":{"name":"init(forCellWith:)","abstract":"

    Creates and returns a layout attributes object that represents a cell with the specified index path.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesCACSS016forSupplementaryB6OfKind_10Foundation9IndexPathV4withtcfc":{"name":"init(forSupplementaryViewOfKind:with:)","abstract":"

    Creates and returns a layout attributes object that represents the specified supplementary view.

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayoutAttributes.html#/s:14CollectionView0aB16LayoutAttributesC4copyACyF":{"name":"copy()","abstract":"

    Create a copy of the layout attributes

    ","parent_name":"CollectionViewLayoutAttributes"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15scrollDirectionAA0ab6ScrollE0Ovp":{"name":"scrollDirection","abstract":"

    The direction that the collection view should scroll

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC010collectionB11ContentSizeSC6CGSizeVvp":{"name":"collectionViewContentSize","abstract":"

    The size that encapsulates all views within the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC15pinHeadersToTopSbvp":{"name":"pinHeadersToTop","abstract":"

    If supporting views should be pinned to the top of the view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC10invalidateyyF":{"name":"invalidate()","abstract":"

    Currently this is only called when the layout is applied to a collection view.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC016shouldInvalidateC0SbSC6CGRectV15forBoundsChange_tF":{"name":"shouldInvalidateLayout(forBoundsChange:)","abstract":"

    Asks the layout if it should be invalidated due to a bounds change on the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC7prepareyyF":{"name":"prepare()","abstract":"

    Tells the layout object to update the current layout.

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC13allIndexPathsAA10OrderedSetVy10Foundation0E4PathVGvp":{"name":"allIndexPaths","abstract":"

    All the index paths to be displayed by the collection view

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC24layoutAttributesForItemsSayAA0abcE0CGSC6CGRectV2in_tF":{"name":"layoutAttributesForItems(in:)","abstract":"

    Returns the layout attributes for all views in a given rect

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC23layoutAttributesForItemAA0abcE0CSg10Foundation9IndexPathV2at_tF":{"name":"layoutAttributesForItem(at:)","abstract":"

    Returns the layout attributes for an item at the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC032layoutAttributesForSupplementaryB0AA0abcE0CSgSS6ofKind_10Foundation9IndexPathV2attF":{"name":"layoutAttributesForSupplementaryView(ofKind:at:)","abstract":"

    Returns the layout attributes for the supplementary view of the given kind and the given index path

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC14rectForSectionSC6CGRectVSiF":{"name":"rectForSection(_:)","abstract":"

    Returns the frame that encapsulates all the content in the section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC21contentRectForSectionSC6CGRectVSiF":{"name":"contentRectForSection(_:)","abstract":"

    Returns the rect that encapsulates just the items of a section

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC17scrollRectForItemSC6CGRectVSg10Foundation9IndexPathV2at_AA0aB14ScrollPositionO0lN0tF":{"name":"scrollRectForItem(at:atPosition:)","abstract":"

    Provides he layout a chance to adjust the frame to which the collection view should scroll to show an item

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html#/s:14CollectionView0aB6LayoutC20indexPathForNextItem10Foundation05IndexE0VSgAA0aB9DirectionO6moving_AG4fromtF":{"name":"indexPathForNextItem(moving:from:)","abstract":"

    Returns the index path for the next item in a given direction

    ","parent_name":"CollectionViewLayout"},"Classes/CollectionViewLayout.html":{"name":"CollectionViewLayout","abstract":"

    The CollectionViewLayout class is an abstract base class that you subclass and use to generate layout information for a collection view. The job of a layout object is to determine the placement of cells, supplementary views inside the collection view’s bounds and to report that information to the collection view when asked. The collection view then applies the provided layout information to the corresponding views so that they can be presented onscreen.

    "},"Classes/CollectionViewLayoutAttributes.html":{"name":"CollectionViewLayoutAttributes","abstract":"

    An UICollectionViewLayoutAttributes object manages the layout-related attributes for a given item in a collection view. Layout objects create instances of this class when asked to do so by the collection view. In turn, the collection view uses the layout information to position cells and supplementary views inside its bounds.

    "},"Classes/CollectionViewListLayout.html":{"name":"CollectionViewListLayout","abstract":"

    A list layout that makes CollectionView a perfect alternative to NSTableView

    "},"Protocols/CollectionViewDelegateListLayout.html":{"name":"CollectionViewDelegateListLayout","abstract":"

    A vertical list based layout similiar to a native table view

    "},"Classes/CollectionViewColumnLayout.html":{"name":"CollectionViewColumnLayout","abstract":"

    This layout is column based which means you provide the number of columns and cells are placed in the appropriate one. It can be display items all the same size or as a Pinterest style layout.

    "},"Protocols/CollectionViewDelegateColumnLayout.html":{"name":"CollectionViewDelegateColumnLayout","abstract":"

    The delegate for CollectionViewColumnLayout to dynamically customize the layout

    "},"Classes/CollectionViewFlowLayout.html":{"name":"CollectionViewFlowLayout","abstract":"

    A variation of UICollectionViewFlowLayout

    "},"Protocols/CollectionViewDelegateFlowLayout.html":{"name":"CollectionViewDelegateFlowLayout","abstract":"

    CollectionViewDelegateFlowLayout

    "},"Classes/CollectionViewHorizontalListLayout.html":{"name":"CollectionViewHorizontalListLayout","abstract":"

    A full height horizontal scrolling layout

    "},"Protocols/CollectionViewDelegateHorizontalListLayout.html":{"name":"CollectionViewDelegateHorizontalListLayout","abstract":"

    The delegate for CollectionViewHorizontalListLayout

    "},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0AA0aB4CellCAA0abcD0C_10Foundation9IndexPathV13cellForItemAttF":{"name":"collectionViewPreviewController(_:cellForItemAt:)","abstract":"

    Asks the delegate for a cell to use to preview the item at indexPath

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD0SbAA0abcD0C_10Foundation9IndexPathV03canC6ItemAttF":{"name":"collectionViewPreviewController(_:canPreviewItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should be included in the preview.

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewControllerDelegate.html#/s:14CollectionView0aB25PreviewControllerDelegateP010collectionbcD11WillDismissyAA0abcD0CF":{"name":"collectionViewPreviewControllerWillDismiss(_:)","abstract":"

    <#Description#>

    ","parent_name":"CollectionViewPreviewControllerDelegate"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","abstract":"

    Called just before the transition animation to prepare the cell

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","abstract":"

    Called within the animation block in which the cell should moved from the source position to the destination position

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","abstract":"

    Called when the transition from the source has completed and the cell is in it’s final position.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","abstract":"

    Called just before the cell is transitioned back to it’s source

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","abstract":"

    Called within the transition animation block in which the cell should move back to its source.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Protocols/CollectionViewPreviewTransitionCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","abstract":"

    Called when the transition back to the source has completed and the containing preview controller will be removed.

    ","parent_name":"CollectionViewPreviewTransitionCell"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC8delegateAA0abcD8Delegate_pSgXwvp":{"name":"delegate","abstract":"

    A delegate to provide data

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15backgroundColorSo7NSColorCvp":{"name":"backgroundColor","abstract":"

    The background color of the view when the items are displayed

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewController(im)viewDidLoad":{"name":"viewDidLoad()","abstract":"

    CollectionViewDelegatePreviewLayout

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC06sourceaB0A2ACSgvp":{"name":"sourceCollectionView","abstract":"

    The collection view the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC15sourceIndexPath10Foundation0fG0VSgvp":{"name":"sourceIndexPath","abstract":"

    The index path the receiver was presented from

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC16currentIndexPath10Foundation0fG0VSgvp":{"name":"currentIndexPath","abstract":"

    The index path for the currently displayed item

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC18transitionDurationSdvp":{"name":"transitionDuration","abstract":"

    The duration of present/dismiss transitions

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7presentySo06NSViewD0C2in_A2AC6source10Foundation9IndexPathV05indexK0ySbcSg10completiontF":{"name":"present(in:source:indexPath:completion:)","abstract":"

    Present the preview controller, transitioning from an item at indexPath in the source collectionView

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewController.html#/s:14CollectionView0aB17PreviewControllerC7dismissySb8animated_ySbcSg10completiontF":{"name":"dismiss(animated:completion:)","abstract":"

    Dismiss the preview controller, transitioning the current item back to its source

    ","parent_name":"CollectionViewPreviewController"},"Classes/CollectionViewPreviewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewPreviewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"prepareForTransition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV10fromItemAt_A2AC2inAA0aB16LayoutAttributesC2totF":{"name":"transition(fromItemAt:in:to:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV10fromItemAt_A2AC2intF":{"name":"finishTransition(fromItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP010prepareForD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"prepareForTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP10transitiony10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"transition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewPreviewCell.html#/s:14CollectionView0aB21PreviewTransitionCellP06finishD0y10Foundation9IndexPathV8toItemAt_A2AC2intF":{"name":"finishTransition(toItemAt:in:)","parent_name":"CollectionViewPreviewCell"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC19adjustContentInsetsySC06NSEdgeF0VF":{"name":"adjustContentInsets(_:)","abstract":"

    Adjust the layout constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionViewController.html#/s:14CollectionView0aB10ControllerC16adjustConstraintySo08NSLayoutE0C9AttributeO_12CoreGraphics7CGFloatVSg5valuetF":{"name":"adjustConstraint(_:value:)","abstract":"

    Adjust the constraints for the collection view

    ","parent_name":"CollectionViewController"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15reuseIdentifierSSSgvp":{"name":"reuseIdentifier","abstract":"

    A string that identifies the purpose of the view.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C010collectionB0A2ACSgXwvp":{"name":"collectionView","abstract":"

    The collection view the view was dequed in

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C6reusedSbvp":{"name":"reused","abstract":"

    True if the view has been dequed from the reuse pool

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/c:@M@CollectionView@objc(cs)CollectionReusableView(im)prepareForReuse":{"name":"prepareForReuse()","abstract":"

    Performs any clean up necessary to prepare the view for use again.

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15viewWillDisplayyyF":{"name":"viewWillDisplay()","abstract":"

    Called just before the view is added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14viewDidDisplayyyF":{"name":"viewDidDisplay()","abstract":"

    Called just after the view was added to the collection view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15backgroundColorSo7NSColorCSgvp":{"name":"backgroundColor","abstract":"

    The background color of the cell

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C15disableTrackingyyF":{"name":"disableTracking()","abstract":"

    Disable tracking (used for highlighting in cells) for this view

    ","parent_name":"CollectionReusableView"},"Classes/CollectionReusableView.html#/s:14CollectionView0a8ReusableB0C14enableTrackingyyF":{"name":"enableTracking()","abstract":"

    Enable tracking for this view (called by default for cells)

    ","parent_name":"CollectionReusableView"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC11highlightedSbvp":{"name":"highlighted","abstract":"

    The highlight state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8selectedSbvp":{"name":"selected","abstract":"

    The selection state of the cell.

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/c:@M@CollectionView@objc(cs)CollectionViewCell(im)prepareForReuse":{"name":"prepareForReuse()","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC22defaultReuseIdentifierSSvpZ":{"name":"defaultReuseIdentifier","abstract":"

    Provide a reuse identifier for all cells of this class, defaults to the class name

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC8registeryA2AC2in_tFZ":{"name":"register(in:)","abstract":"

    Register a CollectionViewCell subclass to a collection view using the class’s defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Classes/CollectionViewCell.html#/s:14CollectionView0aB4CellC5dequeAC10Foundation9IndexPathV3for_A2AC2intFZ":{"name":"deque(for:in:)","abstract":"

    Deque a cell of this class from a collection view. Uses defaultReuseIdentifier

    ","parent_name":"CollectionViewCell"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:shouldBeginDraggingAt:with:":{"name":"collectionView(_:shouldBeginDraggingAt:with:)","abstract":"

    Asks the delegate if a dragging session should be started

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:validateIndexPathsForDrag:":{"name":"collectionView(_:validateIndexPathsForDrag:)","abstract":"

    Asks the delegate to validate the selected items for drag.

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:willBeginAt:":{"name":"collectionView(_:draggingSession:willBeginAt:)","abstract":"

    Notifies the delegate that a dragging session will begin

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didEndAt:with:draggedIndexPaths:":{"name":"collectionView(_:draggingSession:didEndAt:with:draggedIndexPaths:)","abstract":"

    Notifies the delegate that a dragging session ended

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:draggingSession:didMoveTo:":{"name":"collectionView(_:draggingSession:didMoveTo:)","abstract":"

    Notifies the delegate that a dragging session moved

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEntered:":{"name":"collectionView(_:dragEntered:)","abstract":"

    Asks the delegate for an operation for the drag at its current state when it enters the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragUpdated:":{"name":"collectionView(_:dragUpdated:)","abstract":"

    Asks the delegate for an operation for the drag at its current state as it updates

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragExited:":{"name":"collectionView(_:dragExited:)","abstract":"

    Notifies the delegate that a drag exited the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:dragEnded:":{"name":"collectionView(_:dragEnded:)","abstract":"

    Notifies the delegate that a drag ended in the collection view as a dragging destination

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDragDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDragDelegate(im)collectionView:performDragOperation:":{"name":"collectionView(_:performDragOperation:)","abstract":"

    Asks the delegate to handle the drop in the collection view

    ","parent_name":"CollectionViewDragDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillReloadLayout:":{"name":"collectionViewWillReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view will reload it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidReloadLayout:":{"name":"collectionViewDidReloadLayout(_:)","abstract":"

    Notifies the delegate that the collection view finished reloading it’s layout

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didChangeFirstResponderStatus:":{"name":"collectionView(_:didChangeFirstResponderStatus:)","abstract":"

    Notifies the delegate that the collection view has changed status as first responder

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseMovedToSection:":{"name":"collectionView(_:mouseMovedToSection:)","abstract":"

    Notifies the delegate that the mouse has moved into the frame of a section.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseDownInItemAt:with:":{"name":"collectionView(_:mouseDownInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was clicked down in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:mouseUpInItemAt:with:":{"name":"collectionView(_:mouseUpInItemAt:with:)","abstract":"

    Notifies the delegate that the mouse was released in the specified index path

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldHighlightItemAt:":{"name":"collectionView(_:shouldHighlightItemAt:)","abstract":"

    Asks the delegate if the item at the specified index path should highlight

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldSelectItemsAt:":{"name":"collectionView(_:shouldSelectItemsAt:)","abstract":"

    Asks the delegate to approve the pending selection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didSelectItemsAt:":{"name":"collectionView(_:didSelectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were selected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldDeselectItemsAt:":{"name":"collectionView(_:shouldDeselectItemsAt:)","abstract":"

    Asks the delegate object to approve the pending deselection of items.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDeselectItemsAt:":{"name":"collectionView(_:didDeselectItemsAt:)","abstract":"

    Notifies the delegate object that one or more items were deselected.

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didDoubleClickItemAt:with:":{"name":"collectionView(_:didDoubleClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was double clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didRightClickItemAt:with:":{"name":"collectionView(_:didRightClickItemAt:with:)","abstract":"

    Notifies the delegate that an item was right clicked

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:willDisplaySupplementaryView:ofElementKind:at:":{"name":"collectionView(_:willDisplaySupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view will bw displayed

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingCell:forItemAt:":{"name":"collectionView(_:didEndDisplayingCell:forItemAt:)","abstract":"

    Notifies the delegate that a cell was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didEndDisplayingSupplementaryView:ofElementKind:at:":{"name":"collectionView(_:didEndDisplayingSupplementaryView:ofElementKind:at:)","abstract":"

    Notifies the delegate that a supplementary view was removed from view

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewLayoutAnchor:":{"name":"collectionViewLayoutAnchor(_:)","abstract":"

    Asks the delegate for an index path to anchor when resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndLiveResize:":{"name":"collectionViewDidEndLiveResize(_:)","abstract":"

    Notifies the delegate that the collection view did begin resizing

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:shouldScrollToItemAt:":{"name":"collectionView(_:shouldScrollToItemAt:)","abstract":"

    Asks the delegate if the collection view should scroll to an item

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionView:didScrollToItemAt:":{"name":"collectionView(_:didScrollToItemAt:)","abstract":"

    Notifies the delegate that the collection view did complete a scrolling action

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidScroll:":{"name":"collectionViewDidScroll(_:)","abstract":"

    Notifies the delegate that the collection view was scrolled

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewWillBeginScrolling:animated:":{"name":"collectionViewWillBeginScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view will begin scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDelegate.html#/c:@M@CollectionView@objc(pl)CollectionViewDelegate(im)collectionViewDidEndScrolling:animated:":{"name":"collectionViewDidEndScrolling(_:animated:)","abstract":"

    Notifies the delegate that the collection view did end scrolling

    ","parent_name":"CollectionViewDelegate"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)numberOfSectionsIn:":{"name":"numberOfSections(in:)","abstract":"

    Asks your data source for the number of sections in the collectin view

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:numberOfItemsInSection:":{"name":"collectionView(_:numberOfItemsInSection:)","abstract":"

    Asks your data source object for the number of items in the specified section.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:cellForItemAt:":{"name":"collectionView(_:cellForItemAt:)","abstract":"

    Asks your data source object for the cell that corresponds to the specified item in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:viewForSupplementaryElementOfKind:at:":{"name":"collectionView(_:viewForSupplementaryElementOfKind:at:)","abstract":"

    Asks your data source object to provide a supplementary view to display in the collection view.

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:pasteboardWriterForItemAt:":{"name":"collectionView(_:pasteboardWriterForItemAt:)","abstract":"

    Asks your data source for a pasteboard writing for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragContentsForItemAt:":{"name":"collectionView(_:dragContentsForItemAt:)","abstract":"

    Asks the data source for the drag contents for the item at the specified index path

    ","parent_name":"CollectionViewDataSource"},"Protocols/CollectionViewDataSource.html#/c:@M@CollectionView@objc(pl)CollectionViewDataSource(im)collectionView:dragRectForItemAt:withStartingRect:":{"name":"collectionView(_:dragRectForItemAt:withStartingRect:)","abstract":"

    Asks the data source to validate the drag rect for an item to be dragged, allowing for adjustment.

    ","parent_name":"CollectionViewDataSource"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)delegate":{"name":"delegate","abstract":"

    The object that acts as the delegate to the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10dataSourceAA0ab4DataD0_pSgXwvp":{"name":"dataSource","abstract":"

    The object that provides data for the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015contentDocumentB0AA0abdB0Cvp":{"name":"contentDocumentView","abstract":"

    The content view in which all cells and views are displayed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0aB4CellCm5class_SS03forD19WithReuseIdentifiertF":{"name":"register(class:forCellWithReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS26forCellWithReuseIdentifiertF":{"name":"register(nib:forCellWithReuseIdentifier:)","abstract":"

    Register a nib to be loaded as reusable cells

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registeryAA0a8ReusableB0Cm5class_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(class:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a class to be initialized when loading reusable supplementary views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8registerySo5NSNibC3nib_SS016forSupplementaryB6OfKindSS19withReuseIdentifiertF":{"name":"register(nib:forSupplementaryViewOfKind:withReuseIdentifier:)","abstract":"

    Register a nib to be loaded as a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19dequeueReusableCellAA0abE0CSS19withReuseIdentifier_10Foundation9IndexPathV3fortF":{"name":"dequeueReusableCell(withReuseIdentifier:for:)","abstract":"

    Retrieve a cell for a given reuse identifier and index path.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC028dequeueReusableSupplementaryB0AA0adB0CSS6ofKind_SS19withReuseIdentifier10Foundation9IndexPathV3fortF":{"name":"dequeueReusableSupplementaryView(ofKind:withReuseIdentifier:for:)","abstract":"

    Returns a reusable supplementary view located by its identifier and kind.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC015floatingContentB0So6NSViewCvp":{"name":"floatingContentView","abstract":"

    A view atop the collection view used to display non-scrolling accessory views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC012addAccessoryB0ySo6NSViewCF":{"name":"addAccessoryView(_:)","abstract":"

    Adds the given view to the floating content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16numberOfSectionsSivp":{"name":"numberOfSections","abstract":"

    Returns the number of sections displayed by the collection view.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13numberOfItemsS2i2in_tF":{"name":"numberOfItems(in:)","abstract":"

    Returns the number of items in the specified section.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10reloadDatayyF":{"name":"reloadData()","abstract":"

    Reloads all the data and views in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC010collectionB6LayoutAA0abD0Cvp":{"name":"collectionViewLayout","abstract":"

    The layout used to organize the collected view’s items.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18contentVisibleRectSC6CGRectVvp":{"name":"contentVisibleRect","abstract":"

    The visible rect of the document view that is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/c:@M@CollectionView@objc(cs)CollectionView(py)contentSize":{"name":"contentSize","abstract":"

    The total size of all items/views

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13contentOffsetSC7CGPointVvp":{"name":"contentOffset","abstract":"

    The offset of the content view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10prepareAllSbvp":{"name":"prepareAll","abstract":"

    Force layout of all items, not just those in the visible content area

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15frameForSectionSC6CGRectVSgSi2at_tF":{"name":"frameForSection(at:)","abstract":"

    Returns the frame for the specified section

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24reloadDataOnBoundsChangeSbvp":{"name":"reloadDataOnBoundsChange","abstract":"

    Reload the data (section & item counts) when the collectionView bounds change. Defaults to false.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12reloadLayoutySb_AA0aB14ScrollPositionO06scrollF0ySbcSg10completiontF":{"name":"reloadLayout(_:scrollPosition:completion:)","abstract":"

    Reload the collection view layout and apply the updated frames to the cells/views.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11isScrollingSbvp":{"name":"isScrolling","abstract":"

    Returns true if the collection view is currently scrolling

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14scrollVelocitySC7CGPointVvp":{"name":"scrollVelocity","abstract":"

    Returns the current velocity of a scroll in points/second

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18peakScrollVelocitySC7CGPointVvp":{"name":"peakScrollVelocity","abstract":"

    Returns the peak valocity of a scroll during the last scrolling session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathsForVisibleSectionsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForVisibleSections","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC28indexPathForFirstVisibleItem10Foundation05IndexD0VSgvp":{"name":"indexPathForFirstVisibleItem","abstract":"

    Returns the lowest index path of all visible items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC29_indexPathForFirstVisibleItem10Foundation05IndexD0VSgvp":{"name":"_indexPathForFirstVisibleItem","abstract":"

    Same as indexPathForFirstVisibleItem but doesn’t ask the delegate for a suggestion. This is a convenient variable to use in collectionViewLayoutAnchor(_:) but asking the delegate within is not possibe.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17animationDurationSdvp":{"name":"animationDuration","abstract":"

    The duration of animations when performing animated layout changes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19performBatchUpdatesyyyc_ySbcSg10completiontF":{"name":"performBatchUpdates(_:completion:)","abstract":"

    Perform multiple updates to be applied together

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14insertSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"insertSections(_:animated:)","abstract":"

    Insert sections at the given indexes

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14deleteSectionsy10Foundation8IndexSetV_Sb8animatedtF":{"name":"deleteSections(_:animated:)","abstract":"

    Remove sections and their items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11moveSectionySi_Si2toSb8animatedtF":{"name":"moveSection(_:to:animated:)","abstract":"

    Move a section and its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11insertItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"insertItems(at:animated:)","abstract":"

    Insert items at specific index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11deleteItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"deleteItems(at:animated:)","abstract":"

    Deletes the items at the specified index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11reloadItemsySay10Foundation9IndexPathVG2at_Sb8animatedtF":{"name":"reloadItems(at:animated:)","abstract":"

    Reload the items and the given index paths.

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC8moveItemy10Foundation9IndexPathV2at_AF2toSb8animatedtF":{"name":"moveItem(at:to:animated:)","abstract":"

    Moves the item from it’s current index path to another

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC17trackSectionHoverSbvp":{"name":"trackSectionHover","abstract":"

    If true, the delegate’s collectionView(_:,mouseMovedToSection:) will be notified when the cursor is within a section frame

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC15allowsSelectionSbvp":{"name":"allowsSelection","abstract":"

    If the collection view should allow selection of its items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13SelectionModeO":{"name":"SelectionMode","abstract":"

    Determine how item selections are managed

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13selectionModeAB09SelectionD0Ovp":{"name":"selectionMode","abstract":"

    Determines what happens when an item is clicked

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC23allowsMultipleSelectionSbvp":{"name":"allowsMultipleSelection","abstract":"

    Allows the selection of multiple items via modifier keys (command & shift) (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC20allowsEmptySelectionSbvp":{"name":"allowsEmptySelection","abstract":"

    If true, clicking empty space will deselect all items (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14notifyDelegateSbvp":{"name":"notifyDelegate","abstract":"

    If true, programatic changes will be reported to the delegate (i.e. selections)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16repeatSelectionsSbvp":{"name":"repeatSelections","abstract":"

    If true, selecting an already selected item will notify the delegate (default true)

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC27indexPathForHighlightedItem10Foundation05IndexD0VSgvp":{"name":"indexPathForHighlightedItem","abstract":"

    The index path of the highlighted item, if any

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13highlightItemy10Foundation9IndexPathVSg2at_Sb8animatedtF":{"name":"highlightItem(at:animated:)","abstract":"

    Manually set the highlighted item reguardless of the cursor location

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForSelectedItemss3SetVy10Foundation9IndexPathVGvp":{"name":"indexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC32sortedIndexPathsForSelectedItemsSay10Foundation0D4PathVGvp":{"name":"sortedIndexPathsForSelectedItems","abstract":"

    Returns the index paths for all selected items ordered from first to last

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25itemAtIndexPathIsSelectedSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsSelected(_:)","abstract":"

    Returns if the item at a given index path is selected

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC14selectAllItemsySbF":{"name":"selectAllItems(_:)","abstract":"

    Selects all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10selectItemy10Foundation9IndexPathV2at_Sb8animatedAA0aB14ScrollPositionO06scrollK0tF":{"name":"selectItem(at:animated:scrollPosition:)","abstract":"

    Select an item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11selectItemsyx2at_Sb8animatedAA0aB14ScrollPositionO06scrollH0ts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"selectItems(at:animated:scrollPosition:)","abstract":"

    Select the items at the given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC13deselectItemsyx2at_Sb8animatedts0A0Rz10Foundation9IndexPathV7ElementRtzlF":{"name":"deselectItems(at:animated:)","abstract":"

    Deselect cells at given index paths

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16deselectAllItemsySbF":{"name":"deselectAllItems(_:)","abstract":"

    Deselect all items in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12deselectItemy10Foundation9IndexPathV2at_Sb8animatedtF":{"name":"deselectItem(at:animated:)","abstract":"

    Deselect the item at a given index path

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12visibleCellsSayAA0aB4CellCGvp":{"name":"visibleCells","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25indexPathsForVisibleItemsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForVisibleItems","abstract":"

    Returns the index paths for all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC24itemAtIndexPathIsVisibleSb10Foundation0eF0VF":{"name":"itemAtIndexPathIsVisible(_:)","abstract":"

    Returns true if the item at the index path is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC11cellForItemAA0aB4CellCSg10Foundation9IndexPathV2at_tF":{"name":"cellForItem(at:)","abstract":"

    Returns the cell at a given index path if it is visible

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0aB4CellC3for_tF":{"name":"indexPath(for:)","abstract":"

    Returns the index path for a cell in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC16indexPathForItem10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForItem(at:)","abstract":"

    Returns a index path for the item at a given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC7CGPointV4near_12CoreGraphics7CGFloatV6radiustF":{"name":"firstIndexPathForItem(near:radius:)","abstract":"

    Returns the first index path within a given distance of a point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC21firstIndexPathForItem10Foundation0dE0VSgSC6CGRectV2in_tF":{"name":"firstIndexPathForItem(in:)","abstract":"

    Returns the first index path found intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18indexPathsForItemsSay10Foundation9IndexPathVGSC6CGRectV2in_tF":{"name":"indexPathsForItems(in:)","abstract":"

    Returns all items intersecting a given rect

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC19indexPathForSection10Foundation05IndexD0VSgSC7CGPointV2at_tF":{"name":"indexPathForSection(at:)","abstract":"

    Returns the indexPath for the section that contains the given point

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC25visibleSupplementaryViewsSayAA0a8ReusableB0CGvp":{"name":"visibleSupplementaryViews","abstract":"

    Returns all visible cells in the collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC9indexPath10Foundation05IndexD0VSgAA0a8ReusableB0C016forSupplementaryB0_tF":{"name":"indexPath(forSupplementaryView:)","abstract":"

    Returns the index path for a supplementary view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC18supplementaryViewsAA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryViews(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC013supplementaryB0AA0a8ReusableB0CSgSS14forElementKind_10Foundation9IndexPathV2attF":{"name":"supplementaryView(forElementKind:at:)","abstract":"

    Returns the visible supplementary view of the given kind at indexPath

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollItemy10Foundation9IndexPathV2at_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollItem(at:to:animated:completion:)","abstract":"

    Scroll an item into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC10scrollRectySC6CGRectV_AA0aB14ScrollPositionO2toSb8animatedySbcSg10completiontF":{"name":"scrollRect(_:to:animated:completion:)","abstract":"

    Scroll an given rect into view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC26indexPathsForDraggingItemsSay10Foundation9IndexPathVGvp":{"name":"indexPathsForDraggingItems","abstract":"

    The index paths for items included in the currect dragging session

    ","parent_name":"CollectionView"},"Classes/CollectionView.html#/s:14CollectionViewAAC12applyChangesyAA0aB12ResultsProxyC4from_ySbcSg10completiontF":{"name":"applyChanges(from:completion:)","abstract":"

    Apply all changes in a change set to a collection view

    ","parent_name":"CollectionView"},"Classes/CollectionView.html":{"name":"CollectionView","abstract":"

    A Collection View manages the presentation of items, your app’s main job is to provide the data that those items are to represent.

    "},"Protocols/CollectionViewDataSource.html":{"name":"CollectionViewDataSource","abstract":"

    The CollectionViewDataSource is responsible for providing the data and views required by a collection view

    "},"Protocols/CollectionViewDelegate.html":{"name":"CollectionViewDelegate","abstract":"

    The CollectionViewDelegate protocol defines methods that allow you to manage the status, selection, highlighting, and scrolling of items in a collection view and to perform actions on those items. The methods of this protocol are all optional.

    "},"Protocols/CollectionViewDragDelegate.html":{"name":"CollectionViewDragDelegate","abstract":"

    The CollectionViewDragDelegate forwards system drag functions to the delegate in the context of a Collection View.

    "},"Classes/CollectionViewCell.html":{"name":"CollectionViewCell","abstract":"

    A CollectionViewCell object presents the content for a single data item when that item is within the collection view’s visible bounds. You can use this class as-is or subclass it to add additional properties and methods. The layout and presentation of cells is managed by the collection view and its corresponding layout object.

    "},"Classes/CollectionReusableView.html":{"name":"CollectionReusableView","abstract":"

    The CollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view. Reusable views are so named because the collection view places them on a reuse queue rather than deleting them when they are scrolled out of the visible bounds. Such a view can then be retrieved and repurposed for a different set of content.

    "},"Classes/CollectionViewController.html":{"name":"CollectionViewController","abstract":"

    The UICollectionViewController class represents a view controller whose content consists of a collection view.

    "},"Collection View.html#/s:14CollectionView0aB17LayoutElementKindV":{"name":"CollectionViewLayoutElementKind","abstract":"

    CollectionViewLayoutElementKind

    "},"Collection View.html#/s:14CollectionView0A15ElementCategoryO":{"name":"CollectionElementCategory","abstract":"

    CollectionElementCategory

    "},"Collection View.html#/s:14CollectionView0aB9DirectionO":{"name":"CollectionViewDirection","abstract":"

    CollectionViewDirection

    "},"Collection View.html#/s:14CollectionView0aB15ScrollDirectionO":{"name":"CollectionViewScrollDirection","abstract":"

    CollectionViewScrollDirection

    "},"Collection View.html#/s:14CollectionView0aB14ScrollPositionO":{"name":"CollectionViewScrollPosition","abstract":"

    CollectionViewScrollPosition

    "},"Classes/CollectionViewPreviewCell.html":{"name":"CollectionViewPreviewCell","abstract":"

    A default implementation of CollectionViewPreviewTransitionCell

    "},"Classes/CollectionViewPreviewController.html":{"name":"CollectionViewPreviewController","abstract":"

    An easy to use CollectionViewController that transitions from a source collection view.

    "},"Protocols/CollectionViewPreviewTransitionCell.html":{"name":"CollectionViewPreviewTransitionCell","abstract":"

    A protocol for CollectionViewCells that need to customize their transition when used in CollectionViewPreviewController.

    "},"Protocols/CollectionViewPreviewControllerDelegate.html":{"name":"CollectionViewPreviewControllerDelegate","abstract":"

    a CollectionViewPreviewControllerDelegate is responsible for providing data to a CollectionViewPreviewController.

    "},"Collection View.html#/s:14CollectionView19AnimationCompletiona":{"name":"AnimationCompletion","abstract":"

    AnimationCompletion

    "},"introduction.html":{"name":"Introduction"},"basic-setup.html":{"name":"Basic Setup"},"supplementary-views.html":{"name":"Supplementary Views"},"layouts.html":{"name":"Layouts"},"drag--drop.html":{"name":"Drag & Drop"},"content-updates.html":{"name":"Content Updates"},"results-controller.html":{"name":"Results Controller"},"Guides.html":{"name":"Guides"},"Collection View.html":{"name":"Collection View"},"Collection View Layouts.html":{"name":"Collection View Layouts"},"Results Controller.html":{"name":"Results Controller"},"Other Enums.html":{"name":"Other Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Other Extensions.html":{"name":"Other Extensions","abstract":"

    The following extensions are available globally.

    "},"Other Protocols.html":{"name":"Other Protocols","abstract":"

    The following protocols are available globally.

    "},"Other Structs.html":{"name":"Other Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file diff --git a/docs/supplementary-views.html b/docs/supplementary-views.html index 79fc091..49dd7c3 100644 --- a/docs/supplementary-views.html +++ b/docs/supplementary-views.html @@ -217,7 +217,7 @@ Other Enumerations @@ -310,8 +310,8 @@

    Dequeing Cells

    diff --git a/docs/undocumented.json b/docs/undocumented.json index b077d17..ad09892 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -1,1601 +1,1650 @@ { "warnings": [ { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ClipView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ClipView.swift", "line": 15, "symbol": "ClipView", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 56, "symbol": "CollectionView.mouseDownCanMoveWindow", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 83, "symbol": "CollectionView.init()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 93, "symbol": "CollectionView.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 135, "symbol": "CollectionView.scrollerStyle", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 142, "symbol": "CollectionView.wantsUpdateLayer", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 144, "symbol": "CollectionView.updateLayer()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 150, "symbol": "CollectionView.leadingView", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 527, "symbol": "CollectionView.frameForSection(at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 531, "symbol": "CollectionView.layoutAttributesForItem(at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 540, "symbol": "CollectionView.layoutAttributesForSupplementaryView(ofKind:at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 587, "symbol": "CollectionView.layout()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 752, "symbol": "CollectionView.viewWillStartLiveResize()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 767, "symbol": "CollectionView.viewDidEndLiveResize()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 780, "symbol": "CollectionView.isCompatibleWithResponsiveScrolling", "symbol_kind": "source.lang.swift.decl.var.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 782, "symbol": "CollectionView.isScrollEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 960, "symbol": "CollectionView.SectionMove", "symbol_kind": "source.lang.swift.decl.typealias", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 962, "symbol": "CollectionView.reloadSupplementaryViews(in:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 1043, "symbol": "CollectionView.Move", "symbol_kind": "source.lang.swift.decl.typealias", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", "line": 1108, "symbol": "CollectionView.moveItems(_:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1473, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1484, "symbol": "CollectionView.updateTrackingAreas()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1477, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1488, "symbol": "CollectionView.mouseExited(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1483, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1494, "symbol": "CollectionView.mouseMoved(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1496, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1507, "symbol": "CollectionView.acceptsFirstResponder", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1497, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1508, "symbol": "CollectionView.acceptsFirstMouse(for:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1498, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1509, "symbol": "CollectionView.becomeFirstResponder()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1504, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1515, "symbol": "CollectionView.resignFirstResponder()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1522, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1533, "symbol": "CollectionView.mouseDown(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1541, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1552, "symbol": "CollectionView.mouseUp(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1566, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1577, "symbol": "CollectionView.rightMouseDown(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1580, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1591, "symbol": "CollectionView.keySelectInterval", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1582, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1593, "symbol": "CollectionView.repeatKey", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1584, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1595, "symbol": "CollectionView.keyDown(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1608, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1619, "symbol": "CollectionView.keyUp(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1613, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1624, "symbol": "CollectionView.moveSelectionLeft(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1616, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1627, "symbol": "CollectionView.moveSelectionRight(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1619, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1630, "symbol": "CollectionView.moveSelectionUp(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1622, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1633, "symbol": "CollectionView.moveSelectionDown(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1651, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1662, "symbol": "CollectionView.SelectionMode.default", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1652, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1663, "symbol": "CollectionView.SelectionMode.toggle", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1785, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1796, "symbol": "CollectionView.selectItems(at:animated:scrollPosition:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 1808, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 1819, "symbol": "CollectionView.deselectItems(at:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2334, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2345, "symbol": "CollectionView.cancelScrollAnimation()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2339, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2350, "symbol": "CollectionView.scrollToTop(animated:completion:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2359, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2370, "symbol": "CollectionView._scrollItem(at:to:animated:prepare:completion:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2492, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2503, "symbol": "CollectionView.isDragging", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2494, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2505, "symbol": "CollectionView.mouseDragged(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2568, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2579, "symbol": "CollectionView.draggingSession(_:sourceOperationMaskFor:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2573, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2584, "symbol": "CollectionView.draggingSession(_:willBeginAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2577, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2588, "symbol": "CollectionView.draggingSession(_:movedTo:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2586, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2597, "symbol": "CollectionView.draggingSession(_:endedAt:operation:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2599, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2610, "symbol": "CollectionView.draggingEntered(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2605, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2616, "symbol": "CollectionView.draggingExited(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2609, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2620, "symbol": "CollectionView.draggingEnded(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2612, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2623, "symbol": "CollectionView.draggingUpdated(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2619, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2630, "symbol": "CollectionView.performDragOperation(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2628, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2639, "symbol": "CollectionView.isAutoscrollEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2629, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2640, "symbol": "CollectionView.autoscrollSize", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", - "line": 2680, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionView.swift", + "line": 2691, "symbol": "CollectionView.fillSize", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 20, "symbol": "CollectionReusableView.init(frame:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 25, "symbol": "CollectionReusableView.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 81, "symbol": "CollectionReusableView.apply(_:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 99, "symbol": "CollectionReusableView.useMask", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 101, "symbol": "CollectionReusableView.updateLayer()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 112, "symbol": "CollectionReusableView.draw(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 129, "symbol": "CollectionReusableView.trackingOptions", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 131, "symbol": "CollectionReusableView.trackMouseMoved", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 158, "symbol": "CollectionReusableView.updateTrackingAreas()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 176, "symbol": "CollectionViewCell.acceptsFirstMouse(for:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 180, "symbol": "CollectionViewCell.init(frame:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 185, "symbol": "CollectionViewCell.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 210, "symbol": "CollectionViewCell.setSelected(_:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 214, "symbol": "CollectionViewCell.setHighlighted(_:animated:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 231, "symbol": "CollectionViewCell.mouseEntered(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewCells.swift", "line": 254, "symbol": "CollectionViewCell.mouseExited(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 146, "symbol": "CollectionViewLayoutElementKind.SectionHeader", "symbol_kind": "source.lang.swift.decl.var.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 147, "symbol": "CollectionViewLayoutElementKind.SectionFooter", "symbol_kind": "source.lang.swift.decl.var.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 178, "symbol": "CollectionViewColumnLayout.ItemRenderDirection.shortestFirst", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 179, "symbol": "CollectionViewColumnLayout.ItemRenderDirection.leftToRight", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 180, "symbol": "CollectionViewColumnLayout.ItemRenderDirection.rightToLeft", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 216, "symbol": "CollectionViewColumnLayout.numberOfColumnsInSection(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 253, "symbol": "CollectionViewColumnLayout.init()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewColumnLayout.swift", "line": 553, "symbol": "CollectionViewColumnLayout.indexPathsForItems(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", "line": 19, "symbol": "CollectionViewController.collectionView", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", "line": 21, "symbol": "CollectionViewController.loadView()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewController.swift", "line": 28, "symbol": "CollectionViewController.viewDidLoad()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewDocumentView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewDocumentView.swift", "line": 105, "symbol": "CollectionViewDocumentView", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 198, "symbol": "CollectionViewFlowLayout.defaultItemStyle", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 199, "symbol": "CollectionViewFlowLayout.defaultFooterHeight", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 200, "symbol": "CollectionViewFlowLayout.defaultHeaderHeight", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 201, "symbol": "CollectionViewFlowLayout.defaultRowTransform", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 202, "symbol": "CollectionViewFlowLayout.defaultSectionInsets", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 223, "symbol": "CollectionViewFlowLayout.RowTransform.none", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 224, "symbol": "CollectionViewFlowLayout.RowTransform.center", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 225, "symbol": "CollectionViewFlowLayout.RowTransform.fill", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewFlowLayout.swift", "line": 599, "symbol": "CollectionViewFlowLayout.indexPathsForItems(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", "line": 42, "symbol": "CollectionViewHorizontalListLayout.sectionInsets", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", "line": 43, "symbol": "CollectionViewHorizontalListLayout.itemWidth", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", "line": 44, "symbol": "CollectionViewHorizontalListLayout.itemSpacing", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", "line": 117, "symbol": "CollectionViewHorizontalListLayout.indexPathsForItems(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewHorizontalLayout.swift", "line": 140, "symbol": "HorizontalCollectionView", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewLayout.swift", "line": 20, "symbol": "CollectionViewLayout.collectionView", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewLayout.swift", "line": 99, "symbol": "CollectionViewLayout.indexPathsForItems(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewListLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewListLayout.swift", "line": 132, "symbol": "CollectionViewListLayout.init()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewListLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewListLayout.swift", "line": 277, "symbol": "CollectionViewListLayout.indexPathsForItems(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", "line": 117, "symbol": "CollectionViewPreviewCell.TransitionState", "symbol_kind": "source.lang.swift.decl.enum", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", "line": 124, "symbol": "CollectionViewPreviewCell.transitionState", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewCell.swift", "line": 125, "symbol": "CollectionViewPreviewCell.isTransitioning", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 53, "symbol": "CollectionViewPreviewControllerDelegate.collectionViewPreview(_:didMoveToItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 160, "symbol": "CollectionViewPreviewController.loadView()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 168, "symbol": "CollectionViewPreviewController.init()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 172, "symbol": "CollectionViewPreviewController.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 229, "symbol": "CollectionViewPreviewController.isEmpty", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 233, "symbol": "CollectionViewPreviewController.reloadData()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 237, "symbol": "CollectionViewPreviewController.keyUp(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 241, "symbol": "CollectionViewPreviewController.cancelOperation(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 244, "symbol": "CollectionViewPreviewController.insertText(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 247, "symbol": "CollectionViewPreviewController.doCommand(by:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 273, "symbol": "CollectionViewPreviewController.layoutConstraintConfiguration", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 400, "symbol": "CollectionViewPreviewController.numberOfSections(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 404, "symbol": "CollectionViewPreviewController.collectionView(_:numberOfItemsInSection:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 409, "symbol": "CollectionViewPreviewController.previewLayout(_:canPreviewItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 413, "symbol": "CollectionViewPreviewController.collectionView(_:cellForItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 419, "symbol": "CollectionViewPreviewController.collectionView(_:didSelectItemsAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 428, "symbol": "CollectionViewPreviewController.interactiveGestureEnabled", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 432, "symbol": "CollectionViewPreviewController.wantsScrollEventsForSwipeTracking(on:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 436, "symbol": "CollectionViewPreviewController.wantsForwardedScrollEvents(for:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewController.swift", "line": 441, "symbol": "CollectionViewPreviewController.scrollWheel(with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewLayout.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewPreviewLayout.swift", "line": 18, "symbol": "CollectionViewPreviewLayout", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": null, + "symbol": "CollectionViewProviderDelegate", + "symbol_kind": "source.lang.swift.decl.extension", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 49, + "symbol": "CollectionViewResultsProxy.didInsertSection(at:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 53, + "symbol": "CollectionViewResultsProxy.didInsertObject(at:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 61, + "symbol": "CollectionViewResultsProxy.itemChangeCount", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 64, + "symbol": "CollectionViewResultsProxy.sectionChangeCount", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 69, + "symbol": "CollectionViewResultsProxy.prepareForUpdates()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 92, + "symbol": "CollectionViewProviderDelegate", + "symbol_kind": "source.lang.swift.decl.protocol", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 114, + "symbol": "CollectionViewProvider.resultsController", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 115, + "symbol": "CollectionViewProvider.delegate", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 120, + "symbol": "CollectionViewProvider.init(_:resultsController:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 177, + "symbol": "CollectionViewProvider.defaultCollapse", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 179, + "symbol": "CollectionViewProvider.prepareForUpdates()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 206, + "symbol": "CollectionViewProvider.isSectionCollapsed(at:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 210, + "symbol": "CollectionViewProvider.collapseSection(at:animated:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 217, + "symbol": "CollectionViewProvider.expandSection(at:animated:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 229, + "symbol": "CollectionViewProvider.numberOfSections", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 237, + "symbol": "CollectionViewProvider.numberOfItems(in:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 251, + "symbol": "CollectionViewProvider.showEmptyState", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 256, + "symbol": "CollectionViewProvider.showEmptySection(at:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CollectionViewProvider.swift", + "line": 421, + "symbol": "CollectionViewResultsProxy.removeAll()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 23, "symbol": "CollectionElementCategory.cell", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 24, "symbol": "CollectionElementCategory.supplementaryView", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 35, "symbol": "CollectionViewScrollPosition.none", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 36, "symbol": "CollectionViewScrollPosition.nearest", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 37, "symbol": "CollectionViewScrollPosition.leading", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 38, "symbol": "CollectionViewScrollPosition.centered", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 39, "symbol": "CollectionViewScrollPosition.trailing", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 61, "symbol": "CollectionViewScrollDirection.vertical", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 62, "symbol": "CollectionViewScrollDirection.horizontal", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 74, "symbol": "CollectionViewDirection.left", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 75, "symbol": "CollectionViewDirection.right", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 76, "symbol": "CollectionViewDirection.up", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Constants.swift", "line": 77, "symbol": "CollectionViewDirection.down", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CoreDataResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/CoreDataResultsController.swift", "line": 260, "symbol": "RelationalResultsController.init(context:request:sectionRequest:sectionKeyPath:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/CustomDiff.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/CustomDiff.swift", "line": 12, "symbol": "CVDiff", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/DiffAware.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/DiffAware.swift", "line": 11, "symbol": "DiffAware", "symbol_kind": "source.lang.swift.decl.protocol", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": null, "symbol": "EditDistance", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": 13, "symbol": "EditOperation", "symbol_kind": "source.lang.swift.decl.enum", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": 34, "symbol": "Edit", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": 85, "symbol": "ChangeSetOptions", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "line": 95, + "symbol": "HashedIndexedSet", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": 98, "symbol": "EditOperationIndex", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/EditDistance.swift", "line": 180, "symbol": "EditDistance", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/Heckel.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/Heckel.swift", "line": 5, "symbol": "Heckel", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/WagnerFischer.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/EditDistance/WagnerFischer.swift", "line": 5, "symbol": "WagnerFischer", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", + "line": null, + "symbol": "IndexedSet", + "symbol_kind": "source.lang.swift.decl.extension", + "warning": "undocumented" + }, + { + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", "line": 12, "symbol": "IndexedSet", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", - "line": 167, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", + "line": 170, "symbol": "Array.indexedSet", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", - "line": 177, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/IndexedSet.swift", + "line": 180, "symbol": "Collection.indexedSet", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", "line": null, "symbol": "OrderedSet", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", "line": null, "symbol": "OrderedSet", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", "line": 18, "symbol": "OrderedSet", "symbol_kind": "source.lang.swift.decl.struct", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/OrderedSet.swift", "line": 344, "symbol": "Collection.orderedSet(using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", "line": 19, "symbol": "SortDescriptorResult.same", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", "line": 20, "symbol": "SortDescriptorResult.ascending", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", "line": 21, "symbol": "SortDescriptorResult.descending", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 28, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 34, "symbol": "SortDescriptor.ascending", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 66, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 72, "symbol": "SortDescriptor.ascending", "symbol_kind": "source.lang.swift.decl.var.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 73, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 79, "symbol": "SortDescriptor.descending", "symbol_kind": "source.lang.swift.decl.var.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 107, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 113, "symbol": "Array.sort(using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 113, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 119, "symbol": "Array.sort(using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 130, + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 136, "symbol": "Array.insert(_:using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", - "line": 145, - "symbol": "Sequence.sorted(using:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", "line": 151, "symbol": "Sequence.sorted(using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": null, - "symbol": "CollectionViewProviderDelegate", - "symbol_kind": "source.lang.swift.decl.extension", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 49, - "symbol": "CollectionViewResultsProxy.didInsertSection(at:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 53, - "symbol": "CollectionViewResultsProxy.didInsertObject(at:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 61, - "symbol": "CollectionViewResultsProxy.itemChangeCount", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 64, - "symbol": "CollectionViewResultsProxy.sectionChangeCount", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 69, - "symbol": "CollectionViewResultsProxy.prepareForUpdates()", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 92, - "symbol": "CollectionViewProviderDelegate", - "symbol_kind": "source.lang.swift.decl.protocol", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 114, - "symbol": "CollectionViewProvider.resultsController", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 115, - "symbol": "CollectionViewProvider.delegate", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 120, - "symbol": "CollectionViewProvider.init(_:resultsController:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 160, - "symbol": "CollectionViewProvider.numberOfSections", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 168, - "symbol": "CollectionViewProvider.numberOfItems(in:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 179, - "symbol": "CollectionViewProvider.showEmptyState", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 184, - "symbol": "CollectionViewProvider.showEmptySection(at:)", - "symbol_kind": "source.lang.swift.decl.function.method.instance", - "warning": "undocumented" - }, - { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DelegateChangeSets.swift", - "line": 243, - "symbol": "CollectionViewResultsProxy.removeAll()", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/DataStructures/SortDescriptor.swift", + "line": 157, + "symbol": "Sequence.sorted(using:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/FetchedSetController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/FetchedSetController.swift", "line": 12, "symbol": "FetchedSetControllerChangeType", "symbol_kind": "source.lang.swift.decl.enum", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/FetchedSetController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/FetchedSetController.swift", "line": 20, "symbol": "FetchedSetControllerDelegate", "symbol_kind": "source.lang.swift.decl.protocol", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 73, "symbol": "IndexPath.zero", "symbol_kind": "source.lang.swift.decl.var.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 85, "symbol": "IndexPath.inRange(_:section:)", "symbol_kind": "source.lang.swift.decl.function.method.static", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 93, "symbol": "IndexPath.previous", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 97, "symbol": "IndexPath.next", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 100, "symbol": "IndexPath.nextSection", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 104, "symbol": "IndexPath.sectionCopy", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 108, "symbol": "IndexPath.with(item:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 111, "symbol": "IndexPath.with(section:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 115, "symbol": "IndexPath.adjustingItem(by:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 118, "symbol": "IndexPath.adjustingSection(by:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 122, "symbol": "IndexPath.isBetween(_:end:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 201, "symbol": "CGPoint.maxAbsVelocity", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Helpers.swift", "line": 317, "symbol": "NSView.addConstraintsToMatchParent(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", "line": 93, "symbol": "MutableResultsController.init()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", "line": 97, "symbol": "MutableResultsController.init(sectionKeyPath:sortDescriptors:sectionSortDescriptors:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", "line": 112, "symbol": "MutableResultsController.sortDescriptors", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", "line": 113, "symbol": "MutableResultsController.sectionSortDescriptors", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/MutableResultsController.swift", "line": 242, "symbol": "MutableResultsController.sectionInfo(forSectionAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", "line": 245, "symbol": "CollectionViewDelegate.collectionView(_:shouldDeselectItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", "line": 248, "symbol": "CollectionViewDelegate.collectionView(_:didDeselectItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", "line": 251, "symbol": "CollectionViewDelegate.collectionView(_:shouldSelectItemAt:with:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", "line": 254, "symbol": "CollectionViewDelegate.collectionView(_:didSelectItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/Protocols.swift", "line": 352, "symbol": "CollectionViewDelegate.collectionView(_:willDisplayCell:forItemAt:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 89, "symbol": "ResultsController.isEmpty", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 95, "symbol": "SectionType", "symbol_kind": "source.lang.swift.decl.protocol", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 105, "symbol": "ResultType", "symbol_kind": "source.lang.swift.decl.protocol", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 111, "symbol": "Array.object(at:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 125, "symbol": "ResultsControllerError.unknown", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 134, "symbol": "CustomDisplayStringConvertible.displayDescription", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 237, "symbol": "ResultsControllerChangeType.delete", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 238, "symbol": "ResultsControllerChangeType.update", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 239, "symbol": "ResultsControllerChangeType.insert", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 240, "symbol": "ResultsControllerChangeType.move", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 242, "symbol": "ResultsControllerChangeType.isInsert", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 248, "symbol": "ResultsControllerChangeType.isDelete", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 254, "symbol": "ResultsControllerChangeType.isMove", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ResultsController.swift", "line": 260, "symbol": "ResultsControllerChangeType.isUpdate", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ScrollView.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/ScrollView.swift", "line": 12, "symbol": "ScrollView", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/SectionInfo.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/SectionInfo.swift", "line": null, "symbol": "SectionInfo", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { - "file": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/SectionInfo.swift", + "file": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView/CollectionView/SectionInfo.swift", "line": 13, "symbol": "SectionInfo", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" } ], - "source_directory": "/Users/mbyrne/Documents/NounProject/macOS/Lingo/CollectionView" + "source_directory": "/Users/Wes/Documents/NounProject/macOS/Lingo/CollectionView" } \ No newline at end of file