4 ms·
Objective C is magic and you and get around the static checker with using Ducks and NSClassFromString. This is how all mac and iOS devs have done this is the p
by jwlake 7y ago
Objective C is magic and you and get around the static checker with using Ducks and NSClassFromString. This is how all mac and iOS devs have done this is the past and will continue doing this forever. Apple will never close the Duck hole, because it doesn't want to, but it will always slap devs on the wrist for using private APIs in a non-duck compliant manner.
- saagarjha 7y agoJava is no better, and even with C there's nothing stopping you from finding code in your process and calling it by casting its address to a function pointer.