Re: MutableArray losing contents

2010-04-02 Thread Quincey Morris
On Apr 2, 2010, at 14:03, Dean Pulsifer wrote: > The project is based on some Apple sample code. I took the existing > MainMenu.xib with its main window and added another window that included an > NSBrowser view. > > The File's Owner didn't have an obvious link to anything else. I am not > u

Re: MutableArray losing contents

2010-04-02 Thread Dean Pulsifer
The project is based on some Apple sample code. I took the existing MainMenu.xib with its main window and added another window that included an NSBrowser view. The File's Owner didn't have an obvious link to anything else. I am not using a document. Does this matter? The class of the controlle

Re: MutableArray losing contents

2010-04-02 Thread Dean Pulsifer
The array pointer is not null and it has the same value as when it was full. Yes, it is a member of the controller class. On Fri, Apr 2, 2010 at 4:30 PM, Jens Alfke wrote: > > On Apr 1, 2010, at 8:05 PM, Dean Pulsifer wrote: > > The second NSBrowser delegate to get hit is willDisplayCell:atR

Re: MutableArray losing contents

2010-04-02 Thread Quincey Morris
On Apr 1, 2010, at 20:05, Dean Pulsifer wrote: > The second NSBrowser delegate to get hit is willDisplayCell:atRow:column: > When I get to this call, the array has 0 objects. The self pointer is still > the same. It's a side issue, but did you check whether the mutable array instance variable w

Re: MutableArray losing contents

2010-04-02 Thread Jens Alfke
On Apr 1, 2010, at 8:05 PM, Dean Pulsifer wrote: The second NSBrowser delegate to get hit is willDisplayCell:atRow:column: When I get to this call, the array has 0 objects. The self pointer is still the same. Is the array pointer nil? Sending any message to a nil pointer returns zero (

MutableArray losing contents

2010-04-02 Thread Dean Pulsifer
I have looked through the forums, but don't think I have the problems that were described. I have a Cocoa app with a main window and a secondary window. I have a single controller. I don't have a model or a document because I am reading info from the OS and displaying it. In the controller, I h