Code Search for Developers
 
 
  

NSManagedObject-JRExtensions.h from redshed at Krugle


Show NSManagedObject-JRExtensions.h syntax highlighted

#import <Cocoa/Cocoa.h>

@interface NSManagedObject (JRExtensions)
+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_;

+ (id)rootObjectInManagedObjectContext:(NSManagedObjectContext*)moc_;
- (id)initAndInsertIntoManagedObjectContext:(NSManagedObjectContext*)moc_;

+ (NSArray*)fetchAllInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSArray*)fetchAllInManagedObjectContext:(NSManagedObjectContext*)moc_ error:(NSError**)error_;

+ (NSString*)entityNameByHeuristic; // MyCoolObjectMO => @"MyCoolObject".
+ (NSEntityDescription*)entityDescriptionInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSFetchRequest*)fetchRequestForEntityInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSArray*)fetchWithTemplate:(NSString*)name_ substitutionVariables:(NSDictionary*)vars_ inManagedObjectContext:(NSManagedObjectContext*)moc_ error:(NSError**)error_;

@end




See more files for this project here

redshed

Code for Mac+WebObjects.

Project homepage: http://sourceforge.net/projects/redshed
Programming language(s): C,Java,Objective C
License: other

  English.lproj/
    InfoPlist.strings
  Flit.xcdatamodel/
    elements
    layout
  Flit.xcodeproj/
    project.pbxproj
    wolf.mode1
    wolf.pbxuser
  FlitKeyMO.h
  FlitKeyMO.m
  FlitSlotMO.h
  FlitSlotMO.m
  Flit_Prefix.pch
  Info.plist
  NSAssert0.h
  NSManagedObject-JRExtensions.h
  NSManagedObject-JRExtensions.m
  nsenumerate.h