18 Apr
2011
18 Apr
'11
8:34 p.m.
On Mon, Apr 18, 2011 at 22:06, Robert Rice <rice.audio@pobox.com> wrote:
But for consistency, you may want to add the .to_data method to the NSString
See the recent thread "Hash Table", it explains the funny business going on. I also posted something to discuss this general matter a few months ago but don't really remember if it got any traction (think not). I guess it approached this via NSArray. You don't need to use dataUsingEncoding, you can just convert that to a ruby string instead. Many ways to do that come to me: String(foo) String.new(foo) "".replace(foo) ""<<foo ""+foo