Added: 2 years ago
From: XcodeMod
Views: 8,512
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (37)

Sign In or Sign Up now to post a comment!
  • Would this be that best way to save a large amount of objects?

  • Awesome tutorial, thanks. How do I do it for the text color of a label? I tried objects, integers, etc.. What am I doing wrong?

  • Thanks!

  • Thank you. This is the best tut for saving data. You rock!

  • Bad link...

  • Thanks Dewan

  • please upload a tutorial in which we create a plist,saves data in it entered in many textfields and then display button will display all teh data saved in the plist,...plz plz make asap..or else am teacher wont move ahead......:(:P

  • Thanks a lot man! I've tried 3 other tutorials an saving and loading data today and this is the first one that actually worked.

  • Great work, thanks!! : )

    Wish you could tell me how to connect this to an on/off switch, but I'll have to keep on reading..

    Thanks!

  • You added field to nil

    What is the point of that"?

  • you only synthesize properties...

  • great video! really helped. spent like 5 min looking for my password so i could log in an like it :)

  • Super tutoruial! Thanks :)

  • uhh...o-o

  • Awsome Video Tutorial, it's better than Apples own tutorials because you explain what the lines do after you write the code. Great Job... Apple needs to hire you!!!

  • This might sound noobish but, how do I load the text if its an int? I want to load a highscore

  • thanx man :) you helped me !!!!!!!

  • why don't you do cocos2d tutorials?

  • epic just what I needed

  • Thanks bro. I was trying to do exactly what you showed.

  • Thanks dude! Is it possible to load the selected segment index with a UISegmentControl?

  • How can u import it on a different view? please help!

  • @Ipoditouchreview3r NVM i got it! thanks any way!

  • What if i don't want it to load at launch. But have a load button with multiple saved items. How would you do this?

  • this is exactly what i need thank you so much

    works with textView too

  • Great tutorials! I tried this one, but when I run Build and Go, I just get a blank screen. Any idea?

  • What do you make field.text if you wanna save an image?

  • You would do this. I just free handed it so yea. Make sure to check errors if there are any.

    //create NSData

    NSData *ImageData = UIImageJPEGRepresentation(imag­e, 0.9);

    [[NSUserDefaults standardUserDefaults] setObject:imageData forKey:@"image"];

    //retreive and put in image

    NSData *imgData = (NSData*)[[NSUserDefaults standardUserDefaults] objectForKey:@"image"];

    UIImage *img = [UIImage imageWithData: imgData];

  • @AppStoreMod Where do I put that code? And how do I attach the image in the IB?

  • Same way as I did in the tut.

  • What is that background?

  • First Comment!!

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