Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (17 sloc) 0.47 kb
78cb077 first commit
Matt Patenaude authored
1 //
2 // NSString+MPTidbits.h
3 // MPTidbits
4 //
5 // Created by Matt Patenaude on 12/22/08.
d5b80ef updated copyright strings
Matt Patenaude authored
6 // Copyright 2008 Matt Patenaude. All rights reserved.
78cb077 first commit
Matt Patenaude authored
7 //
8
9 #import <Foundation/Foundation.h>
10
11
12 @interface NSString(MPTidbits)
13
14 - (BOOL)isEmpty;
15 - (BOOL)isEmptyIgnoringWhitespace:(BOOL)ignoreWhitespace;
16 - (NSString *)stringByTrimmingWhitespace;
17
18 @end
19
20 @interface NSMutableString(MPTidbits)
21
22 - (void)trimCharactersInSet:(NSCharacterSet *)aCharacterSet;
23 - (void)trimWhitespace;
24
25 @end
Something went wrong with that request. Please try again.