摘要: NSString *filePath = [documentsDirectory stringByAppendingPathComponent:@"xxx.txt"]; https://www.cnblogs.com/FBiOSBlog/p/5819418.html https://blog.csd 阅读全文
posted @ 2019-01-22 15:35 纯粹的code 阅读(809) 评论(0) 推荐(0) 编辑
摘要: NSString* str=@"hello";//存在代码区,不可变 NSLog(@"%@",str); //1.【字符串插入】 NSMutableString* str1=[[NSMutableStringalloc]initWithString:@"hello"];//存在堆区,可变字符串 NSLog(@"str... 阅读全文
posted @ 2019-01-22 10:06 纯粹的code 阅读(772) 评论(0) 推荐(0) 编辑