[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSPredicate and related classes ?
From: |
hns |
Subject: |
Re: NSPredicate and related classes ? |
Date: |
11 Jan 2006 06:00:04 -0800 |
User-agent: |
G2/0.2 |
Neither...
NSPredicate and NSExpression are defined in Foundation - they simply
describe a query. They evaluate on NSObjects (NSString, NSArray,
NSNumber, NSDictionary etc.). A reference is
http://cocoadevcentral.com/articles/000086.php (page 14).
Storage (Core Data) is not handled by Foundation. NSManagedObject* and
NSPersistent* are part of a separate CoreData framework on MacOS X.
At the moment I have not started to include anything from CoreData =>
http://developer.apple.com/documentation/Cocoa/Reference/CoreData_ObjC/index.html
But if I would, I would use SQLite and XML since they are directly
supported by the API (NSPersistentStoreCoordinator: NSSQLiteStoreType,
NSXMLStoreType).
-- hns