 |
| Site Admin |
Joined: Thu Aug 14, 2008 9:26 pm Posts: 1695
|
|
Attached is a .h and .m file for an Objective-C class to help with iOS apps that use file sharing via iTunes and the Documents directory.
Add the two files to your own project. Read the .h file for instructions on using the class. The basic idea is that you setup this class to so your app receives a notification after the user adds, changes, or removes files from your app's Documents directory via iTunes. It is then up to your app to process those changes as appropriate. This class simply makes it trivial to get the notification that changes have occurred.
This code is posted to the public domain. See the .h file for more info.
This is unsupported code but if you find issues please let me know. I'm using this code in some of my own iOS apps.
| Attachments: |
File comment: FileSharingUtil.m and .h.
FileSharingUtil.zip [4.7 KiB]
Downloaded 130 times
|
|
|