• 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
Re: Help needed with NSController / Bindings problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed with NSController / Bindings problem...


  • Subject: Re: Help needed with NSController / Bindings problem...
  • From: mmalcolm crawford <email@hidden>
  • Date: Thu, 4 Mar 2004 17:28:07 -0800

On Mar 4, 2004, at 5:00 PM, Chris Pavicich wrote:

However, once the row selection changes in the table view, the text view is not update.
[...]
I have also tried logging calls to the each of my accessors to see if they are getting called. It appears that they are not.

One quick thought: final comment notwithstanding, how have you defined your accessor method?

- (void)setTextFieldText:(NSString *)newTextFieldText
{
if (textFieldText != newTextFieldText) {
[textFieldText release];
textFieldText = [newTextFieldText retain];
}
}

If so, re-implement it:

- (void)setTextFieldText:(NSString *)newTextFieldText
{
if (textFieldText != newTextFieldText) {
[textFieldText release];
textFieldText = [newTextFieldText copy];
}
}

If that's not it, please give more details.

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Help needed with NSController / Bindings problem... (From: Chris Pavicich <email@hidden>)

  • Prev by Date: Re: Help needed with NSController / Bindings problem...
  • Next by Date: Re: Help needed with NSController / Bindings problem...
  • Previous by thread: Re: Help needed with NSController / Bindings problem...
  • Next by thread: Icons
  • Index(es):
    • Date
    • Thread