-
Initializes a
CSSectionByclause with the key path to use to groupCSListMonitorobjects into sectionsDeclaration
Swift
@objc public static func keyPath(_ sectionKeyPath: KeyPathString) -> CSSectionByParameters
sectionKeyPaththe key path to use to group the objects into sections
Return Value
a
CSSectionByclause with the key path to use to groupCSListMonitorobjects into sections -
Initializes a
CSSectionByclause with the key path to use to groupCSListMonitorobjects into sections, and a closure to transform the value for the key path to an appropriate section nameDeclaration
Swift
@objc public static func keyPath(_ sectionKeyPath: KeyPathString, sectionIndexTransformer: @escaping (_ sectionName: String?) -> String?) -> CSSectionByParameters
sectionKeyPaththe key path to use to group the objects into sections
sectionIndexTransformera closure to transform the value for the key path to an appropriate section name
Return Value
a
CSSectionByclause with the key path to use to groupCSListMonitorobjects into sections
View on GitHub
CSSectionBy Class Reference