Two simple questions regarding Core-Data
Two simple questions regarding Core-Data
- Subject: Two simple questions regarding Core-Data
- From: "Hell's KItchen Hell's KItchen" <email@hidden>
- Date: Fri, 4 May 2007 13:25:27 +0200
Hello List,
I'm playinig with core-data framework; it's looks really good but I've
two simple questions:
a) is possible to set the value of an attribute with a predicate? For
example I would to set the 'label' attribute to 1 for all entities
into the managed objects. Is the only way to get the complete array of
these entities and then apply the attribute to each manually"?
b) is possible to get the number of items given from a predicate
results instead of using [resultsArray count]? (a sort of count(*) for
sql, I don't need of the list). Or there is not any issue on general
performances? This action will be repeated lots of time in my app.
Thanks a lot
Michael.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden