Bakkmo
Aspiring developer
Profile
Posts: 52
Reg: Oct 11, 2011
Randaberg
2,670
12/29/13 01:04 PM (11 years ago)

Error in xcode

After download of iOS code and open it in Xcode, if i try to press the Build, i get this error messages Missing "[" in start of message Send expression What to do?? Anyone? //figure out what view to show it in BT_tabBarController *theNavController; if([appDelegate.rootApp.tabs count] > 0){ theNavController = (BT_tabBarController *)[appDe[legate.rootApp.rootTabBarController selectedViewController]; }else{ theNavController = (BT_tabBarController *)[appDelegate.rootApp rootNavController]; }
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/29/13 03:28 PM (11 years ago)
See where it says: [appDe[legate Change it to: [appDelegate by removing the second left-square bracket. -- Niraj
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
12/29/13 06:00 PM (11 years ago)
Niraj has got this one sorted for you. This was a simple typo. It should be saying "appDelegate". Just make a slight adjustment in the code and you'll be sorted.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.