Unicode in URLs (was "Handling framework exceptions/errors?")

2008-06-29 Thread David Troy
NSURL URLWithString: ? Thanks! Dave On Jun 29, 2008, at 4:00 PM, Jens Alfke wrote: On 29 Jun '08, at 9:56 AM, David Troy wrote: I have a situation where I am loading arbitray data from network- supplied URLs. Sometimes the URLs contain Kanji unicode characters. When they do, my HT

Handling framework exceptions/errors?

2008-06-29 Thread David Troy
Hey folks, I am fairly new to Cocoa development, so bear with me. I have a situation where I am loading arbitray data from network- supplied URLs. Sometimes the URLs contain Kanji unicode characters. When they do, my HTTP loading mechanism (which is built around NSURL* frameworks) dies wi

NSURLCache - how?

2008-06-14 Thread David Troy
Greetings, Do I need to do anything special to get NSURLCache to be active, like initialize it somehow? I would assume it should be active across the lifespan of an application, and for all NSURLRequests/NSURLConnections. I am using NSURLRequestReturnCacheDataElseLoad and it seems to neve

Re: TDD/BDD testing methodologies?

2008-06-09 Thread David Troy
Thanks Jonathan for the pointers and thanks, Chris, for your work on the subject. I am sure I will be using these articles to get up to speed on Cocoa TDD, however slowly that may be. Thanks again! Regards, Dave On Jun 9, 2008, at 6:43 AM, Jonathan del Strother wrote: Take a look at Se

TDD/BDD testing methodologies?

2008-06-09 Thread David Troy
Hi there, I am new to Cocoa and XCode and have spent the most recent part of my 20+ years of programming using Ruby rather extensively. Part of the kool-aid in Ruby land is test-driven and behavior driven development practices (TDD/BDD). To go from that approach, where you generally start

Re: Learning Cocoa with RubyCocoa (was Regular Expressions)

2008-06-07 Thread David Troy
Syntactical transformations, especially those where semantic parity is retained, have never struck me as much of a barrier. I am new to Objective C (though not to C) and have had a lot of experience in Ruby, and I am struck by how structurally similar Objective C and Ruby actually are. The

Re: Regular Expressions?

2008-06-06 Thread David Troy
Depending on what you're doing you could try using Ruby Cocoa. In theory this should give you access to all of Ruby's internal regexp support, combined with the GUI goodness of Cocoa. However, this has limitations of its own, such as distribution audience, speed, etc. Dave On Jun 6, 200