I'm a absolute beginner to Xcode and Objective-C, hey that sounded like the book I'm reading by Rory Lewis ! I'm trying to write a simple question game for IOS.
This is my first app, except a few versions "Hello world" ;-) I have read a large number of forums, and I haven't yet found what I'm looking for.
So I would like to read out a random line from a plain textfile, let's say "file.txt" wich contains about 500 lines. When I press a button, I would like the app to fetch a random line from the file.txt and present it on the screen. I have tried a number things, and I feel that I'm just fumbling in the dark ! Hoping someone will point me in the right direction (a basic one please ;-).
Something like this should work: