tableViewSelectionDidChange Not Called After Window Closed
tableViewSelectionDidChange Not Called After Window Closed
- Subject: tableViewSelectionDidChange Not Called After Window Closed
- From: Keary Suska <email@hidden>
- Date: Wed, 24 Jan 2007 17:52:02 -0700
- Thread-topic: tableViewSelectionDidChange Not Called After Window Closed
I have a window with an NSTableView, in an NSTabView. The window is
displayed using -runModalForWindow:. The NSTableView delegate outlet is set
to a custom controller object. Everything works fine and I receive the
tableViewSelectionDidChange delegate message, but if I close the window
(using NSWindow's -close) and reopen the window (exact same code as opened
it the first time) I cease to get -tableViewSelectionDidChange notices.
An NSLog shows that the delegate is still connected. If I deallocate the
window controller that owns the nib that contains window/tableview, and then
reload it, everything starts working again, except that the same problematic
behavior repeats.
Any ideas?
If it is relevant, I am not using data source methods, nor is the data
source outlet connected. I am using bindings (NSArrayController subclass).
Thanks,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden