- (NSString *)stringByAppendingPathComponent:(NSString *)aString
scratch.tiff
”: Receiver’s String Value | Resulting String |
---|---|
“ | “ |
“ | “ |
“ | “ |
“” (an empty string) | “ |
Receiver’s String Value | Resulting String |
---|---|
“ | “ |
“ | “ |
“ | “ |
“ | “ |
“ | “ |
“ | “” (an empty string) |
"
tiff
"
Receiver’s String Value | Resulting String |
---|---|
“ | “ |
“ | “ |
“ | “ |
“ | “ |
Receiver’s String Value | Resulting String |
---|---|
“ | “ |
“ | “ |
“ | “ |
“ | “ |
“ | “ |
“ | “ |
- (NSString *)stringByAppendingString:(NSString *)aString
aString
The string to append to the receiver. This value must not be nil
.
NSString *errorTag = @"Error: "; |
NSString *errorString = @"premature end of file."; |
NSString *errorMessage = [errorTag stringByAppendingString:errorString]; |
Error:
premature end of file.
”.