objective c - Redefinition of variable with different type iOS development -


i developing example iphone app experimenting eith code found here:

http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-xmpp-integration/

but piece of code

nsstring *m = [nsstring stringwithformat:@"%@:%@", messagestr, @"you"]; nsmutabledictionary * m = [[nsmutabledictionary alloc] init]; 

gives me error in title. starting objective-c... ideas..?

having looked @ web page linked, suggest delete first of 2 lines quoted. first definition of m (as nsstring) isn't needed. accidentally left in older version of article.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -