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*
ERROR MESSAGE: 'stringWithContentsOfURL:' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.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?
ERROR MESSAGE: 'stringWithContentsOfURL:' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.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?
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?
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.
thank you very much
wael81wael 2 months ago
This has been flagged as spam show
just a note, stringWithContentsOfURL has deprecated, now need to use something like:
[NSString stringWithContentsOfURL:feedURL encoding: NSASCIIStringEncoding error: nil]
northy179 2 months ago in playlist Uploaded videos
just a note, stringWithContentsOfURL has deprecated, now need to use something like:
[NSString stringWithContentsOfURL:feedURL encoding: NSASCIIStringEncoding error: nil];
northy179 2 months ago in playlist Uploaded videos
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*
northy179 2 months ago
Can you let the user type a web address to load the text? Thanks!
ComputerExpertHarry 11 months ago
Comment removed
ComputerExpertHarry 1 year ago
This has been flagged as spam show
I get an error message........ for this line
NSString *mystring = [NSString stringWithContentsOfURL:myurl];
ERROR MESSAGE: 'stringWithContentsOfURL:' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.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?
knitsu 1 year ago
I get an error message........ for this line
NSString *mystring = [NSString stringWithContentsOfURL:myurl];
ERROR MESSAGE: 'stringWithContentsOfURL:' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.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?
knitsu 1 year ago
--> 2:03 LOL!!! The same as my mom...
mobilezonetv 1 year ago
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.
TheMacGabhanns 2 years ago
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.
PixelCUBEstudios 2 years ago
awesome vid when can you do the vid on saving integers?
if you cant can you just show me the code?
9livesoftware 2 years ago