On Jan 30, 2012, at 1:12 PM, Seth Willits wrote:
> On Jan 30, 2012, at 8:26 AM, Ken Thomases wrote:
>
>> content -> fileTypes
>> contentValues -> fileTypes.displayName
>> contentObjects -> fileTypes.uti
>> selectedObject -> fileType
>
>
> [...] The documentation could use another couple sentenc
On Jan 30, 2012, at 8:26 AM, Ken Thomases wrote:
> content -> fileTypes
> contentValues -> fileTypes.displayName
> contentObjects -> fileTypes.uti
> selectedObject -> fileType
I don't remember if I tried that exact combination or not; I know I did
something at least very similar. Seeing it this
On 1/30/12 11:34:11 AM, Keary Suska wrote:
For instance, when using selectedObject, the returned object must be an exact
object in the content/contentObjects array. -isEqual is not enough.
Thank you! You just unexpectedly solved me the headache I had for a long
time.
Leo
__
On Jan 30, 2012, at 12:32 AM, Seth Willits wrote:
> Say I have a file type popup in a save sheet for saving an image:
>
> @property NSString * fileType;
>
> - (NSArray *)fileTypes
> {
> return [NSArray arrayWithObjects:(id)kUTTypeJPEG, (id)kUTTypePNG,
> (id)kUTTypeTIFF, nil];
> }
>
> - (
On Jan 29, 2012, at 11:32 PM, Seth Willits wrote:
> This is such a dead simple problem that I think I've encountered a couple
> times over the years and I don't think I've managed to ever find a solution
> that works how I want. I'll break this down into an easy specific example.
>
>
> Say I
On Jan 29, 2012, at 22:32 , Seth Willits wrote:
> The popup should display the names, but I want the selected item bound to
> fileType which is one of the UTIs. By my reading of the documentation, this
> _should be very simple_.
>
> Bind:
> content -> fileTypes*
> contentValues -> fileTypeNames
This is such a dead simple problem that I think I've encountered a couple times
over the years and I don't think I've managed to ever find a solution that
works how I want. I'll break this down into an easy specific example.
Say I have a file type popup in a save sheet for saving an image:
@