NSRuleEditor bindings

2009-01-12 Thread cacaodev
Hello, Has anyone achieved to use NSRuleEditor with the "rows" bindings. I can use it successfully when it's binded to an ivar of a controller object. Now i'm trying to bind "rows" to a NSArrayController. The first time I select an object of the NSArrayController , the rows appear corre

compare:options:range: bug ?

2008-10-26 Thread cacaodev
Hello list. Very simple question. [@"a" compare:@"b" options:0 range:NSMakeRange(3,4)]; ... does not raise an exception. The doc for this method says : "Important: Raises an NSRangeException if range exceeds the bounds of the receiver." Question: is this a bug in cocoa or in the doc ? MacO