Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Objective-C parser for mailto URIs.
Objective-C Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.