Using Remote Text Files
Hi, I am developing an iPhone App and what I need to do is this, when the user clicks a button the program will display the contents of a remote txt file from my website (Not the HTML, just the contents of the txt files, ex:
http://www.testing123.com/txtfiles/test.txt) and display it in a label or UITextView, whichever one. I have been searching the internet for the answers and I cannot find the answer. I am a newbie at Objective C and need someone's help. The most easiest way to do it would be great. Thanks so much to anyone that can help me! I was looking at possibly using NSString stringWithContentsOfURL or NSString stringWithContentsOfFile but I do not know how to use them.
Nicholas
Nicholas
Mac OS X (10.5.4)