How can you return an array value (witch is a number) as a string?
Current code:
return [numbers objectAtIndex:row];
Have also tried:
return @"%@", [numbers objectAtIndex:row];
With no luck..
Thanks 🙂
PS: Yes, I am stupid. (:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In C / ObjC / C++ / Javascript / D / many other C-based languages, the comma operator does not create an array / tuple.
is similar to
(while evaluating
aandbandcanddas a side-effect).