Debian Codegraph @

XCode/NSString+PBXAdditions.h

raw symbols SCIP
1 /*
2 Copyright (C) 2018, 2019, 2020, 2021 Free Software Foundation, Inc.
3
4 Written by: Gregory John Casamento <[email protected]>
5 Date: 2022
6
7 This file is part of the GNUstep XCode Library
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2 of the License, or (at your option) any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library; if not, write to the Free
21 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110 USA.
23 */
24
25 #import <Foundation/NSString.h>
26
27 @interface NSString (PBXAdditions)
28
29 - (NSString *) firstPathComponent;
30
31 - (NSString *) stringByReplacingPathExtensionWith: (NSString *)ext;
32 - (NSString *) stringByEscapingSpecialCharacters;
33 - (NSString *) stringByEliminatingSpecialCharacters;
34 - (NSString *) stringByCapitalizingFirstCharacter;
35 - (NSString *) stringByDeletingFirstPathComponent;
36 - (NSString *) stringByReplacingEnvironmentVariablesWithValues;
37 - (NSString *) stringByAddingQuotationMarks;
38 - (NSString *) execPathForString;
39
40 + (NSString *) stringForCommand: (NSString *)command;
41 + (NSString *) stringForEnvironmentVariable: (char *)envvar;
42 + (NSString *) stringForEnvironmentVariable: (NSString *)v
43 defaultValue: (NSString *)d;
44 - (NSString *) stringByTrimmingTrailingCharactersInSet: (NSCharacterSet *)characterSet;
45 - (NSString *) stringByResolvingPath;
46 - (NSString *) lowercaseFirstCharacter;
47
48 @end