Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protocol Configureable: class {
- var planType: Plantype { get set }
- var counterType: CounterType { get set }
- }
- extension Configureable where Self: Test2ViewController {...//RETURN PLANTYPE}
- extension Configureable where Self: TestViewController {...//RETURN COUNTERTYPE}
- @objc protocol CounterDataSource {
- @objc optional func increment(forCount count: Int) -> Int
- @objc optional var fixedIncrement: Int { get }
- }
Add Comment
Please, Sign In to add comment