I am currently working on a fast dynamic framework that will be used for the objective-c application.
I created this method (signature):
public init(buttons: ActionButton...) {
}
However, this method is never available (visible) from an objective-c application using the framework. When adding
@objc
before the declaration of the xcode method throws an error
"The method cannot be marked as @objc because it has a variable parameter
So, if I understand correctly, fast variable parameters cannot be objective. So I ask the question: Is there another way (CVArgList?) To get the same functionality?
I know I can use arrays, but I would prefer not to use this function.
Thank.