• 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: NSBrowser Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser Question


  • Subject: Re: NSBrowser Question
  • From: Keary Suska <email@hidden>
  • Date: Sun, 14 Feb 2010 19:19:40 -0700

On Feb 14, 2010, at 3:53 PM, Brad Stone wrote:

> I have an app that saves it's documents in a fileWrapper.  The document's window has a NSBrowser where users can attach files.  Before the document is saved for the first time the NSBrower's root is a temporary attachments folder (because the filewrapper doesn't exist).  After it's saved that attachment folder is moved into the wrapper.  When I save the file for the first time, even though I set the root item to the attachment folder in the wrapper, the Browser can't find the attachments (the items are still looking in the temp folder).  If I close and reopen the document it works fine.
>
> What do I have to do to tell the NSBrowser that the root item has been changed and that the items are now in the attachment folder in the wrapper?

Did you call reloadColumn: after the change?

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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

  • Follow-Ups:
    • Re: NSBrowser Question
      • From: Brad Stone <email@hidden>
References: 
 >NSBrowser Question (From: Brad Stone <email@hidden>)

  • Prev by Date: Re: Dock position and size
  • Next by Date: Re: Dock position and size
  • Previous by thread: NSBrowser Question
  • Next by thread: Re: NSBrowser Question
  • Index(es):
    • Date
    • Thread