Darkwind BETAI'm Developer.

강좌게시판


[iOS] Property List 사용법
흑풍 0 293 0 0 2011-02-25 16:51:25
NSString *bundlePath = [[NSBundle mainBundle] bundlePath];
NSString *pListPath = [bundlePath stringByAppendingPathComponent:@"init.plist"];
NSDictionary *pList = [NSDictionary dictionaryWithContentsOfFile:pListPath];
 
// Document Folder for writing
NSArray *paths = NSSearchForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *pListFile = [documentsDirectory stringByAppendingPathComponent:@"setting.plist"];
 
[NSDictionary writeToFile:pListFile atomically:YES];
  목록     글쓰기  

번호 제   목 글쓴이 날짜 조회 추천수
11 [iOS] loadView, viewDidLoad .. [0] 흑풍 2011-02-28 270 0
10 [iOS] Property List 사용법 [0] 흑풍 2011-02-25 293 0
9 [MAC] FrontRow에서 avi및 자막을 볼 .. [0] 흑풍 2011-02-18 277 0
8 [Linux] vim 정리 [0] 흑풍 2011-02-07 267 0
7 [jquery] ajax에서 xml 리턴받아 처리하기. [0] 흑풍 2010-12-22 474 0
5 [jquery] checkbox 관련 [0] 흑풍 2010-12-13 488 0
4 우편번호 검색 API [1] 흑풍 2010-12-07 518 0
3 [PHP] ftp 함수모음 [0] 흑풍 2010-12-03 334 0
2 [PHP] preg_match 사용법 [0] 흑풍 2010-12-02 383 0
1 [Linux] find 명령어 완전 정복 가이드 [0] 흑풍 2010-11-29 344 0