plist --- 's read and write
来源:互联网 发布:我与网络演讲稿2000字 编辑:程序博客网 时间:2024/05/18 00:30
Create a .plist file named myPlist.
read code:
NSBundle *bundle = [NSBundle mainBundle]; NSString *path = [bundle pathForResource:@"myPlist" ofType:@".plist"]; NSMutableDictionary *dic = [[NSMutableDictionary alloc]initWithContentsOfFile:path]; NSLog(@"content = %@",dic);
show:
write code:
[dic writeToFile:@"/tmp/demo.plist" atomically:YES];
0 0
- plist --- 's read and write
- Something about file's read and write (C++)
- Read and Write XML
- Read and Write Excel
- file read and write
- write and read
- read and write files
- Python read and write
- read and write binary xml
- Read and write bytes data
- Read and Write File Code
- read and write '.bmp' file
- QT之write and read
- IO read and write. demo
- Read and Write XLS in Java - JXLS
- [zz] Read and write a properties file
- file read and write use java
- LINQ join and CSV read/write
- 算法导论-主定理的严谨证明(2)
- Arc gis 技巧及总结
- AndFix 使用实践
- ACM算法列表
- CodeForces 14D Two Paths
- plist --- 's read and write
- ubntu获取android源码的方法
- mongodb学习系列之二
- 一个Demo说明白指针、地址、值得关系
- Problem C: 指针引出奇数因子
- android 动画-Tween Animation(一)动画体系简介,涉及到的核心类、核心接口讲解(下)
- OpenJDK垃圾收集器与内存分配策略
- 多线程之线程的状态
- 2016.1.20个人总结