• 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
UTI not being imported?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UTI not being imported?


  • Subject: UTI not being imported?
  • From: "C.W. Betts" <email@hidden>
  • Date: Mon, 05 Dec 2011 14:10:03 -0700

I'm trying to use an imported UTI in an application, but it isn't working. This is the UTI declared in the info.plist file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
	<key>UTTypeConformsTo</key>
	<array>
		<string>public.disk-image</string>
		<string>public.content</string>
		<string>public.data</string>
	</array>
	<key>UTTypeDescription</key>
	<string>PlayStation Disc</string>
	<key>UTTypeIdentifier</key>
	<string>com.codeplex.pcsxr.psxdiscfile</string>
	<key>UTTypeTagSpecification</key>
	<dict>
		<key>public.filename-extension</key>
		<array>
			<string>bin</string>
			<string>img</string>
			<string>mdf</string>
			<string>iso</string>
		</array>
	</dict>
</dict>
</plist>

And I'm trying to get an open dialog to use it via this call:
	[openDlg setAllowedFileTypes:[NSArray arrayWithObject:@"com.codeplex.pcsxr.psxdiscfile"]];
However, when I try to open a file (a empty file with .iso as the extension), I can't select it. What am I doing wrong?_______________________________________________

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: UTI not being imported?
      • From: Charles Srstka <email@hidden>
    • Re: UTI not being imported?
      • From: Kyle Sluder <email@hidden>
    • Re: UTI not being imported?
      • From: Sean McBride <email@hidden>
  • Prev by Date: Re: Alternate Framework location
  • Next by Date: Re: UTI not being imported?
  • Previous by thread: Re: Alternate Framework location
  • Next by thread: Re: UTI not being imported?
  • Index(es):
    • Date
    • Thread