IOS

IOS 소스에서 plist 파일 참조

은호아빠 2013. 2. 21. 11:44

바이트로 데이터를 저장해서 사용해도 되나 plist를 많이 사용하기에 사용법을 적어둠 사용할날이 오겠지 싶음.

NSString *path = [[NSBundle mainBundle] pathForResource:@"LicenseData" ofTyp:@"plist"];

NSMutableArray *m_plistdata = [[NSMutableArray alloc]initWithContentsOfFile:path];


출처는 이분 블러그 

http://bongman.tistory.com/16