Develop
2013.04.23 18:08
[ios] 디렉토리 하하하..
조회 수 32633 댓글 0
디렉토리 탐색하는 샘플 코드~
NSString *newDir; if( parent_dir > 0 ){ newDir = [NSString stringWithFormat:@"NToon/%d", parent_dir]; }else{ newDir = @"NToon"; } NSString *newPath = [documentsDirectory stringByAppendingPathComponent:newDir]; if (![fileManager fileExistsAtPath:newPath]) { if ([fileManager createDirectoryAtPath:newPath withIntermediateDirectories:YES attributes:nil error:&error]) { //NSLog(@"getDBFilePath: %@ created.", newPath); } else { NSLog(@"getDBFilePath: Failed to create %@ due to %@", newPath, error); } }
-
[html] HTML5 튜토리얼 링크 ㅋㅋ
-
[linux] 콘솔 기본언어 설정 방법
-
[sql] 내 방명록 답글 찾는 쿼리문.. (JOIN 구문)
-
[linux] ProFTPD 타임아웃 설정
-
[doc] UI개발시 유용한 소프트웨어 (개발 및 디버깅 툴)
-
[c] 다중연결 서버 만들기 #1 - fork() 사용
-
[router] 시스코 라우터 명령어 모드..
-
[linux] 아파치 설치/설정(proxy)
-
[js] 자바스크립트의 클로저 (JavaScript's Closure)
-
[php] 심플한 게시판 ㅋㅋ
-
[js] AngularJS를 소개합니다.
-
[linux] ipfwadm를 이용한 패킷필터링(구버전)