What is method swizzling in objective c and why would you use it?
Answer / Sudha Maurya
"Method Swizzling" is a technique used in Objective-C to dynamically swap out implementation of methods at runtime. It's useful when you want to modify the behavior of existing classes without modifying their source code or creating subclasses. This can be particularly helpful for debugging, testing, or implementing libraries.
| Is This Answer Correct ? | 0 Yes | 0 No |
What number distinctive annotations is accessible in objective-c?
How is #import different from #include?
What are blocks and how are they used?
What is difference between objective c and swift programming?
What do you mean by dot notation?
How to call a function in objective-c?
Can you write setter method for a retain property?
Is c++ objective c?
What is synthesized in objective-c?
What is the purpose of managed object context (nsmanagedobjectcontext) in objective-c and how does it work?
What is the difference between function and objective?
What is a protocol in objective c?