• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Save dictionary to local file please help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save dictionary to local file please help!


  • Subject: Re: Save dictionary to local file please help!
  • From: Graham Cox <email@hidden>
  • Date: Tue, 12 May 2009 20:15:57 +1000


On 12/05/2009, at 6:55 PM, Michael Vannorsdel wrote:

You properly retain dataDict, now do the same with destinationPath and you should be ok.

On May 11, 2009, at 3:10 AM, Ben Spam wrote:
if(!dataDict){ NSLog(@"No File"); dataDict = [[NSMutableDictionary alloc] init];} else{[dataDict retain];}
return self;



A classic case of poor code formatting leading to a complete misreading of what's actually happening. Hopefully this is due to a cut-and-paste into the email reformatting and not a reflection of how it actually appears in the code.

--Graham


_______________________________________________

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


References: 
 >Save dictionary to local file please help! (From: Ben Spam <email@hidden>)
 >Re: Save dictionary to local file please help! (From: Michael Vannorsdel <email@hidden>)

  • Prev by Date: Re: IKImageBrowserView is not reloading data.
  • Next by Date: Re: Resolution Independent View?
  • Previous by thread: Re: Save dictionary to local file please help!
  • Next by thread: Creating an NSInvocation from an NSMethodSignature
  • Index(es):
    • Date
    • Thread