Hi all, In Obj-C we have:
@property UIViewController<Protocol1, Protocol2, ...> *viewController; Is there any reason we don't have in Swift: var viewController: UViewController<Protocol1, Protocol2, ...> Do you think it will be nice feature to have in Swift? One example I have is is to have VC's container with view controllers(some forms) which implement Validable protocol to enforce them to have implementation of this method and to prevent situation that there is somewhere default implementation of the method "isValid" e.g. in superclass or protocol extension. What are your thoughts? Cheers, Adrian
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
