• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
tableViewSelectionDidChange Not Called After Window Closed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Assuring Helvetica font present
  • Next by Date: Re: Setting file visibility in Cocoa
  • Previous by thread: Re: NSAttributedString can't initWithHTML
  • Next by thread: PDFView layz loading
  • Index(es):
    • Date
    • Thread