3 ms·
You can do some pretty interesting stuff with the Objective-C runtime. It's like Java introspection/reflection minus most of the headaches/penalties. For exampl
by wallflower 17y ago
You can do some pretty interesting stuff with the Objective-C runtime. It's like Java introspection/reflection minus most of the headaches/penalties. For example, dynamically find the values for all ivars with a name that contains the substring 'style'.
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html http://developer.apple.com/mac/library/documentation/Cocoa/R...