NSString NSMutableString
NSArray NSMutableArray
NSSet NSMutableSet
NSDictionary NSMutableDictionary
NSDate
NSObject
C -> OC字符串
NSString *s = [[NSString alloc] initWithUTF8String:"jake"];
OC -> C
const char *cs = [s UTF8String];
NSUTF8StringEncoding 中文转码
initWithContentsOfFile
[NSURL fileURLWithPath:@"/User/apple/Desktope"];
时间: 2024-09-29 04:21:39