In the Xcode 8 beta 6 compiler, I get a compile error when trying to implement the UIActivityItemSource protocol.
Specifically this optional function...
optional public func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: UIActivityType?) -> String
The compiler error is:
"Method cannot be an implementation of an @objc requirement because the type of the parameter 2 cannot be represented in Objective-C."
I've double checked the definition and don't see what I could be doing wrong.
Any ideas?