Comparing a CFStringRef with a string literal?
Comparing a CFStringRef with a string literal?
- Subject: Comparing a CFStringRef with a string literal?
- From: Arnaud Nicolet <email@hidden>
- Date: Sat, 31 Jan 2009 22:35:51 +0100
Hi,
I have this piece of code which does not work:
CFStringRef efstr=([EFPW stringValue]);
if (efstr=="my password"){
NSLog("sjdskjf");
}
I also tried with strcmp and with a single "=". Even when both values
are the same, the equal test fails. What I am doing wrong?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden