Added: 2 years ago
From: PixelCUBEstudios
Views: 3,726
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • thank you very much

  • just a note, stringWithContentsOfURL has deprecated, now need to use something like:

    [NSString stringWithContentsOfURL:feedUR­L encoding: NSASCIIStringEncoding error: nil];

  • you would save yourself a lot of time doing one tutorial on creating a new project, then for all your following tutorials just dive straight in to it with a link to the first, other than that, love your work *thumbs up*

  • Can you let the user type a web address to load the text? Thanks!

  • Comment removed

  • I get an error message........ for this line

    NSString *mystring = [NSString stringWithContentsOfURL:myurl]­;

    ERROR MESSAGE: 'stringWithContentsOfURL:' is deprecated (declared at /Developer/Platforms/iPhoneSim­ulator.platform/Developer/SDKs­/iPhoneSimulator3.0.sdk/System­/Library/Frameworks/Foundation­.framework/Headers/NSString.h:­358)

    I've ran it on 3.0 SImulator/Device all the way till 3.1.3 and even 4.0, any idea why this coding is not working?

  • --> 2:03 LOL!!! The same as my mom...

  • Cool tutorial, I have one quick question: you showed here how to download a static text file, but what if I want to periodically update live sports scores in an app is there an easy way to do this?

    Thanks,

    Daragh.

  • Yeah its actually very simple! Just make a timer that calls the update method. So for example in your .m file you would put NSTimer *mytimer and in your .h file you would have mytimer = [NSTimer scheduledTimerWithTimeInterval­... and you can just let it auto complete the rest.

  • awesome vid when can you do the vid on saving integers?

    if you cant can you just show me the code?

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