Passer Rating iOS  1.0
iOS demo project for Xcode 4 Unleashed
Passer Rating/SimpleCSVFile.h
Go to the documentation of this file.
00001 //
00002 //  SimpleCSVFile.h
00003 //  Passer Rating
00004 //
00005 //  Created by Xcode User on 4/22/10.
00006 //  Copyright 2010 Frederic F. Anderson. All rights reserved.
00007 //
00008 
00009 #import <Foundation/Foundation.h>
00010 
00011 @class  SimpleCSVFile;
00012 
00015 extern NSString * const         kCSVErrorLineKey;
00018 extern NSString * const         kCSVExpectedFieldsKey;
00021 extern NSString * const         kCSVActualFieldsKey;
00022 
00031 @protocol SimpleCSVDelegate <NSObject>
00032 
00058 - (BOOL) csvFile: (SimpleCSVFile *) file
00059           readValues: (NSDictionary *) values
00060                    error: (NSError **) error;
00061 
00062 @end
00063 
00074 @interface SimpleCSVFile : NSObject {
00075 }
00076 
00083 - (id) initWithPath: (NSString *) aPath;
00084 
00105 - (BOOL) run: (NSError **) error;
00106 
00109 @property(nonatomic, copy)              NSString *              path;
00111 @property(nonatomic, readonly, retain)  NSArray *               headers;
00113 @property(nonatomic, assign)    id <SimpleCSVDelegate>  delegate;
00120 @property(strong) NSManagedObjectContext *              moc;
00121 
00122 @end
 All Classes Files Functions Variables Properties Defines