16 #import <Foundation/Foundation.h>
20 NS_ASSUME_NONNULL_BEGIN
34 - (instancetype)initWithInteger:(NSInteger)value;
40 - (instancetype)initWithConcatnatingStrings:(NSString *)first, ... NS_REQUIRES_NIL_TERMINATION;
48 + (instancetype)stringWithInteger:(NSInteger)value;
55 + (instancetype)stringWithFormat:(NSString *)format arguments:(va_list)argList NS_FORMAT_FUNCTION(1,0);
62 + (
nullable instancetype)stringWithData:(NSData *)data encoding:(NSStringEncoding)encoding;
67 + (instancetype)stringWithConcatnatingStrings:(NSString *)first, ... NS_REQUIRES_NIL_TERMINATION;
89 - (NSString *)format:(
id)first, ...;
100 - (NSString *)format0:(
nullable id)dummyLikeNil, ...;
119 - (NSString *)substringFromIndex:(NSUInteger)from length:(NSUInteger)length;
128 - (NSString *)substringFromIndex:(NSUInteger)from toIndex:(NSUInteger)to;
138 - (NSString *)stringByTrimmingWhitespaceCharacters;
147 - (NSString *)stringByTrimmingWhitespaceAndNewlineCharacters;
156 - (NSString *)stringByTrimmingNewlineCharacters;
172 + (instancetype)stringWithUTF8Data:(NSData *)data;
179 - (
nullable NSData *)dataUsingUTF8Encoding;
197 - (NSInteger)integerValueBase:(NSInteger)radix;
206 - (NSInteger)hexadecimalValue;
215 - (
nullable NSString *)stringByReplacingRegularExpressionWithPattern:pattern withTemplate:(
nonnull NSString *)templ error:(NSError *
_Nullable __autoreleasing *
_Nullable)error;
246 - (BOOL)hasSubstring:(NSString *)aString __deprecated;
NSData extension for NSString.
Definition: NSString.h:223
#define _Nullable
Definition: NSString.h:213
#define nullable
Definition: NSMacro.h:20
NSString creation method extension.
Definition: NSString.h:25
#define nonnull
Definition: NSMacro.h:21
NSString method shortcuts.
Definition: NSString.h:75
NSString * stringUsingUTF8Encoding
Creates and returns an NSString object initialized by converting given data into Unicode characters u...
Definition: NSString.h:230
Definition: NSString.h:211
Shortcut for UTF8.
Definition: NSString.h:166
Numeric value evaluation.
Definition: NSString.h:187
Definition: NSString.h:235
#define NS_ASSUME_NONNULL_END
Definition: NSMacro.h:14