diff --git a/Cocoa Programming Guidelines.pdf b/Cocoa Programming Guidelines.pdf index 6098297..74f2e0a 100644 Binary files a/Cocoa Programming Guidelines.pdf and b/Cocoa Programming Guidelines.pdf differ diff --git a/Cocoa Programming Guidelines.tex b/Cocoa Programming Guidelines.tex index fe8bccb..6e5d160 100644 --- a/Cocoa Programming Guidelines.tex +++ b/Cocoa Programming Guidelines.tex @@ -447,6 +447,19 @@ In one case bisection is allowed. \end{codelisting} +\subsection{Methods can be prefixed with get} + +Get prefix is used only in situations when a value is returned indirectly via a memory address. + +\begin{codelisting} +@interface NSValue : NSObject + +- (void)getValue:(void *)value; + +@end +\end{codelisting} + + \section{General rules} \subsection{Header files are imported only if necessary}