Re: Calling UNIX command from Cocoa

2008-10-17 Thread Aurora Phoenix
Without knowing more specifics, I am struggling to find why one would need a full-blown class just to invoke a command. At the simplest, one could use the system(3) call, or the exec/spawn/fork/popen families depending on what you need. It is of course, possible to wrap up something fancy like

Re: Converting from HTML

2008-10-17 Thread Aurora Phoenix
Hi DI... Depending on how heavy you need to understand the structure of the HTML, a simple parse using string chopping/ranges might be sufficient OR (personally I would prefer) use something like libxml2 / Xpath to grok the input. Note simple resolution of entities might not be sufficient,

Extending URL Loading System - NSURLResponse

2008-10-09 Thread Aurora Phoenix
Hi! Due to strict requirements I am unfortunately unable to discuss openly, I am forced to implement low-level transport to an HTTP server. The app originally uses NSURLConnection, e.g. reply = [NSURLConnection sendSynchronousRequest: req returningResponse: