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