MCOAddress Class Reference
Inherits from | NSObject |
Conforms to | NSCoding NSCopying |
Declared in | MCOAddress.h MCOAddress.mm |
Properties
Class Methods
addressWithDisplayName:mailbox:
Creates an address with a display name and a mailbox.
+ (MCOAddress *)addressWithDisplayName:(NSString *)displayName mailbox:(NSString *)mailbox
Discussion
Example: [MCOAddress addressWithDisplayName:@"DINH Viêt Hoà" mailbox:@"hoa@etpan.org"]
Declared In
MCOAddress.h
addressWithMailbox:
Creates an address with only a mailbox.
+ (MCOAddress *)addressWithMailbox:(NSString *)mailbox
Discussion
Example: [MCOAddress addressWithMailbox:@"hoa@etpan.org"]
Declared In
MCOAddress.h
addressWithNonEncodedRFC822String:
Creates an address with a non-MIME-encoded RFC822 string.
+ (MCOAddress *)addressWithNonEncodedRFC822String:(NSString *)nonEncodedRFC822String
Discussion
Example: [MCOAddress addressWithNonEncodedRFC822String:@"DINH Viêt Hoà <hoa@etpan.org>"]
Declared In
MCOAddress.h
addressWithRFC822String:
Creates an address with a RFC822 string.
+ (MCOAddress *)addressWithRFC822String:(NSString *)RFC822String
Discussion
Example: [MCOAddress addressWithRFC822String:@"DINH Vi=C3=AAt Ho=C3=A0 <hoa@etpan.org>"]
Declared In
MCOAddress.h
addressesWithNonEncodedRFC822String:
Returns an NSArray of MCOAddress objects that contain the parsed forms of non-encoded RFC822 addresses.
+ (NSArray *)addressesWithNonEncodedRFC822String:(NSString *)string
Discussion
For example: @[ “DINH Viêt Hoà hoa@etpan.org” ]
Declared In
MCOAddress.h
addressesWithRFC822String:
Returns an NSArray of MCOAddress objects that contain the parsed forms of the RFC822 encoded addresses.
+ (NSArray *)addressesWithRFC822String:(NSString *)string
Discussion
For example: @[ @“DINH Vi=C3=AAt Ho=C3=A0 hoa@etpan.org” ]
Declared In
MCOAddress.h