Re: Please can any one sugest or send me Email validation code.
Re: Please can any one sugest or send me Email validation code.
- Subject: Re: Please can any one sugest or send me Email validation code.
- From: Keary Suska <email@hidden>
- Date: Wed, 31 Jan 2007 11:21:56 -0700
- Thread-topic: Please can any one sugest or send me Email validation code.
on 1/30/07 10:52 PM, email@hidden purportedly said:
> I am new to Cocoa i am devloping one application in that i need to do
> validation for email.
> please can any one sugest me on this or send me the code.
As mentioned, it depends on what "validation" means. If you mean to check
whether an entered value is a syntactically valid email, as long as you know
the correct syntax (read the relevant RFCs), you then need to determine
"when" validation occurs and by what method. Common approaches are via
NSFormatter subclasses and Key-Value-Coding validation. Next to determine
the actual code for checking validity. You can investigate the NSString and
NSScanner classes for methods to parse strings.
I have found AppKiDo (http://homepage.mac.com/aglee/downloads) to be an
invaluable resource for quickly browsing classes. I highly recommend it.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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