• 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
Can you bypass a file when using initWithContentsOfFile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can you bypass a file when using initWithContentsOfFile?


  • Subject: Can you bypass a file when using initWithContentsOfFile?
  • From: John Lombardo <email@hidden>
  • Date: Sun, 14 Sep 2003 02:04:43 +0800

If I have the string I want in memory, is there a means of bypassing writing
the string to a file and then reading it back with...
[myArray initWithContentsofFile:myFilePath]

I'm sure there must be a means of simulating a file with a data stream or
something else that hasn't occurred to me yet. Either way, if I can build an
array using a property list direct from memory (without having to manually
chop and iterate), I'll be happy :)

Cheers,
John
_______________________________________________
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.

  • Follow-Ups:
    • Re: Can you bypass a file when using initWithContentsOfFile?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Another autorelease question
  • Next by Date: Re: Calling Cocoa APIs from a command line application
  • Previous by thread: Re: Calling Cocoa APIs from a command line application
  • Next by thread: Re: Can you bypass a file when using initWithContentsOfFile?
  • Index(es):
    • Date
    • Thread