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 was nil at this point? That's always worth knowing if some method 
unexpectedly produced a 0/nil result (because sending a message to a nil object 
pointer produces a binary 0 return value -- in most cases).

> Both the primary and secondary windows are connected to the controller in
> Interface Builder.

What does this mean? What outlets are connected to the controller? What is the 
class of your controller object? A NSWindowController subclass?

More fundamentally, what NIB file organization are you using? Are there 
separate XIB/NIB files for each window? What's File's Owner for each NIB file? 
What is the *window* delegate for each of your windows?


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to