Quick question.
I want to write a file that I want to reside inside the final programmes package - how do i reference that?
(basically it’s the data from an array that I want to save everytime something in that array changes (and to be able to access should the programme crash))
OLIx
Have a look at NSBundle. But you should really be using defaults rather than writing to the bundle – a user may not have permission to write to the bundle.
ok - noob question - how do i use defaults - and what are they?
It’s the system whereby apps store user preferences in .plist files. There have been other posts here covering their use; search in Xcode Help for User Defaults to get chapter and verse.