Posts

Post not yet marked as solved
1 Replies
258 Views
I am new... I have no idea what tag to select for this.. I have a file SeedFile.txt in the On My iPhone directory. I am trying to read it, and to write a different file out. To find it, I tried the following to get a path to the file, but I get a nil string.     NSString *filepath = [[NSBundle mainBundle] pathForResource:@"SeedFile" ofType:@"txt"]; Lines of obj c code to read this file and to write a myfile.txt would be appreciated.
Posted
by GPSuser.
Last updated
.
Post not yet marked as solved
0 Replies
315 Views
Being new at this, I created a new swift project. The default code build and the 'hello world' shows in the simulator. I added a text and a button object by dragging them onto the storybook. Now running the project the text briefly shows, the button does not, and then the text disappears and the 'hello world' shows. I cannot find a simple sample project to start with that might have such objects and all the queries online have not been explicit as to how to make this work.
Posted
by GPSuser.
Last updated
.