Activity
@available(swift 4.0)
public struct Activity
TCX Activity
-
Sport
Declaration
Swift
private(set) public var sport: Sport
-
Activity ID
Declaration
Swift
private(set) public var identification: Date
-
Lap
Declaration
Swift
private(set) public var lap: [ActivityLap]
-
Notes
Declaration
Swift
private(set) public var notes: String?
-
Training
Declaration
Swift
private(set) public var training: Training?
-
Creator
Declaration
Swift
private(set) public var creator: Creator?
-
Undocumented
Declaration
Swift
public init(sport: Sport, identification: Date, lap: [ActivityLap], notes: String?, training: Training?, creator: Creator?)
-
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: Activity, rhs: Activity) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey