title: These 2 delegate usages, are they same?
body: <p>For example, I have A view and B view，some value is passing from A to B.</p>
  
  <p>In <code>B.m</code>, I wrote:</p>
  
  <pre><code>A *av = [[A alloc] init];
  [av setDelegate:self]
  </code></pre>
  
  <p>Is it the same as I wrote in <code>A.m</code>:</p>
  
  <pre><code>B *bv = [[B alloc] init];
  [self setDelegate:bv];
  </code></pre>
  
  <p>Where should I put this "setDelegate"? in <code>viewDidLoad</code>? compiler didn't generate any error, but the value passing is not succeed, Can somebody give me some hints on it? Thanks</p>