Extension
@available(swift 4.0)
public struct Extension
TCX Extension
-
Activity TrackPoint Extension
Declaration
Swift
private(set) public var activityTrackpointExtension: ActivityTrackpointExtension?
-
Activity Lap Extension
Declaration
Swift
private(set) public var activityLapExtension: ActivityLapExtension?
-
Activity Goals
Declaration
Swift
private(set) public var activityGoals: ActivityGoals?
-
Undocumented
Declaration
Swift
public init(activityTrackpointExtension: ActivityTrackpointExtension?, activityLapExtension: ActivityLapExtension?, activityGoals: ActivityGoals?)
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
public static func == (lhs: Extension, rhs: Extension) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey
-
Alternate Coding Keys
See moreDeclaration
Swift
public enum AlternateCodingKeys : String, CodingKey
-
Creates a new instance by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
The decoder to read data from.