typedef struct objc_selector *SEL;
Run Code Online (Sandbox Code Playgroud)
在上面的代码中,SEL键入objective-c是指向struct objc_selector.所以,如果我做一个SEL像这样的变量:
SEL aSel = @selector(instanceMethod) //Like this
Run Code Online (Sandbox Code Playgroud)
怎么了?@selector对实例方法做了什么,instanceMethod?
objective-c ×1