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

NSOutlineView update strangeness


  • Subject: NSOutlineView update strangeness
  • From: Benjámin Salánki <email@hidden>
  • Date: Tue, 13 Dec 2005 15:38:15 +0100

Hello list,

I have a strange problem with NSOutlineView, hopefully someone can help me.

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.

Even if I programmatically ask the NSOutlineView to reload its data and redisplay or manually resize the window to trigger a resize, nothing changes.

But here comes the thing: if I switch to another application, say the Finder, and then switch back to my app, and then manually resize the window, the correct names suddenly appear!

Is this some weird caching strangeness of OS X, or am I doing something completely wrong. I bet on the first one, as this is not my first time with NSOutlineViews. But I ran out of ideas what I could do to improve the situation.

I hope someone can help me without the need of posting my code as it is pretty much and a lot of functions are called, so please please please someone help me.

Thanks,
Ben
_______________________________________________
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: Corbin Dunn <email@hidden>
  • Prev by Date: RE: NSObject Exercise comments?
  • Next by Date: [COREDATA] Assign NSManagedObject to persistent store
  • Previous by thread: Re: NSMutableArray won't tell me its count !
  • Next by thread: Re: NSOutlineView update strangeness
  • Index(es):
    • Date
    • Thread