dependent unit test

2009-07-11 Thread Ariel Rodriguez
s the path to the main exec? Best. Ariel Rodriguez We can deny everything, except that we have the possibility of being better. ~ Dalai Lama ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

ass/ssa support

2009-01-26 Thread Ariel Rodriguez
Does anybody knows if there are some cocoa library to parse ass/ssa files? I know libass, but as far as i can see, it have a few memory leaks (and since i am planning to work with Cocoa Touch, i am really concerned about memory leaks). Thanks and best regards. Ariel Rodriguez

Custom UIView and Interface Builder

2009-01-30 Thread Ariel Rodriguez
My problem is this. I need to build a rather complex UIView with lot's of labels and widgets, but much of the information to be displayed is not now until runtime, and some data might not be available. In the case data is not available, i need the label to disappear, not just hide. For inst

Problem with nested tags in xml

2008-11-12 Thread Ariel Rodriguez
I'm playing with a REST implementation. Basically, i am following this tutorial: http://developer.apple.com/webapps/articles/creatingrestfulclients.html And, as you can see, the xml produced by the app is this: 37id> Canada 12740 caiso_code> Where each country has a country tag (the

Re: Problem with nested tags in xml

2008-11-12 Thread Ariel Rodriguez
This is a classic example of where to use a finite state machine: Basically, you have an initial state and then an "inside country" state. Then inside your parser:didEndElement:namespaceURI:qualifiedName: you behave differently based on the c

SCNetworkReachabilityCreateWithName linking problem

2008-12-02 Thread Ariel Rodriguez
I;m trying to use SCNetworkReachabilityCreateWithName to test for reachability on my app, but i cannot get it to link the project. The linker complains about not finding the symbol. Obviously the directive #import is on place. I have been able to succefully compile a couple of Apple applic

Getting a substring

2008-12-05 Thread Ariel Rodriguez
My question is simple, at least that is what i think :) I need to extract something like this: 01816560 from something like this: http://www..com/diario/2008/12/05/um/m-01816560.htm My first idea was to use - (NSArray *)componentsSeparatedByString:(NSString *)separator with - first (to g

Karaoke like algorithm

2009-03-11 Thread Ariel Rodriguez
I'm working on a Karaoke-like application. I need to print out to the screen text lines at a given time, and then, paint each word at a given time. I keep thinking on an elegant way to do such that, and, i hace to tell, i am afraid, i have not get it right :(. Here's what i am doing (in pseu