HMSSection
EXTENSION
extension HMSSection: Hashable
Methods
hash(into:)
public func hash(into hasher: inout Hasher)
Use identifier
to find a unique section object
- Parameter hasher: the hasher object
Parameters
Name | Description |
---|---|
hasher | the hasher object |
==(:)
public static func == (lhs: HMSSection, rhs: HMSSection) -> Bool
resolves comparing of 2 section objects by differentiating based on unique identifier
- Parameters:
- lhs: the first section to compare
- rhs: the second section to compare
- Returns: a Boolean stating whether compared section objects are same or different
Parameters
Name | Description |
---|---|
lhs | the first section to compare |
rhs | the second section to compare |