• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it possible to read a file icon from iOS file system?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it possible to read a file icon from iOS file system?


  • Subject: Is it possible to read a file icon from iOS file system?
  • From: Brad Stone <email@hidden>
  • Date: Mon, 10 Dec 2012 17:34:03 -0500

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is it possible to read a file icon from iOS file system?
      • From: Brad Stone <email@hidden>
  • Prev by Date: Re: clarification about document type extensions
  • Next by Date: Re: Is it possible to read a file icon from iOS file system?
  • Previous by thread: Re: NSPointerArray on iOS - truly __weak?
  • Next by thread: Re: Is it possible to read a file icon from iOS file system?
  • Index(es):
    • Date
    • Thread