title: Prefixing private methods and properties
body: <p>I use class extensions to define private methods:</p>
  
  <pre><code>@interface DFPObfuscator ()
  
  + (NSData *)PS_transform:(CCOperation)encryptOrDecrypt data:(NSData *)data;
  
  @end
  </code></pre>
  
  <p>Using a prefix like <code>PS_</code> is recommended by Apple:</p>
  
  <blockquote>
    <p>... if you want to
    be absolutely sure that your private methods have names different from
    those in the superclass, you can add your own prefix to your private
    methods. The prefix should be as unique as possible, perhaps one based
    on your company or project and of the form <code>XX_</code>. So if your project
    is called Byte Flogger, the prefix might be <code>BF_addObject:</code>.</p>
  </blockquote>
  
  <p>But what about private properties? Should I prefix them with <code>PS_</code> or it's not an issue?</p>
  
  <p>An example would be:</p>
  
  <pre><code>@interface MTTController ()
  
  @property (strong, nonatomic) Class modelClass;
  @property (strong, nonatomic) Class viewClass;
  
  @end
  </code></pre>
  
  <p>If there's was a <strong>private</strong> property <code>modelClass</code> in the super-class, would it be a problem?</p>