gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Methods +readable/writableTypes


From: Wolfgang Lux
Subject: Re: Methods +readable/writableTypes
Date: Fri, 7 Feb 2014 09:59:14 +0100

Hi Germán,

> Some weeks ago I tried to solve a problem with native Open/Save panels at 
> WinUXTheme. These panels don't have "accessory view", so the user can't 
> select other type of document. Then I tried use the methods +writableTypes 
> and +readableTypes in NSDocument. However, these methods not always return 
> the corresponding types. I tested WinUXTheme (my local copy) with Ink, Gorm 
> and Gemas. Ink works perfectly. Gorm only show the types at Open panels, but 
> in Save panels +writableTypes return an empty array. In Gemas both methods, 
> +readableTypes and +writableTypes, return an empty array. I tested this on my 
> GNU/Linux machine, and I can confirm that these methods sometimes return an 
> empty array. Even when readable/writable types are clearly declared at 
> info.plist. Is this the expected behavior?

No this isn't the expected behavior and I couldn't reproduce it on a few quick 
tests. Are you sure that you are calling this method against the right class 
object?

Wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]