I have an application I'm working on that I need to be able to read/store two strings (a username and password) to a preference file. This is my first dabble in objective-c, and unfortunately I cannot understand how the programs I've looked at the code for do this. I've managed to hack together a UI based on examples and google-code projects, but reading/writing to a file is too much at the moment.