Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct InnerModel<T: SomeProtocol> {
- let someProp: T
- }
- struct OuterModel<T: SomeProcotol> {
- let innerModel: InnerModel<T>
- }
- class ViewController<T: SomeProcotol> {
- let model: OuterModel<T>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement