펌 : http://www.ddandongne.com/ddanhome/zbuilder/2208
Document폴더에는 읽기 쓰기 모두 가능.(펌 : http://cafe.naver.com/mcbugi/16650)
#define DOCUMENTS_FOLDER [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]
NSString *path = [DOCUMENTS_FOLDER stringByAppendingPathComponent:@"data.txt"];
/로 경로 표시
1. 특징
- 사용자 클래스는 저장할 수 없다.
- 저장할 수 있는 객체는 기본 컬랙션 객체와 기본 객체들
NSArray,NSMutableArray, NSDictionary, NSMutableDictioinary, NSData, NSString, NSNumber . . .
2. 파일이 저장되는 위치는?
- documents
01.02.03.04.05.06.07.08.09.10.11.12.3. 저장.
1.2.3.4.5.4. 읽기.
1.2.3.4.



덧글