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 6128175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:35:50+00:00 2026-05-23T16:35:50+00:00

(self asking and self-answering because I spent hours on the web looking for this,

  • 0

(self asking and self-answering because I spent hours on the web looking for this, and most of the resources all say “I solved it in the end” without giving an explanation)

I had a very simple Core Data + Bindings application:

  • An NSArrayController pulling items out of Core Data
  • An NSTableView rendering them
  • Another NSTableView that when you click on a row in the first table, displays the details of that item

Item 3 above was causing application crash, with the error:

[(my NSManagedObject) copyWithZone:]: unrecognized selector sent to instance

Implementing that method (!) and putting a breakpoint there, I found it was being invoked by Apple’s NSCell class – this didn’t much help :(.

  • 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-23T16:35:51+00:00Added an answer on May 23, 2026 at 4:35 pm

    Turns out ALL the above are needed to trigger this, and XCode is allowing you to do something that’s wrong in 99.9% of situations, if not 100%.

    1. Core-Data objects cannot implement copyWithZone: – this causes the crash

    2. When a tableview is populated using Bindings, it tries to copy the values of the objects in the NSArrayController to render each Column

    3. …but if you fail to specify the Column binding fully (Xcode allows you to half specify it), then tableview tries the “copy” on the objects instead of their values

    The bug in my bindings: I had specified that a Table Column had a “value” with:

    Controller Key = “arrangedObjects”
    Model Key Path = (blank)

    (this is a bug in XCode4 autocomplete – it will delete the ModelKeyPath field sometimes when you tab away too quickly)

    Finish typing-in the binding, e.g.:

    Model Key Path = “value”

    …and everything works again.

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

Sidebar

Related Questions

I am asking for an Value like this: [self.layer valueForKeyPath:@transform.rotation.z] bit I need to
The reason I'm asking this is because right now I use an NSMutableSet of
It's pretty embarrassing asking this because I've been building apps for a while now.
This is a self-explanatory question: Why does this thing bubble into my try catch's
I am asking my self many times before start writing a new app or
I am asking for help on self-help, which is kind of an oxymoron. How
I am asking this from a language design point of view. So I am
I am asking here because I haven't gotten any help from the OpenCV developers
I've been asking a few questions on this topic recently, so I feel it
i have asked this question before but no answer was there. so asking again.

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.