[Pyobjc-dev] NSString.localizedCaseInsensitiveCompare:
Brought to you by:
ronaldoussoren
From: David E. <epp...@ic...> - 2002-12-22 23:20:22
|
Shouldn't this work? NSString.localizedCaseInsensitiveCompare_('foo','bar') When I try it I get a complaint that the argument should be an NSString instead of a Python string. I guess this means there is a signature missing somewhere? I don't understand signatures well enough to correct it. Really it would be better to be able to call 'foo'.localizedCaseInsensitiveCompare_('bar') but I can see why that's unlikely to work... -- David Eppstein UC Irvine Dept. of Information & Computer Science epp...@ic... http://www.ics.uci.edu/~eppstein/ |