How can I watch a file and whenever it is written to insert the added contents to a NSTableView as a new row?
Share
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.
I’m not going to go into all the details of exactly how to do this, but I’m guessing that the sticking point for you is probably how to monitor a file in the filesystem. If that’s the case, the answer to this question should be useful:
Notification of changes to the iPhone's /Documents directory