Re: core data and IB outlet binding

2008-04-10 Thread Torsten Curdt
On Apr 10, 2008, at 17:51, Keary Suska wrote: on 4/10/08 4:30 AM, [EMAIL PROTECTED] purportedly said: Here is a small screenshot of the bindings http://vafer.org/pub/bindings.png As the button binding is working so should the NSTextField binding ...one would think. But just to verify I've

Re: core data and IB outlet binding

2008-04-10 Thread Keary Suska
on 4/10/08 4:30 AM, [EMAIL PROTECTED] purportedly said: >> Here is a small screenshot of the bindings >> >> http://vafer.org/pub/bindings.png >> >> As the button binding is working so should the NSTextField binding ...one >> would think. But just to verify I've also added the awakeFromNib. As e

Re: core data and IB outlet binding

2008-04-10 Thread Torsten Curdt
On Apr 10, 2008, at 10:00, Torsten Curdt wrote: Is you outlet actually connected in IB? If it is properly connected, it shouldn't be nil. Yeah ...that's connected. Which is why I am so surprised it's nil. Well, AFAIK it's not possible for an outlet to be nil, as long as the object with

Re: core data and IB outlet binding

2008-04-10 Thread Torsten Curdt
Is you outlet actually connected in IB? If it is properly connected, it shouldn't be nil. Yeah ...that's connected. Which is why I am so surprised it's nil. Well, AFAIK it's not possible for an outlet to be nil, as long as the object with the outlet is instantiated in the nib or is the file

Re: core data and IB outlet binding

2008-04-10 Thread Torsten Curdt
On Apr 9, 2008, at 17:45, Mike R. Manzano wrote: Are you sure you're calling applyFilter after or during awakeFromNib? i.e., you're not calling applyFilter in some sort of - init, right? No, see the IBAction ...it's bound to a button and it only gets called when I press the button. cheer

Re: core data and IB outlet binding

2008-04-09 Thread Keary Suska
on 4/9/08 9:14 AM, [EMAIL PROTECTED] purportedly said: > On Apr 9, 2008, at 17:06, Keary Suska wrote: >> on 4/9/08 4:31 AM, [EMAIL PROTECTED] purportedly said: >> >>> When the button is pressed it turns out that filterExpression (and >>> therefor also the stringValue of it) is nil. >>> >>> I ass

Re: core data and IB outlet binding

2008-04-09 Thread Mike R. Manzano
Are you sure you're calling applyFilter after or during awakeFromNib? i.e., you're not calling applyFilter in some sort of -init, right? Mike On Apr 9, 2008, at 3:31 AM, Torsten Curdt wrote: I have a custom NSCollectionViewItem @interface FilterViewItem : NSCollectionViewItem {

Re: core data and IB outlet binding

2008-04-09 Thread Torsten Curdt
On Apr 9, 2008, at 17:06, Keary Suska wrote: on 4/9/08 4:31 AM, [EMAIL PROTECTED] purportedly said: When the button is pressed it turns out that filterExpression (and therefor also the stringValue of it) is nil. I assume somehow I could probably also get the value from the NSArrayController ..

Re: core data and IB outlet binding

2008-04-09 Thread Keary Suska
on 4/9/08 4:31 AM, [EMAIL PROTECTED] purportedly said: > When the button is pressed it turns out that filterExpression (and > therefor also the stringValue of it) is nil. > > I assume somehow I could probably also get the value from the > NSArrayController ...but > > a) I am not sure how to get

Re: core data and IB outlet binding

2008-04-09 Thread Torsten Curdt
No one a suggestion on how to track this down? On Apr 9, 2008, at 12:31, Torsten Curdt wrote: I have a custom NSCollectionViewItem @interface FilterViewItem : NSCollectionViewItem { IBOutlet NSTextField *filterExpression; } - (IBAction) applyFilter:(id)sender; @end It's

core data and IB outlet binding

2008-04-09 Thread Torsten Curdt
I have a custom NSCollectionViewItem @interface FilterViewItem : NSCollectionViewItem { IBOutlet NSTextField *filterExpression; } - (IBAction) applyFilter:(id)sender; @end It's getting filled via core data just fine. Then I've also bound the filterExpression to the