Re: Simple messages problem

2008-03-20 Thread Jack Repenning
On Mar 20, 2008, at 6:32 PM, K. Darcy Otto wrote: Thanks for your help; that change did clear up the warning. I want to make sure I understand your explanation though: All these questions have the same answer. In Objective-C, you can arrange for your messages to go to objects (types) that

Re: Simple messages problem

2008-03-20 Thread K. Darcy Otto
Thanks for your help; that change did clear up the warning. I want to make sure I understand your explanation though: How is [self.sequent objectAtIndex:lineCount-1] of type "id" as opposed to of type "DeductionLine" (since self.sequent is an NSArray of DeductionLine objects)? Is it that

Re: Simple messages problem

2008-03-20 Thread Quincey Morris
On Mar 20, 2008, at 15:25, K. Darcy Otto wrote: So, I seem to be having a problem with the following code, and I think I've traced it to how the messages are nested; but I cannot seem to solve it. Consider the following code, which works without warnings (self.sequent is an NSArray):

Simple messages problem

2008-03-20 Thread K. Darcy Otto
So, I seem to be having a problem with the following code, and I think I've traced it to how the messages are nested; but I cannot seem to solve it. Consider the following code, which works without warnings (self.sequent is an NSArray): DeductionLine *dl1 = [self.sequent objectAtIn