How do I get a file reference w/o relying on the path?
How do I get a file reference w/o relying on the path?
- Subject: How do I get a file reference w/o relying on the path?
- From: Brad Stone <email@hidden>
- Date: Sat, 3 Apr 2010 18:20:25 -0400
I want to store a reference to a file in an ivar that will allow the user to change the file's name and/or the directory (i.e. the path) and still allow me to access it. I don't want to create a file (like an ailas). I need to store the file reference in a variable so I can open the file no matter where the user moves it or renames it.
For those of you who know REALbasic I can do this easily with FolderItem.GetSaveInfo.
How can I do this in Cocoa?
Thanks_______________________________________________
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