22OF_ASSUME_NONNULL_BEGIN
27extern int _OFString_PathAdditions_reference OF_VISIBILITY_HIDDEN;
32@interface OFString (PathAdditions)
36@property (readonly, nonatomic, getter=isAbsolutePath)
bool absolutePath;
92- (bool)of_isDirectoryPath;
93- (
OFString *)of_pathToIRIPathWithPercentEncodedHost:
94 (
OFString *__autoreleasing _Nullable *_Nonnull)percentEncodedHost;
95- (
OFString *)of_IRIPathToPathWithPercentEncodedHost:
96 (nullable
OFString *)percentEncodedHost;
97- (
OFString *)of_pathComponentToIRIPathComponent;
An abstract class for storing objects in an array.
Definition OFArray.h:109
A class for handling strings.
Definition OFString.h:143
OFString * lastPathComponent
The last path component of the string when interpreted as a path.
Definition OFString+PathAdditions.h:46
OFString * stringByDeletingLastPathComponent
The directory name of the string when interpreted as a path.
Definition OFString+PathAdditions.h:56
OFString * pathExtension
The file extension of string when interpreted as a path.
Definition OFString+PathAdditions.h:51
OFString * stringByStandardizingPath
The string interpreted as a path with relative sub paths resolved.
Definition OFString+PathAdditions.h:66
OFArray * pathComponents
The components of the string when interpreted as a path.
Definition OFString+PathAdditions.h:41
bool absolutePath
Whether the path is an absolute path.
Definition OFString+PathAdditions.h:36
OFString * stringByDeletingPathExtension
The string with the file extension of the path removed.
Definition OFString+PathAdditions.h:61