• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings - Address Display Problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings - Address Display Problem?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: How to implement iChat's smiley popup in the text entry field
  • Next by Date: RE: Bindings - Address Display Problem?
  • Previous by thread: NSMatrix of text cells, editable and selectable
  • Next by thread: Re: Bindings - Address Display Problem?
  • Index(es):
    • Date
    • Thread