|
Revision 318, 1.5 kB
(checked in by wolf, 4 months ago)
|
[NEW] mogenerator: Add preliminary fetch request wrapper support.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
#import <Foundation/Foundation.h> |
|---|
| 9 |
#import <CoreData/CoreData.h> |
|---|
| 10 |
|
|---|
| 11 |
#import "MiscMergeTemplate.h" |
|---|
| 12 |
#import "MiscMergeCommandBlock.h" |
|---|
| 13 |
#import "MiscMergeEngine.h" |
|---|
| 14 |
#import "FoundationAdditions.h" |
|---|
| 15 |
#import "nsenumerate.h" |
|---|
| 16 |
#import "NSString+MiscAdditions.h" |
|---|
| 17 |
#import "DDCommandLineInterface.h" |
|---|
| 18 |
|
|---|
| 19 |
@interface NSEntityDescription (customBaseClass) |
|---|
| 20 |
- (BOOL)hasCustomSuperentity; |
|---|
| 21 |
- (NSString*)customSuperentity; |
|---|
| 22 |
- (void)_processPredicate:(NSPredicate*)predicate_ bindings:(NSMutableArray*)bindings_; |
|---|
| 23 |
- (NSArray*)prettyFetchRequests; |
|---|
| 24 |
@end |
|---|
| 25 |
|
|---|
| 26 |
@interface NSAttributeDescription (scalarAttributeType) |
|---|
| 27 |
- (BOOL)hasScalarAttributeType; |
|---|
| 28 |
- (NSString*)scalarAttributeType; |
|---|
| 29 |
- (BOOL)hasDefinedAttributeType; |
|---|
| 30 |
- (NSString*)objectAttributeType; |
|---|
| 31 |
@end |
|---|
| 32 |
|
|---|
| 33 |
@interface NSString (camelCaseString) |
|---|
| 34 |
- (NSString*)camelCaseString; |
|---|
| 35 |
@end |
|---|
| 36 |
|
|---|
| 37 |
@interface MOGeneratorApp : NSObject <DDCliApplicationDelegate> { |
|---|
| 38 |
NSString *tempMOMPath; |
|---|
| 39 |
NSManagedObjectModel *model; |
|---|
| 40 |
NSString *baseClass; |
|---|
| 41 |
NSString *includem; |
|---|
| 42 |
NSString *templatePath; |
|---|
| 43 |
NSString *outputDir; |
|---|
| 44 |
NSString *machineDir; |
|---|
| 45 |
NSString *humanDir; |
|---|
| 46 |
NSString *templateGroup; |
|---|
| 47 |
BOOL _help; |
|---|
| 48 |
BOOL _version; |
|---|
| 49 |
} |
|---|
| 50 |
|
|---|
| 51 |
- (NSString*)appSupportFileNamed:(NSString*)fileName_; |
|---|
| 52 |
@end |
|---|