Stress

class Stress : NSManagedObject

Stress NSManagedObject category/extension file: Contains a computed property duration to compute duration of a stress log

Note

The following auto-generated properties are managed within ARISES.xcdatamodeld: fetchRequest(), end, start, day
  • Returns total duration of the stress log

    Declaration

    Swift

    var duration: Double { get }
  • Declaration

    Swift

    @nonobjc
    public class func fetchRequest() -> NSFetchRequest<Stress>
  • end

    Declaration

    Swift

    @NSManaged
    public var end: Date? { get set }
  • Declaration

    Swift

    @NSManaged
    public var start: Date? { get set }
  • day

    Declaration

    Swift

    @NSManaged
    public var day: Day? { get set }