Re: Having problem with fetch request in NSDocument based application
Re: Having problem with fetch request in NSDocument based application
- Subject: Re: Having problem with fetch request in NSDocument based application
- From: Clayton Leitch <email@hidden>
- Date: Fri, 04 Sep 2009 10:38:50 -0400
The debugger shows 0 objects in the array. Interestingly, this same
code works perfectly in a non-NSDocument version of this application.
On Sep 4, 2009, at 10:29 AM, I. Savant wrote:
On Sep 4, 2009, at 10:24 AM, Clayton Leitch wrote:
Yes, I saved it as XML and opened the file. Below is what I found:
Okay, so since there're definitely some instances in the store, and
nothing is nil in the debugger, the only thing remaining is your
message delivery.
... have you specifically verified in the debugger that the array
in fact has a count of zero?
If you find that it does not, I suspect your "errorMessage" field's
outlet isn't connected and its default string is set to "0". That
way, no matter what the count is, the field is never updated from "0".
That's really the only thing I can see. I've gone over your code
several times and can't find anything wrong with it. So, if someone
points out something obvious, you're not the only one who will be
embarrassed. :-)
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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