source: trunk/Sparkle.framework/Versions/A/Headers/NSString+extras.h @ 272

Last change on this file since 272 was 272, checked in by livings124, 16 years ago

First commit on my own 8-)

Sorting by progress, sorting no longer causes crashes.
New look for the table.
Info is now inspector: can set individual and multiple ratio limits, shows listing of files, more info in general, resizes when changing tabs, can change tabs with cmd-left and cmd-right.
Menu items moved to "Transfers" menu.
Sliding status bar in its own view.
Prefs moved into their own nib.
Toolbar items for pause and resume selected (many wanted this, but it needs better icons)
New icons for Transfers and General.
A lot of tweaking of main window to fix alignment etc.
Sparkle used for updated (still needs to be added to website to work).

And a lot more tweaking and changes that I'm too lazy to list.

...now let's hope I commit this right

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1/*
2
3BSD License
4
5Copyright (c) 2002, Brent Simmons
6All rights reserved.
7
8Redistribution and use in source and binary forms, with or without modification,
9are permitted provided that the following conditions are met:
10
11*       Redistributions of source code must retain the above copyright notice,
12        this list of conditions and the following disclaimer.
13*       Redistributions in binary form must reproduce the above copyright notice,
14        this list of conditions and the following disclaimer in the documentation
15        and/or other materials provided with the distribution.
16*       Neither the name of ranchero.com or Brent Simmons nor the names of its
17        contributors may be used to endorse or promote products derived
18        from this software without specific prior written permission.
19
20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
24BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
25OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
26OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31
32*/
33
34
35/*
36        NSString+extras.h
37        NetNewsWire
38
39        Created by Brent Simmons on Fri Jun 14 2002.
40        Copyright (c) 2002 Brent Simmons. All rights reserved.
41*/
42
43
44#import <Foundation/Foundation.h>
45#import <CoreFoundation/CoreFoundation.h>
46
47
48@interface NSString (extras)
49
50- (NSString *)stringWithSubstitute:(NSString *)subs forCharactersFromSet:(NSCharacterSet *)set;
51
52- (NSString *) trimWhiteSpace;
53
54- (NSString *) stripHTML;
55
56- (NSString *) ellipsizeAfterNWords: (int) n;
57
58+ (BOOL) stringIsEmpty: (NSString *) s;
59
60
61@end
Note: See TracBrowser for help on using the repository browser.