Alright. So I asked a question here but I feared that I anwsered it myself and closed the dicussion. No Idea if I did that. That question is available here; http://stackoverflow.com/questions/3411650/is-it-me-or-xcode-somethings-wrong-with-my-braces-and-it-just-causes-errors-p
let me go ahead with my code that gives the expected ; and unary minus (which goes away if -(VOID) is removed but then that causes another error)
its here if you need the full code its at the earlier link
//Register for notifications;
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |UIRemoteNotificationTypeSound |UIRemoteNotificationTypeAlert)];
;
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
//ERROR HERE Wrong type argument to unary minus and semi colon b4
And I cant close the method after Register because then the lower references of DeviceToken have no organized structure