• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
registration code issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

registration code issues


  • Subject: registration code issues
  • From: David Harper <email@hidden>
  • Date: Wed, 30 Jul 2008 14:52:34 -0400 (EDT)

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@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: registration code issues
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Next by Date: Re: Checking for hackintosh
  • Previous by thread: Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Next by thread: Re: registration code issues
  • Index(es):
    • Date
    • Thread