[swift-evolution] Specify type of a delegate which conforms to a protocol
Inder Kumar Rathore .
rathore619 at gmail.com
Tue Feb 9 08:58:36 CST 2016
Hi All,
I used to do this in Obj-C but I'm unable to do this in swift
*UIViewController<MyProtocol> *delegate;*
I posted this question on dev forums but didn't get the solution and
finally I'm reporting here so that It can be added as a features in the
coming releases.
Thanks
Rathore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160209/b7fdb128/attachment.html>
More information about the swift-evolution
mailing list