objective c - Format specifies type 'unsigned int' but the argument has type 'id' -



objective c - Format specifies type 'unsigned int' but the argument has type 'id' -

nsstring *val = [nsstring stringwithformat:@"%u",[settingsmgr performselector:nsselectorfromstring([[gets objectatindex:indexpath.section] objectatindex:indexpath.row])]];

in above code getting warning settingsmgr object class , gets nsmutablearray.

nsmutablearray can't hold standard types (int, float, bool, etc), they're stored wrapped (in nsnumber mostly). seek changing %u %@.

objective-c warnings

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -