Users Pricing

forum

home / developersection / forums / utilizing array in objective-c?

Utilizing array in Objective-C?

Anonymous User 2015 26 Dec 2015

I want to utilize boolean array in Objective C programming. I have got it mostly set up, but the compiler throws a warning at the following statement:
[userObj replaceObjectAtIndex:index withObject:YES];
YES is simply not an object.(This is my view)

It is a primitive, regardless I need to do this, and would greatly appreciate advice on how to accomplish it.
Thankyou.


I am a content writter !


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md