我使用的是 iOS 6.1,有一个关于错误的问题。
'RegFile' 用作前一个参数的名称,而不是作为选择器的一部分。
RegFile: .... RegFile : 清除错误后的空格,但我想了解如何解决此问题。空白清除错误但否定方法?
#import <Foundation/Foundation.h>
@class FileHandle;
@interface FileHandle : NSObject {
NSArray *paths;
NSFileManager *fileManager;
}
- (NSString *)GetSyncFileName;
- (void)CreateBarcodeDirectory;
- (void)ReadRegistry:(NSString *)RegFile :(char *)RegData; // Whitespace after RegFile clears error but negates the method??
- (void)SaveRegistry:(NSString *)RegFile:(char *)RegData :(NSString *)RegString;
- (NSString *)ReadDataFromFile :(int)path :(NSString *)filename :(char *)data;
- (void)WriteDataToFile :(int)path :(NSString *)filename :(NSString *)data :(NSString *)content;
- (NSArray *)GetFileList :(int)path;
- (NSString *)GetDirectory:(int)path;
@property (nonatomic, retain) NSArray *paths;
@property (nonatomic, retain) NSFileManager *fileManager;
@end