• 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
NSMyBrainJustMelted - newbie - cocoa/java - desktop folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMyBrainJustMelted - newbie - cocoa/java - desktop folder


  • Subject: NSMyBrainJustMelted - newbie - cocoa/java - desktop folder
  • From: Jeff Pritchard <email@hidden>
  • Date: Tue, 14 Jun 2005 00:25:27 -0700

Hi,
I'm a geriatric Codewarrior MacOS <X programmer trying to start fresh with Tiger/cocoa/java/xcode.


Something as simple as reading in the contents of a text file from the desktop has just brought me to my knees.

Seems like I probably need to use NSFileWrapper and NSPathUtilities in some clever way, but for the life of me I can't figure it out from the overly terse documentation. How should I go about getting "~/ desktop/foo.txt" loaded into a String object? Apparently my simple path string does not satisfy the string constructor of NSFileWrapper.

many thanks,
jp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSMyBrainJustMelted - newbie - cocoa/java - desktop folder
      • From: Volker Runkel <email@hidden>
  • Prev by Date: Re: Cocoa-Java-based Universal Binary?
  • Next by Date: Re: NSMyBrainJustMelted - newbie - cocoa/java - desktop folder
  • Previous by thread: Re: Passing data to Core Data model
  • Next by thread: Re: NSMyBrainJustMelted - newbie - cocoa/java - desktop folder
  • Index(es):
    • Date
    • Thread