Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d7beac5e39
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.633 kB
//
// NSURL+SSToolkitAdditions.m
// SSToolkit
//
// Created by Sam Soffes on 4/27/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
#import "NSURL+SSToolkitAdditions.h"
#import "NSDictionary+SSToolkitAdditions.h"
@implementation NSURL (SSToolkitAdditions)
+ (id)URLWithFormat:(NSString *)format, ... {
va_list arguments;
va_start(arguments, format);
NSString *string = [[NSString alloc] initWithFormat:format arguments:arguments];
va_end(arguments);
return [NSURL URLWithString:string];
}
- (NSDictionary *)queryDictionary {
return [NSDictionary dictionaryWithFormEncodedString:self.query];
}
@end
Jump to Line
Something went wrong with that request. Please try again.