title: Swapping objects with Objective C
body: <p>I want to swap where player is pointing to here. I'm doing it wrong for sure, but can't figure out why. I've also tried using (Player **)player in the signature and &amp;player when I called it. Any ideas?</p>
  
  <pre><code>- (void)handleResult:(Result)result forPlayer:(Player *)player inLineup:(Lineup *)lineup
  {
      switch (result)
      {
          case ResultSub:
          {
              Player *sub = [lineup.substitutes objectAtIndex:0];
              player = sub;
              return;
              break;
          }
      }
  }
  </code></pre>