Re: Comparing a CFStringRef with a string literal?
Re: Comparing a CFStringRef with a string literal?
- Subject: Re: Comparing a CFStringRef with a string literal?
- From: Peter Blazejewicz <email@hidden>
- Date: Sun, 1 Feb 2009 01:18:39 +0100
thx Steve!
Peter
On Feb 1, 2009, at 1:06 AM, Steve Checkoway wrote:
CFStringRef efstr = (CFStringRef)([EFPW stringValue]);
if (efstr== CFSTR("my password")){
}
No. Now you're comparing two pointers for equality and they won't be
equal.
--
Steve Checkoway
_______________________________________________
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