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
protocol Fizzable { | |
func canBeFizzed() -> Bool | |
} | |
protocol Buzzable { | |
func canBeBuzzed() -> Bool | |
} | |
protocol Fizzbuzzable: Fizzable, Buzzable { | |
func canBeFizzBuzzed() -> Bool |
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
import Foundation | |
// MARK: - Theme Protocol | |
@objc protocol Themeable: class { | |
optional func themeDidChange(to theme: Theme) | |
} | |
// MARK: - Theme and ThemeManager | |
final class Theme { | |
let text: UIColor |