I am getting information related to IMP, but whatever I think is like the old practice.
I may be wrong but IMP shows the address of any method so that you can pass it as logic if you need it, right? If this is true, then is not it a discovery?
I would be glad that somebody could explain this to me because I have really lost. It would be good to have some information about using IMP and @selector.
How does it look like @selector resolves a
SEL Which can be used to view
IMP . As you predict, a
imp indicates for the implementation of the function, otherwise known as a function pointer.
[NSObject alloc] Objective Object looks like this:
Objc_msgSend will provide
class and
SEL and < To use something like code> class_getMethodImplementation such as
IMP
method and
NSSelectorFromString and
NSClassFromString It is usually better to handle tasks. With runtime.
No comments:
Post a Comment