Illness

class Illness : NSManagedObject

Illness NSManagedObject category/extension file: Contains a computed property duration to compute duration of an illness log

Note

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

    Declaration

    Swift

    var duration: Double { get }
  • Declaration

    Swift

    @nonobjc
    public class func fetchRequest() -> NSFetchRequest<Illness>
  • 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 }