mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-22 04:53:26 +00:00
_NSTextFieldBinder is interfering with bindings
This commit is contained in:
parent
967564c0a5
commit
35392763a4
@ -33,6 +33,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
return [NSTextFieldCell class];
|
||||
}
|
||||
|
||||
#if 0
|
||||
// The "special" _NSTextFieldBinder class seems to be interfering more than
|
||||
// helping so cutting it out for now: http://code.google.com/p/cocotron/issues/detail?id=956&thanks=956&ts=1336420140
|
||||
+(Class)_binderClassForBinding:(id)binding
|
||||
{
|
||||
if ([binding isEqual:@"value"])
|
||||
@ -40,6 +43,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
else
|
||||
return [super _binderClassForBinding:binding];
|
||||
}
|
||||
#endif
|
||||
|
||||
-initWithCoder:(NSCoder *)coder {
|
||||
[super initWithCoder:coder];
|
||||
|
Loading…
x
Reference in New Issue
Block a user