• 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: [Array writeToFile:Path atomically:YES]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Array writeToFile:Path atomically:YES]


  • Subject: RE: [Array writeToFile:Path atomically:YES]
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Tue, 11 May 2004 17:11:14 -0400

> Bool OK = [Array writeToFile:Path atomically:YES];
>
> All columns of Array are NSString*. I understand from the docs that the
> above method will write those strings as a property list which I can then
> use to initialize a new array.
>
> But, OK always returns false indicating that all columns of the array are
> not NSString*.
>
> Can anyone shed some light on this?

Either Array does not contain what you think it does, or Path is not a valid
path. Also, "Bool" is not the same as "BOOL".

BTW, most people uppercase class names and lowercase instance (and other)
variables.

Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >[Array writeToFile:Path atomically:YES] (From: David Blanton <email@hidden>)

  • Prev by Date: Re: cmd-q versus menu item quit
  • Next by Date: Re: [Array writeToFile:Path atomically:YES]
  • Previous by thread: Re: [Array writeToFile:Path atomically:YES]
  • Next by thread: CFShow in Cocoa
  • Index(es):
    • Date
    • Thread