Bindings - Address Display Problem?
Bindings - Address Display Problem?
- Subject: Bindings - Address Display Problem?
- From: "Wayne Lau" <email@hidden>
- Date: Sat, 13 Nov 2004 12:53:19 -0800
Hi,
In Interface Builder, I currently have an NSArrayController setup whose
contentArray is bound to an array set in my NSDocument class.
Now, I have an NSPopUpButton in the GUI and I bind its "content" bindings to
the NSArrayController and it works great as it displays all my array entries
in there.
However, I subclassed NSArrayController so I could ovverride the
arrangeObjects: function and filter the list. When I went to run the program
again, the NSPopUpButton displayed "<Item: 0x3eb310>, where Item is my data
class.
Initially I thought my version of arrangeObjects was causing errors, but
when I only put "return [super arangeObjects:objects];" the program still
displays that wierd address problem in the popup.
Could it be my binding in IB? Is it supposed to be set to something else?
I'm not too experienced with the other binding options...
Any help would be great. Thanks.
_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft®
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden