On page 340, in the body of function BNRMethodsForClass(), there is call to
NSArray *BNRMethodsForClass(Class cls) { ...
Method *methodList = class_copyMethodList(cls, &methodCount);
...
}
Because this is a “copy” function, shouldn’t the create-rule apply here? i.e. requiring us to release the list later:
In this context of an example, it’s not critical I know, but wondering nonetheless since the Appendix makes a point about the create-rule vs. the get-rule.