Bindings: personName.length can't handle changing personName
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.