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

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

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