Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:16:27+00:00 2026-05-23T20:16:27+00:00

I have the following setup using Core Data: Nib1: A WindowController with two custom

  • 0

I have the following setup using Core Data:

Nib1:
A WindowController with two custom views, that loads the views from Nib2 and Nib3.

Nib2:
NSTreeController with an custom class, that has an property to fetch some child objects by selection, called selectedAssetsBySelection. The TreeController prepares its content with CoreData.

Nib3:
It is a NSArrayController with the “Content Array” binding bound to selectedAssetsBySelection of the NSTreeController of Nib2.

The Array in Nib3 is notified about selection changes by

[contextViewController bind:@"selectedAssets" toObject:naviViewController.treeController withKeyPath:@"selectedAssetsBySelection" options:nil];

within Nib1, the window controller.

Everything works fine and when I select an object within the TreeController in Nib2 the array in Nib3 is updated and when I change the title of an object in Nib3 it is also persisted.

All Array Controllers are also bound to the correct managed Object Context.

Now to the problem:
When I delete an object via remove-Action of Array Controller in Nib3 I get an EXC_BAD_ACCESS-Error.

enter image description here

Anybody a clue?

Best regards, hijolan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:16:28+00:00Added an answer on May 23, 2026 at 8:16 pm

    Yeah!!!! I made it… 😉

    I had to check these two checkboxes on the arraycontroller in Nib3:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following Core Data setup: Project has-many Answer Field has-many Answer Answer
I have an application using Core Data and bindings. I want to have an
I have setup my first core data project. Everything works fine until I do
I have the following setup (which works fine). Using CodeFirst (CTP4). A template has
I have the following setup: Code on my local machine (OS X) shared as
How do you setup a multi-developer XDebug PHP environment? I have the following setup:
I have following foreach-loop: using System.IO; //... if (Directory.Exists(path)) { foreach(string strFile in Directory.GetFiles(path,
What are some of the obscure pitfalls of using Core Data and threads? I've
I have the following setup: MainApp.exe checks for updates, downloads latest updates. The problem
So, I have the following setup in Eclipse (Java): I have a project (lets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.