How to check array contains value in objective c?
Answer / Anu Sirohi
"To check if an array contains a certain value in Objective-C, you can use the `containsObject:` method of NSArray. For example: `if ([myArray containsObject:@"someValue"]){n// do somethingn}"
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how to call function in objective-c?
Is it possible to implement dealloc in arc?
Can a protocol have properties?
How different is objective c from swift?
What is umbrella header?
What is the difference between class and category?
What is meant by not thread safe?
What is method swizzling in objective c and why would you use it?
What do you mean by synthesized in objective-c?
What is a class property?
Why is objective c syntax so weird?
How to convert nsnumber to nsstring in objective c?