摘要://追加数据NSString *homePat = NSHomeDirectory();NSString *sourcePath = [homePath stringByAppedingPathComponent:@"testfile.ext"];NSFileHandle *fileHandle = [NSFileHandle fileHandleForUpdatingAtPath:sourcePath];//将结点跳转到文件末尾[fileHandle seekToEndOfFile];NSString *str = @"追加的数据";NSData *s
阅读全文
随笔分类 - ios
摘要:#import #import "Person.h"int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; // insert code here... NSLog(@"Hello, World!"); Person *person = [[Person alloc] initWithAge:30 identify:23452342]; NSLog(@"person.age:%d",[
阅读全文

浙公网安备 33010602011771号