Dev.bg: All in One ’24 – Lab08 Mobile Question №5

What is ‘Method Swizzling’ in iOS and when should it be used?

A) It is a way of swapping the implementations of two methods, and it should be used to debug applications

B) It is the process of changing the function pointer of a selector at runtime, and should be used judiciously

C) It is the act of subclassing methods, and should be used to override default behavior

D) It is a way of rewriting methods, and should be used to increase code efficiency