Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Content type/UTI to open CSV in app

How can I write the CFBundleDocumentTypes property of my .plist file, to allow the app to be displayed in the "Open in..." dialog in the other applications?

That's mine, but it doesn't work

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeIconFiles</key>
        <array/>
        <key>CFBundleTypeName</key>
        <string>Readings</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>text.csv</string>
        </array>
    </dict>
</array>
like image 805
albianto Avatar asked Jul 16 '11 06:07

albianto


People also ask

How do I open a CSV file in text editor?

To open a CSV file in text editor or Notepad, Go to the CSV file you want to open. Right-click on it. Go to Open With. Select Notepad or Notepad++


1 Answers

Found it: public.comma-separated-values-text

like image 172
albianto Avatar answered Oct 17 '22 10:10

albianto