Simple Objective-C parser for mailto URIs.
Objective-C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BRYMailToURIParser.xcodeproj
Classes
Tests
.gitignore
BRYMailToURIParser.podspec
LICENSE
README.md

README.md

BRYMailToURIParser

Simple Objective-C parser for mailto URIs. With tests!

Installation

Via CocoaPods, of course:

pod install BRYMailToURIParser

Usage

BIMailToURIParser *parser = [[BIMailToURIParser alloc] initWithURL:
                             [NSURL URLWithString:@"mailto:bryan@domain.me?subject=Hey"]];
NSArray *recipients = parser.toRecipients;
NSArray *ccRecipients = parser.ccRecipients;
NSArray *bccRecipients = parser.bccRecipients;
NSString *subject = parser.subject;
NSString *body = parser.body;

License

Available for use under the MIT license: http://bryan.mit-license.org