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 -

r - url in CRAN extension manual -

asp.net - .NET Control.ID property inconsistency -