Re: NSLog preventing a crash?
Re: NSLog preventing a crash?
- Subject: Re: NSLog preventing a crash?
- From: Rob Chahin <email@hidden>
- Date: Tue, 24 Jul 2007 14:50:53 +0100
Here's the code I'm using. I'm not creating each dictionary, I'm
actually using a pointer to a dictionary:
while(theDict = [theRes fetchRowAsDictionary])
{
RCBlah *blah = [RCBlah new];
[blah setAsDict:[theDict copy]];
[allBlahs addData:blah];
}
(I rarely do desktop programming, so I'm likely to use the terms
'dictionary' and 'pointer to dictionary' interchangeably.. it leads
to a lot of errors)
- R
I am curious on why you think you must copy a dictionary before you
place it in an array? No such requirement exists.
-Shawn
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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