In iOS is there a way I can get access a file's icon?  

I use [NSWorkspace iconForFile] in OS X.  I looked a lot yesterday and I don't 
**think** there is a way in iOS.  My OS X app has an iOS client and the files 
will be synced using iCloud.  My app's document structure is a file package 
with a core data database and user files in it (Excel, for example).  When they 
open the package with my client in iOS they see a table view with the file 
names and I want them to see the icons.

I'm trying to read the icon from the file as a work-around because the icon is 
stored as an NSImage in the core data database.  I thought if I could avoid 
modifying my core data model by reading the image from the file and I'll just 
remove the attribute form the iOS model.  To make the image work in iOS will 
require me to change all the thousands of NSImages in the OS X world which is 
where I'll probably end up.

Thanks
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to