• 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
NSManagedObject data only shows up in view sometimes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSManagedObject data only shows up in view sometimes


  • Subject: NSManagedObject data only shows up in view sometimes
  • From: "Adam Gerson" <email@hidden>
  • Date: Wed, 2 Apr 2008 00:42:19 -0400

I have a classic NSTreeController / NSOutlineView situation. The
TreeController has a SortDescriptor on it. I am programatically adding
a leaf node to a group node. It does not appear in the OutlineView
when I first add it. When I inspect the CoreData .xml file the leaf
node is there and it appears to have the right relationships. Then if
I launch the program again there is a 50/50 chance the leaf node will
appear. I just keep launching and quitting the program without making
any changes to the data. Sometimes the child is is the OutlineView and
sometimes it is not.

With a SortDescriptor applied what other changes could cause the
OutlineView to sometimes show a node and sometimes not on different
launches?

Thanks,
Adam
_______________________________________________

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: NSManagedObject data only shows up in view sometimes
      • From: "Adam Gerson" <email@hidden>
  • Prev by Date: activate my application while dragging on other application window
  • Next by Date: HUD panel is deallocating itself after close
  • Previous by thread: Re: activate my application while dragging on other application window
  • Next by thread: Re: NSManagedObject data only shows up in view sometimes
  • Index(es):
    • Date
    • Thread