Core data accessor and KVC
Core data accessor and KVC
- Subject: Core data accessor and KVC
- From: Aurélien Hugelé <email@hidden>
- Date: Tue, 29 Nov 2005 16:54:51 +0100
Hi !
suppose i have an entity Email, with an attributed "sender" of type
string. sender is the email address like "email@hidden".
is it possible to run a fetch request with a predicate like :
@"sender.lowercaseString IN %@",aListOfEmailAddresses ?
i would like to get all emails object where sender, as a lower case
string, in is a list of addresses.
i'm surprised to be able to use valueForKeyPath:@"lowercaseString" on
an NSArray of NSString, but not being able to do the same thing with
core data.
must i implement an accessor like "lowercasedSender" in my Email
entity class ??
it could be damn useful...
thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden