• 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
Re: NSOpenPanel trouble with leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel trouble with leopard


  • Subject: Re: NSOpenPanel trouble with leopard
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 03 Dec 2007 13:46:59 -0800


On Dec 3, 2007, at 1:24 PM, Jim Correia wrote:

On Dec 3, 2007, at 4:11 PM, Adrien Mondot wrote:

I think I found one of the side effect that caused the problem : it was a NSOutlineView that was raising an error when updated, I don't understand why it was updating when calling NSOpenPanel, neither why it raise an error...
I removed the notification I was using, and now it's working (almost) normally


[[NSNotificationCenter defaultCenter] addObserver: self
				         selector: @selector(forceSelectionDidChange:)
					     name: NSOutlineViewSelectionDidChangeNotification
	                              	   object: forceView];

Was forceView nil at the time you registered for the notification? If so, you will get a notification for *every* outline view.



Yup; I was guessing the same thing. I've seen this type of problem before.


--corbin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSOpenPanel trouble with leopard (From: Adrien Mondot <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: John Stiles <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Adrien Mondot <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Corbin Dunn <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Adrien Mondot <email@hidden>)
 >Re: NSOpenPanel trouble with leopard (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Single column NSListView bug?
  • Next by Date: Re: Binding NSTabViews in NSCollectionViews?
  • Previous by thread: Re: NSOpenPanel trouble with leopard
  • Next by thread: One window, multiple nibs?
  • Index(es):
    • Date
    • Thread