Creating optional protocol method in swift
If you are coming from Obj-C to Swift, you might have realized that there is no optional keyword available in Swift to define an optional protocol method in Swift Protocols. We can achieve it via @objc attribute. But in this post, I will discuss the ...
May 18, 20172 min read248