RFShortURL for iOS

RFShortURL provides free URL redirection service. Turns a long URL into a much shorter one.

Service provided by http://tinyurl.com

How To Get Started

  1. Download RFShortURL

  2. #import "RFShortURL.h"

  3. Create an instance of RFShortURL and set yourself as the delegate, then just listen for a response using the delegate method receivedUrl:

Ex:

self.smallUrl = [[ RFShortURL alloc] init];

[self.smallUrl setDelegate:self];

[self.smallUrl shortURL:@"www.cnn.com"];

Then we just listen:

-(void)receivedUrl:(NSString *)url fromOriginalUrl:(NSString *)originalUrl

{

self.displayShortUrl.text = url;

NSLog(@"Original URL: %@ Received Short URL: %@", originalUrl,url);

}

License: Public Domain

Language: Objective-C

Platform: iOS

Sponsored with ❤️ by Instabug
Instabug: Understand how your app is doing with real-time contextual insights from your users
Instabug

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.