I have a framework written in Objective-C. My framework is in Swift and imported the 3rd party Objective-C framework in my project.
@interface AAAA: NSObject
I wanted to implement the Handler protocol in my Swift project.
I did like this
Class ZXY: NSObject, Handler{
init(){
super.init
AAAA.setHandler(self)
}
// Implemented Handler Protocol optional methods
func aaaa(){
}
}
Handler protocol optional method aaaa never called. Am I missing anything
@interface AAAA: NSObject
(void)setHandler:(id<Handler>)handler
I wanted to implement the Handler protocol in my Swift project.
I did like this
Class ZXY: NSObject, Handler{
init(){
super.init
AAAA.setHandler(self)
}
// Implemented Handler Protocol optional methods
func aaaa(){
}
}
Handler protocol optional method aaaa never called. Am I missing anything