Objective C Programming Tutorial - 60 - Working with Files
Top Comments
All Comments (28)
-
These tuts need WAY more exposure
-
That made mine work!!!!!!!!! thank you sooo mich!!!
-
Or u can just write a whole path, in my case
NSString *testerf = @"/Users/bane/Desktop/myCode/w
orkingWithFiles/workingWithFil es/testerfile.txt"; press right click on ur tester file, and u can see your files whole path on file info
-
5 more videos until i graduate from Objective-C!!!!
-
for those who cant find the folder even going to get info and find it. go to Xcode->Preferences->location click the small arrow to get to DerievedData, you can favourite it so you dont need to find in future! :D
-
Thank you
-
I have xcode 4 and i didn't know where 'library' and where i save file to see it in my program please explain that in xcode 4 in details
-
Note: To make the tutorial work in Xcode 4.0, I had to place the "testerfile" into the Developer folder of my Library. The best way to find where to place the "testerfile" is to right-click the "Testing" file in the "Products" folder of your project and select "Show in Finder".
wooo! 5 more to go.
EcoDimension 1 year ago 33
HUGE TIP for xcode 4 users. This tutorial WILL NOT work for you as written. Here is how to fix.
1. Go into Xcode-> Preferences -> Location ->Build Location and select "Place build products in locations specified by targets. this makes it work like XCode 3 and this tutorial works!
OR
2. Save your testerfile to this directory:
/Users/YOURUSERNAME/Library/Developer/Xcode/DerivedData/NAMEOFYOURPROJECT/Build/Products/Debug
Xcode 4 moved the build directory here for some reason I don't know.
aaronbrownsound 8 months ago 24