18 OF_ASSUME_NONNULL_BEGIN
21 # define OF_PATH_CURRENT_DIRECTORY @""
23 # define OF_PATH_CURRENT_DIRECTORY @"."
29 extern int _OFString_PathAdditions_reference;
34 @interface OFString (PathAdditions)
38 @property (readonly, nonatomic, getter=isAbsolutePath)
bool absolutePath;
48 @property (readonly, nonatomic)
OFString *lastPathComponent;
53 @property (readonly, nonatomic)
OFString *pathExtension;
58 @property (readonly, nonatomic)
OFString *stringByDeletingLastPathComponent;
63 @property (readonly, nonatomic)
OFString *stringByDeletingPathExtension;
68 @property (readonly, nonatomic)
OFString *stringByStandardizingPath;
86 - (bool)of_isDirectoryPath;
87 - (
OFString *)of_pathToURLPathWithURLEncodedHost:
88 (
OFString *__autoreleasing _Nullable *_Nonnull)URLEncodedHost;
89 - (
OFString *)of_URLPathToPathWithURLEncodedHost:
91 - (
OFString *)of_pathComponentToURLPathComponent;
An abstract class for storing objects in an array.
Definition: OFArray.h:92
A class for handling strings.
Definition: OFString.h:132
OFArray * pathComponents
Definition: OFString+PathAdditions.h:43