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
Post a Comment