Re: Simple array controller master-detail binding problem

2009-08-24 Thread Kyle Sluder
On Mon, Aug 24, 2009 at 9:58 AM, Leon Starr wrote: > Pardon my thinking as I write I am guessing I need the retain because > this thing is being autoreleased.  AND it worked in the command line because > the pool isn't drained in the middle of my session, but with a GUI it is > drained on each

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Leon Starr
Yes it does, Kyle! I was so focused on being an array controller binding idiot that I forgot that I was also a memory management fool. I was about to google that NSZombie thing - which I will do next, when I took one more look at the code, this time with a clear focus on memory. The rele

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Kyle Sluder
On Mon, Aug 24, 2009 at 9:14 AM, Leon Starr wrote: > There was no error message in the session when I originally submitted my > question.  But I just tried running my code (unchanged) this morning several > times and found that SOMETIMES I get an error in the console just before the > stack trace.

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Leon Starr
On Aug 24, 2009, at 5:43 , cocoa-dev-requ...@lists.apple.com wrote: From: Quincey Morris Subject: Re: Simple array controller master-detail binding problem On Aug 23, 2009, at 19:58, Leon Starr wrote: I can't make a lot of sense out of the stack trace, but it does end with: 0 objc_msgSend 1 o

Re: Simple array controller master-detail binding problem

2009-08-23 Thread Quincey Morris
On Aug 23, 2009, at 19:58, Leon Starr wrote: I can't make a lot of sense out of the stack trace, but it does end with: 0 objc_msgSend 1 objc_getProperty 2 -[Combatant weapons] 3 -[NSObject(NSKeyValueCoding) valueForKey:] 4- [NSObject(NSKeyValueCoding) valueForKeyPath:] You left out the vital

Simple array controller master-detail binding problem

2009-08-23 Thread Leon Starr
Well, simple for you guys I hope! I apologize in advance for this monstrosity of a question, but I've had a tough time narrowing this thing down so I'm laying out all the details to keep the thread short in hopes that someone will spot an obvious mistake right away. Any help greatly apprec