• 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: Core Data, OutlineView, TreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data, OutlineView, TreeController


  • Subject: Re: Core Data, OutlineView, TreeController
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 23 May 2016 11:37:05 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sLbVmnrnd2:SMTPCORP

On May 23, 2016, at 11:16 , Raimond Hettrich <email@hidden> wrote:
>
> I have the following problem with the constellation coreData-treeController-outlineView.

Well, you keep asking, and you keep getting no answer, because no one on this list knows the answer — the problem domain is too large even to guess where to look.

My intuition says the problem is unwanted duplication. Somewhere within the complex of components (Core Data, KVO, NS…Controller, table view plus whatever else) there is a pair of duplicate objects, which means your data model isn’t actually connected to the user interface presented to the user. This sometimes happens to developers who are new to Cocoa because it’s not always obvious whether objects are created programmatically (via code) or archivally (via IB design).

I think your next step is to try to make your problem smaller. (It might help to work in a copy of your project, if your debugging changes are destructive.) Try adding objects to your managed object context via code, and see whether those changes are saved.

_______________________________________________

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: 
 >Core Data, OutlineView, TreeController (From: Raimond Hettrich <email@hidden>)

  • Prev by Date: Re: All threads in app periodically blocked
  • Next by Date: Re: All threads in app periodically blocked
  • Previous by thread: Core Data, OutlineView, TreeController
  • Next by thread: NSDocument not displaying save prompt on dirty document
  • Index(es):
    • Date
    • Thread