iphone-common-codes-ccteam源代码 CCPlistFileReader.h

//
// CCPlistFileReader.h
// CCFC
//
// Created by xichen on 11-12-18.
// Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>


// just for plist file that is NSArray type or NSDictionary type
@interface CCPlistFileReader : NSObject
{
id _internal;
}


+ (NSArray *)readBundleFileToNSArray:(NSString *)fileName;
+ (NSArray *)readDocumentFileToNSArray:(NSString *)fileName;


- (id)initWithBundleFilePlistArr:(NSString *)fileName;
- (id)initWithBundleFilePlistDict:(NSString *)fileName;
- (id)initWithDocumentFilePlistArr:(NSString *)fileName;
- (id)initWithDocumentFilePlistDict:(NSString *)fileName;


- (void)dealloc;


- (NSUInteger)count;


- (id)objectForKey:(id)key;
- (id)objectAtIndex:(unsigned int)index;


@end

 

可能有更新:

 googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCPlistFileReader.h

 github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCPlistFileReader.h

 

posted @ 2012-01-02 15:45  cc_team  阅读(181)  评论(0编辑  收藏  举报