Develop
2013.04.23 18:08
[ios] 디렉토리 하하하..
조회 수 32661 댓글 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); } }
-
[c] C로 구현한 CGI - 달력과 날짜계산기
-
[js] 키보드 아스키코드(ASCII) 코드보기
-
[linux] Oracle8.1.6, Mysql+PHP+Zend Optimizer+APACHE+Tomcat(jsp,servlet)+IMAP+gd
-
[ios] 디렉토리 하하하..
-
[c++] 웹폼(webform)전송과 http 파일 업로드 샘플
-
[js] jQuery 코드 작성시 편리한 HTML 템플릿
-
베지어 곡선(Bézier curve) 알고리즘(spline 곡선)
-
[c] C로 구현한 CGI - 방명록
-
[lego] 세그웨이 이것만 볼것.. ㅎㅎ
-
[sql] 조회구문(select)에서 중복 데이터를 한 번만 출력 (distinct)
-
[ios] iOS 6.0 이상 회전 하기 (이전 버전과 비교 변경 부분)
-
[php] 몽이가 준 ajax 채팅 소스 ㅋㅋ