Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-09-2009, 07:11 AM   #7 (permalink)
keyneosoft
Registered Member
 
Join Date: Dec 2009
Posts: 4
keyneosoft is on a distinguished road
Default

Quote:
Originally Posted by Mr Jack View Post
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
keyneosoft is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,387
Threads: 94,003
Posts: 402,459
Top Poster: BrianSlick (7,978)
Welcome to our newest member, latoncefrank
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:35 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.