I have a loop that is thinner through an array and wants to match an object in an organs to a search field. is. / P>
I have the following code
for (int i = 0; i
I know this can be done by example in Java if (searchField.text.equalsIgnoreCase (to match the object))
< / P>
How is it done in Objective-C, without a string match?
In addition, what if I want to match the string part, will it be done in four in four or is there a function to match some parts of the strings?
Thank you
to support NSString and if you can get your names , Then you can get your answer
The code will look like this:
if (NSOrderedSame == [searchField.text case insensitive comparison: [data2 object atindex x: i])
Comments
Post a Comment