Passer Rating iOS
1.0
iOS demo project for Xcode 4 Unleashed
|
00001 /* 00002 * PasserRatingGlobals.h 00003 * Passer Rating 00004 * 00005 * Created by Xcode User on 4/9/10. 00006 * Copyright 2010 Frederic F. Anderson. All rights reserved. 00007 * 00008 */ 00009 00010 #ifdef __OBJC__ 00011 00012 #import <Foundation/Foundation.h> 00013 #import <UIKit/UIKit.h> 00014 #import <CoreData/CoreData.h> 00015 00016 #pragma mark Errors 00017 00018 extern NSString * const WT9TErrorDomain; 00019 00020 enum _CSVErrors { 00021 errCSVBadFormatLine = -1, 00022 errEmptyCSVFile = -2 00023 }; 00024 00025 #pragma mark Preference Keys 00026 00027 // Key: what to do with the data on startup 00028 extern NSString * const kPrefStartupAction; 00029 // Values: 00030 extern NSString * const kStartupKeepData; // Leave it be. 00031 extern NSString * const kStartupUseDemo; // Replace it with demo data. 00032 extern NSString * const kStartupRemoveDemo; // Remove just the demo data. 00033 extern NSString * const kStartupRemoveAll ; // Remove everything. 00034 00035 extern NSString * const kFinalSaveFailed; // The previous app-termination save failed. 00036 00037 #endif