Created
November 19, 2023 21:18
-
-
Save colinfwren/d07a86f129cfff604b2220e9027a9d9b to your computer and use it in GitHub Desktop.
Date Test Approach 1 ViewModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApproachTodoListViewModel: Identifiable { | |
var modelContext: ModelContext | |
var title: String | |
var todos = [ApproachModel]() | |
var startDate: Date | |
var endDate: Date | |
var granularity: DateGranularity | |
// rest of the implementation | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment