// // CCPlistFileWritter.h // CCFC // // Created by xichen on 11-12-18. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import "CCPlistFileReader.h" @interface CCPlistFileWritter : CCPlistFileReader { id _writterObj; } // for NSDictionary - (void)removeObjectForKey:(id)key; - (void)setObject:(id)object forKey:(id)key; // for NSArray - (void)addObject:(id)anObject; - (void)insertObject:(id)anObject atIndex:(NSUInteger)index; - (void)removeLastObject; - (void)removeObjectAtIndex:(NSUInteger)index; - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject; @end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCPlistFileWritter.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCPlistFileWritter.h
本文介绍了一个用于处理plist文件的Objective-C接口CCPlistFileWritter,该接口继承自CCPlistFileReader,提供了针对NSDictionary和NSArray的操作方法,如增删查改等。适用于iOS应用中对plist配置文件进行读写需求。
90

被折叠的 条评论
为什么被折叠?



