+2005-08-23 Helge Hess <helge.hess@opengroupware.org>
+
+ * v4.5.9
+
+ * added NSString+CoreData.m: for string related CD methods
+
+ * EOCoreDataSource.m: added 'EOCoreDataSourceDebugEnabled' default to
+ enable debugging
+
2005-08-06 Marcus Mueller <znek@mulle-kybernetik.com>
* EOCoreData-Info.plist: new Xcode Info.plist file
static BOOL debugOn = NO;
++ (void)initialize {
+ NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
+
+ if ((debugOn = [ud boolForKey:@"EOCoreDataSourceDebugEnabled"]))
+ NSLog(@"EOCoreDataSource: debugging enabled.");
+}
+
- (id)initWithManagedObjectContext:(NSManagedObjectContext *)_moc
entity:(NSEntityDescription *)_entity
{
NSRelationshipDescription+EO.m \
NSManagedObject+KVC.m \
+libEOCoreData_OBJC_FILES += \
+ NSString+CoreData.m
+
# framework support
EOCoreData_HEADER_FILES = $(libEOCoreData_HEADER_FILES)
EOCoreData_OBJC_FILES = $(libEOCoreData_OBJC_FILES)
--- /dev/null
+/*
+ Copyright (C) 2005 SKYRIX Software AG
+
+ This file is part of SOPE.
+
+ SOPE is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with SOPE; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+
+#include "common.h"
+
+@implementation NSString(CoreData)
+
+- (NSPredicate *)asPredicate {
+ return [NSPredicate predicateWithFormat:self arguments:nil];
+}
+
+@end /* NSString(CoreData) */