Quote:
Originally Posted by Mr Jack
Ah yes, not reading correctly I'd though he was passing a nil object as the compare argument.
|
Ok thanks for this explanation.
I have 1 more question :
My comparison now almost works correctly. But I have a problem with it, as it seems to be case-sensitive. I tried to use
Quote:
|
if([item.title caseInsensitiveCompare:searchBar.text]==NSOrderedSame)
|
But it seems to return false if the string I type in the searchBar is not exactly the same as the item.title.
Maybe you can help me again for this.
Thank you