I have NSData that I’m loading from a filePath. The data is then getting passed around and I need the filePath for where the data came from.
What’s the easiest way to do this short of passing the filePath around as an extra parameter?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Wrap both in a container object that represents the file, e.g.