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 |
Why swift is better than objective c?
What are class b properties?
What happen if we send any message to an object which is released?
What is block variable?
What is difference between null and nil?
What are the 5 performance objectives?
What are blocks and how are they used?
When will you use nsarray and nsmutablearray? Which one is faster?
What is main storyboard?
What is a delegate in objective c?
What type of language is objective c?
What is the difference between nsstring and string?