• 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
Re: Please can any one sugest or send me Email validation code.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Please can any one sugest or send me Email validation code. (From: "Rajashekhar Managoli" <email@hidden>)

  • Prev by Date: Re: Trouble centering window after mode switch (solved)
  • Next by Date: NSTask & NSPipe to perl script
  • Previous by thread: Re: Please can any one sugest or send me Email validation code.
  • Next by thread: Invalid value range for NSTrackingRectTag
  • Index(es):
    • Date
    • Thread