• 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: personName.length can't handle changing personName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings: personName.length can't handle changing personName


  • Subject: Bindings: personName.length can't handle changing personName
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 6 Jun 2004 15:06:58 +0200

I have a tableview with a personName column. I want to add a column which indicates the string length of each person. Constructing a binding with personName.length works fine when a new person is being created. Once the name is edited the coloured spinning ball shows forever. The same problem with personName.lowercaseString. However, personName.@count works fine.

Adding a function
-(int) personLength {
return personName.length;
}
and binding it to this variable solves this problem.

What should I do to make the personName.length to work properly without having to add any code?

Thanks,

Karel
_______________________________________________
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.


  • Follow-Ups:
    • Re: Bindings: personName.length can't handle changing personName
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: very sluggish editing
  • Next by Date: NSString Constants and Escapes
  • Previous by thread: Re: multiple window per document problems
  • Next by thread: Re: Bindings: personName.length can't handle changing personName
  • Index(es):
    • Date
    • Thread