Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
stevestreza committed Apr 25, 2009
1 parent 2bcdcd5 commit b4a782a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run the application and copy a URL to the clipboard. Then, press Option-Shift-Sp

URL Shrinkers
-------------
There are three shrinkers in the system right now:
There are six shrinkers in the system right now:

1. Loopback - This is mainly for debugging, it simply returns the URL you submitted
2. TinyURL.com
Expand All @@ -36,12 +36,12 @@ There are three shrinkers in the system right now:

Writing a URL Shrinker
----------------------
You need to write three methods in your URL shrinker:
You need to write two methods in your URL shrinker:

-(void)performShrinkOnURL:(NSURL *)url;
This performs the guts of the shrink. You can schedule asynchronous operations to run, such as NSURLRequests. Whenever the URL is retrieved (which doesn't have to be in this method), you must call doneShrinking:, supplying either the shrunken URL or nil if there was an error.

+(NSString *)name;
Must return a human-readable and unique name for your URL shrinker.

Note: Developers no longer need to implement the +load method in subclasses of the URL Shrinker base-class.
Note: Developers no longer need to implement the +load method in subclasses of the URL Shrinker base-class.

0 comments on commit b4a782a

Please sign in to comment.