title: "Expected Identifier" error in iOS app
body: <p>I have made a very basic iOS app which displays the time in a label on viewDidLoad.
  I'm getting an Expected Identifier error on this line of code : </p>
  
  <pre><code>NSString *myTime = [myDateFormatter stringFromDate:[*myDate]];
  </code></pre>
  
  <p>Here'e the ViewController.m file : </p>
  
  <pre><code>#import "ViewController.h"
  
  @interface ViewController ()
  
  @end
  
  @implementation ViewController
  
  @synthesize timeLabel;
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view, typically from a nib.
      NSDateFormatter *myDateFormatter = [[NSDateFormatter alloc] init];
      [myDateFormatter setDateFormat:@"HH:mm a"];
      NSDate *myDate = [[NSDate alloc] init];
      NSString *myTime = [myDateFormatter stringFromDate:myDate];
      [timeLabel setText : myTime];
  }
  
  - (void)didReceiveMemoryWarning
  {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  
  @end
  </code></pre>
  
  <p>Made some additions. The code compiled but now I'm getting a Thread 1:SIGABRT error.
  The application doesn't load on the Simulator and the error comes.
  Here's the line of code which is giving the error in the main() :</p>
  
  <pre><code>return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
  </code></pre>
  
  <p>Yup, I didn't link it. Its working now. Thank you all!</p>