Cotton code
20 lines · 620 B · SwiftRaw
// One of the day's rows as a face draws it (Home's today deck): its title,// whether it is done, and its line on the day in the core's words ("4:30 pm",// "due today"). The app reads the day (CottonUI's `TodayRow`); a face draws// this.import Foundationpublic struct TodayItem: Equatable, Sendable {    public var title: String    /// A todo that is done.    public var done: Bool    /// The row's line on the day, the core's words.    public var line: String?    public init(title: String, done: Bool, line: String?) {        self.title = title        self.done = done        self.line = line    }}