Methods can be prefixed with get

This commit is contained in:
Wojciech Nagrodzki 2014-05-02 12:48:17 +02:00
parent a90b08e6fe
commit 157cdf2f4d
Signed by: wnagrodzki
GPG key ID: E9D0EB0302264569
2 changed files with 13 additions and 0 deletions

Binary file not shown.

View file

@ -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 <NSCopying, NSSecureCoding>
- (void)getValue:(void *)value;
@end
\end{codelisting}
\section{General rules}
\subsection{Header files are imported only if necessary}