Re: [Pyobjc-dev] Bridging NSMutableString, a compromise
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-02-07 22:57:16
|
Jack Jansen wrote: > Still, I think the whole idea of this double-headed-monster-string is > far to complex for the problem we're trying to solve. Yet the module that Ronald just posted is remarkably small. It's very simple, it must be good! ;-) Bill's stuff also looks pretty good! We actually manages to reuse the Python string storage! > If we would just return the actual object, i.e. an NSString or > NSMutableString, all our problems would disappear, except for one: it > is cumbersome (not to mention butt-ugly) to have to do > obj.NSStringAsCString(), or even str(obj), on 99% of all the > NSStrings you get back from objc. Which is IMO exactly what we must avoid. Just |