Hello,

My Cocoa Application is currently in beta, and there is a single beta tester 
who insists his registration code is not working.  I've extensively looked into 
the issue and it seems that the code works correctly up to the if statement 
which simply says:

if ([validCode isEqualToString:enteredCode]), and that isEqualToString is 
returning NO.

The code is a 28-digit numeric string broken into 7 chunks of 4 and separated 
by dashes as follows: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX.

I tried trimming both strings, and I also tried ignoring the dashes and 
checking substringWithRange: for ranges of length 4 with location incrementing 
by 5.  None of this has worked and the beta tester insists the code is still 
not working.

What do you think the odds are that the tester is trying to obtain an 
unprotected version?  It doesn't seem to me that it makes much sense to try to 
do such a thing, and so I'm inclined to believe him.  The program is built for 
10.4 or later and he is using 10.4, and most other testers are on 10.5.  Could 
there possibly be an issue with one of the built-in methods I take so much for 
granted?  (is it possible that isEqualToString is not working properly?)

I'd appreciate any advice or input.

Thanks,

- Dave H.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to