CLFloor
public class CLFloor : NSObject, NSCopying, NSSecureCoding
Represents the logical floor level of a location inside a building. Apple Documentation
-
The floor level relative to the ground floor.
- Floor
0represents the ground floor. - Positive numbers indicate floors above ground level.
- Negative numbers indicate floors below ground level (e.g., basements).
Declaration
Swift
public let level: Int - Floor
-
Indicates that
CLFloorsupports secure coding. Apple DocumentationDeclaration
Swift
public static let supportsSecureCoding: Bool
-
Creates a
CLFloorinstance with the specified floor level.Declaration
Swift
public init(level: Int)Parameters
levelThe logical floor number. Apple Documentation
-
Creates a copy of this
CLFloorinstance.Declaration
Swift
public func copy(with zone: NSZone? = nil) -> AnyReturn Value
A new
CLFloorobject with the same floor level. Apple Documentation
-
Initializes a
CLFloorfrom anNSCoder.Declaration
Swift
public required init?(coder: NSCoder)Parameters
coderThe
NSCoderinstance used to decode the properties. -
Encodes this
CLFloorinto anNSCoder.Declaration
Swift
public func encode(with coder: NSCoder)Parameters
coderThe
NSCoderinstance used to encode the properties.
View on GitHub