Today I’m releasing version 1.0.0 of URLKit, a library to find and shorten URLs for Mac OS X and iOS applications.

URLKit was written to order to provide URL shortening services to messaging applications where users may be providing multiple URLs in a single input buffer. I needed the ability to shorten multiple URLs at once and to do so without slowing down the main user interface.

URLKit is implemented using Grand Central Dispatch’s operation queues, so your main UI queue is never blocked by URL shortening operations.

Using URLKit is easy:

@interface MyController : NSObject 

@implementation MyController 

- (void)doSomethingAwesome { 
  const URLShortener \*shortener = [URLShortener defaultURLShortener]; 
  const NSString \*text = @"hello, this is cool: but this one isn't that cool"; [shortener shortenTextWithURLs:text observer:self]; 

- (void)textWithURLsShortened:(NSString \*)text { ... } 


URLKit can be found at and is licensed using the Apache 2.0 license. Comments and patches are welcome!