title: If statement not called with NSStrings equaling each other
body: <p>Can someone please explain why this code doesn't work? Both Theorem and title are NSStrings, and when displayed in the console, it is clear that they match at some point, but the nslog@"HI" is never printed. Thanks!</p>
  
  <pre><code>if (Theorem==title) {
          NSLog(@"hi");
  
          NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
          [defaults setValue:title forKey:@"title"];
          [defaults setValue:info forKey:@"info"];
          [defaults setValue:subInfo forKey:@"subInfo"];
          [defaults synchronize];
      }
      else{
          NSLog(@"%@",Theorem);
          NSLog(@"%@",title);
      }
  </code></pre>