Created
May 20, 2022 10:14
-
-
Save tifoaudii/8e703d65331fa90a1e285e8ba4160f50 to your computer and use it in GitHub Desktop.
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
protocol TaskViewDataStore { | |
func fetchTodayTask(completion: @escaping ([TaskModel]) -> Void) | |
func fetchFailedTask(completion: @escaping ([TaskModel]) -> Void) | |
func fetchUpcomingTask(completion: @escaping ([TaskModel]) -> Void) | |
func fetchFinishedTask(completion: @escaping ([TaskModel]) -> Void) | |
func finishTask(_ task: TaskModel) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment