Browse files

CK doesn't need its own +stringWithData:encoding:

  • Loading branch information...
1 parent bfb9e2f commit d523610fe5a36d23701545e8ee7d55d28f78b4b4 @mikeabdullah mikeabdullah committed Jul 9, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −1 NSString+Connection.h
  2. +0 −5 NSString+Connection.m
View
1 NSString+Connection.h
@@ -34,7 +34,6 @@
- (NSString *)encodeLegally;
- (NSString *)encodeLegallyForS3;
-+ (NSString *)stringWithData:(NSData *)data encoding:(NSStringEncoding)encoding;
// Paths
- (NSString *)firstPathComponent;
View
5 NSString+Connection.m
@@ -50,11 +50,6 @@ - (NSString *)encodeLegallyForS3
return [result autorelease];
}
-+ (NSString *)stringWithData:(NSData *)data encoding:(NSStringEncoding)encoding
-{
- return [[[NSString alloc] initWithData:data encoding:encoding] autorelease];
-}
-
- (NSString *)firstPathComponent
{
NSString *str = self;

0 comments on commit d523610

Please sign in to comment.