Last active
January 24, 2021 16:15
-
-
Save chrsp/c2ca2a1628121a670f6a5cccbead6733 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public protocol KitchenLocalRepository { | |
public func getIngredients(_ recipe: Recipe) -> [Ingredient]? | |
} | |
public protocol KitchenRemoteRepository { | |
public func getIngredients(_ recipe: Recipe, completion: ([Ingredient]?) -> Void)) | |
} | |
public protocol CookerProtocol { | |
public func cook(_ recipe: Recipe) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment