4 ms·
Why doesn't Apple change their SDK to make their API non linkable?
by haecceity 7y ago
Why doesn't Apple change their SDK to make their API non linkable?
- paxswill 7y agoBecause of how Obj-C works, it’s not really possible to have completely hidden classes or methods. You can instantiate classes by name at runtime, and can similarly create a message (aka call a method) at runtime. This is basically the “concealed” option mentioned elsewhere. Because of this dynamism, it’s possible to recreate a header file from the compiled frameworks, and then just compile like normal.