Reading a file from disk - ParkinT/RubyMotion_Life GitHub Wiki
How To
Read a file from disk
The file has to be located under the resources directory, and it can be accessed using the following code:
@local_feed = File.join(App.resources_path, 'feed_parser_data.xml')
puts File.read(@local_feed)
App.resources_path is a shorthand to NSBundle.mainBundle.resourcePath