Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Objective C Programming Tutorial - 60 - Working with Files

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,595
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 29, 2010

http://thenewboston.com/forum/

Ask me all questions there as well as view source code for the tutorials.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Top Comments

  • wooo! 5 more to go.

  • 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/De­veloper/Xcode/DerivedData/NAME­OFYOURPROJECT/Build/Products/D­ebug

    Xcode 4 moved the build directory here for some reason I don't know.

see all

All Comments (28)

Sign In or Sign Up now to post a comment!
  • These tuts need WAY more exposure

  • @cleaner00007

    That made mine work!!!!!!!!! thank you sooo mich!!!

  • @aaronbrownsound

    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".

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more