• 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: NSOutlineView update strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView update strangeness


  • Subject: Re: NSOutlineView update strangeness
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 13 Dec 2005 08:25:33 -0800

Ben,
It is hard to say what is wrong, but the problem probably isn't in NSOutlineView but rather your datasource.


After dragging an item from the Finder onto the NSOutlineView I want to to check if an item with the same name already exists. If it does, I add a number to the end of the name. It all works fine, only the NSOutlineView always displays the name from the original source.

One can drag text from the pboard, or a filename. It sounds like you are dragging filenames and doing something with them in your app, and displaying them. The problem is probably due to how you display the filenames, and/or get the display name, and/or rename a file (if that is what you are really doing --- again, it is hard to say from your description).

-corbin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSOutlineView update strangeness
      • From: Benjámin Salánki <email@hidden>
    • Re: NSOutlineView update strangeness
      • From: Benjámin Salánki <email@hidden>
References: 
 >NSOutlineView update strangeness (From: Benjámin Salánki <email@hidden>)

  • Prev by Date: Re: event pressure:
  • Next by Date: Re: Setting initial filename for Save As
  • Previous by thread: NSOutlineView update strangeness
  • Next by thread: Re: NSOutlineView update strangeness
  • Index(es):
    • Date
    • Thread