objc-zen/objc-zen-book

Private _methods

craigomac opened this issue · 1 comments

You state that private methods should never be prefixed with a single underscore, but the section about use of the pragma directive includes an example of a private method thusly declared:

#pragma mark - Private

- (void)_privateMethod { /* ... */ }

That's a little off-putting in an otherwise excellent guide.

Thanks @craigomac for pointing this out. Just fixed.