Re: NSPredicateEditor error
Re: NSPredicateEditor error
- Subject: Re: NSPredicateEditor error
- From: Chris Idou <email@hidden>
- Date: Tue, 28 Oct 2008 15:27:18 -0700 (PDT)
Yes, I thought I had an NSButton, but it turned out I'd wrongly put in a NSPopupButton.
--- On Tue, 10/28/08, Peter Ammon <email@hidden> wrote:
> From: Peter Ammon <email@hidden>
> Subject: Re: NSPredicateEditor error
> To: email@hidden
> Cc: email@hidden
> Date: Tuesday, October 28, 2008, 11:41 AM
> On Oct 27, 2008, at 10:07 PM, Chris Idou wrote:
>
> >
> > I'm getting the following error:
> >
> > In <NSPredicateEditor: 0x1096070>, different
> number of items (3)
> > than predicate template views (4) for template
> <MyRowTemplate
> > 0x12487e0: [move:] [] NSStringAttributeType>
> >
> >> From experimenting, the only difference between
> the
> >> NSPredicateEditorRowTemplate that is failing and
> my other ones that
> >> work fine, is that this one has a NSButton in its
> list of views.
> >
> > Has anyone else seen this before, and have any
> insight?
>
> One reason for this message (which could be a lot clearer)
> is that
> templateViews contains a NSPopUpButtonwith no items.
> NSPredicateEditor doesn't support empty popup buttons
> yet. Does that
> help?
>
> -Peter
_______________________________________________
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