Re: Strange NSZombie occurring

2011-08-07 Thread Dr. Scott Steinman
> Have you seen Hillegass's book on Cocoa. It's an excellent start for Cocoa > newbies. I took Aaron's course about 10 years ago, but didn't have a chance to use Cocoa since then due to job requirements. I lost a lot of my books recently in a disaster (aren't you all getting tired of knowing h

Re: Strange NSZombie occurring

2011-08-07 Thread Scott Ribe
On Aug 7, 2011, at 10:51 AM, Dr. Scott Steinman wrote: > I don't like to bother other people with my problems (besides, learning from > my mistakes was the way I learned before). Maybe with Cocoa this is a bad > idea. Have you seen Hillegass's book on Cocoa. It's an excellent start for Cocoa

Re: Strange NSZombie occurring

2011-08-07 Thread Dr. Scott Steinman
Ah. I see some of your points. Very dumb of me. I'm new to Cocoa, but I did program in a number of other languages for 30 years. I apologize for not being clear enough. Pain and nausea tend to mess up the clarity of my thinking. Unfortunately, I'm ill most of the time (don't ask about my heal

Re: Strange NSZombie occurring

2011-08-07 Thread Fritz Anderson
Is this really your code? There are some oddities that make me wonder. Also, your subject line talks about NSZombie (an instance of a class that gets substituted into an object when it is released, if you have NSZombieEnabled set), but your complaint is that a property is nil when you don't expe

Re: Strange NSZombie occurring

2011-08-07 Thread Andy Lee
On Aug 7, 2011, at 10:25 AM, Andy Lee wrote: > On Aug 7, 2011, at 9:10 AM, Scott Steinman wrote: >> -(void)setUp >> { >> words = [[self wordsFromPhrase:phrase]] retain]; >> [self start]; >> } > > Is this your exact code? You use wordsFromPhrase: here but the method below > is wordsInPhrase:.

Re: Strange NSZombie occurring

2011-08-07 Thread Andy Lee
On Aug 7, 2011, at 9:10 AM, Scott Steinman wrote: > -(void)setUp > { > words = [[self wordsFromPhrase:phrase]] retain]; > [self start]; > } Is this your exact code? You use wordsFromPhrase: here but the method below is wordsInPhrase:. > -(NSArray *)wordsInPhrase:(NSString *)thePhrase > { >

Re: Strange NSZombie occurring

2011-08-07 Thread Keary Suska
On Aug 7, 2011, at 7:10 AM, Scott Steinman wrote: > I've got a zombie appearing in the weirdest place in my program. Here is the > relevant part of the code, using generic names for the methods: > First off, this isn;t a zombie issue. Zombies are objects that haven't died though they should h

Strange NSZombie occurring

2011-08-07 Thread Scott Steinman
I've got a zombie appearing in the weirdest place in my program. Here is the relevant part of the code, using generic names for the methods: -(void)setUp; -(void)start; -(void)changeWords:(NSTimer*)theTimer; -(NSArray *)wordsInPhrase:(NSString *)thePhrase; @property (nonatomic, assign) int numW