27 Sep
2011
27 Sep
'11
9:29 p.m.
The following code prints false twice So it seems that the protocol is not applied correctly. Is this a bug or do I need some other require/framework statements? BTW the result is the same if i use "framework 'Cocoa'" -------- code ------------- framework 'AppKit' puts NSObject.alloc.init.conformsToProtocol Protocol.protocolWithName('NSKeyValueBindingCreation') puts NSTextField.alloc.initWithFrame([1,2,3,4]).conformsToProtocol Protocol.protocolWithName('NSKeyValueBindingCreation')