The docs say:
class func perform(_ selector: Selector, onTarget target: Any) -> SKAction
selector
The selector of the method to call.
I am uncertain what a selector of a method is. Hence the question.
It seems like it would be the name of the method/function, but creates (in me) uncertainty because it's never described as being this, so I kind of think it might be something else, something more profound, perhaps.
I'm presupposing perform(_:onTarget)
is a way for a part of code to be flexibly telling an object decided at runtime what action to perform. But am not entirely sure that I have its purpose right. That's the context within which I'm thinking about this.
Not only is my question different from the linked "similar" question in terms of context, it's also a different, and much more specific question: WHAT is a selector in this particular function.