Re: Two simple questions regarding Core-Data
Re: Two simple questions regarding Core-Data
- Subject: Re: Two simple questions regarding Core-Data
- From: Robert Walker <email@hidden>
- Date: Fri, 4 May 2007 17:48:55 -0400
Marcus,
Thanks for check into this for me. I do realize the OP's question.
My previous post was for my own desire to understand the internal
mechanics of Core Data. I'm really just looking to crack open that
"black box" a bit to rise to the next level of understanding.
It is very interesting that it made a difference fetching the objects
in code with a fetch request, as opposed to pulling the selection out
of the NSArrayController. It would be interesting to know for sure
why that is. Now that I have your example I'll do some more
experimenting on my own. I quite enjoy puzzles like these.
On May 4, 2007, at 5:08 PM, Marcus S. Zarra wrote:
Interesting that your example causes the faults to fire. By removing
the bindings from the equation I was not able to duplicate your
results.
NOTE: the OP was looking for a way to perform a "select count(*) from
xxx" which the above code does perform without a performance hit of
firing the faults.
Marcus S. Zarra
Zarra Studios LLC
Simply Elegant Software for OS X
www.zarrastudios.com
--
Robert Walker
email@hidden
_______________________________________________
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