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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:17:35+00:00 2026-05-26T13:17:35+00:00

I cannot find any information anywhere (google, cocoadev, developer.apple) about managing an optional to-one

  • 0

I cannot find any information anywhere (google, cocoadev, developer.apple) about managing an optional to-one relationship with core data and cocoa bindings with the exception of using a pop-up box. Using a pop-up box assumes the optional object already exists, but that’s not how I want the process to work. I want to be able be able to select an existing object (User) in the table view and click an add button which would then create an new entity (Account) and assign the relationship to the selected User. In my model not all Users have an Account, and an Account is never created without having a User first.

Any ideas on how to do this?

I have tried to create a NSArrayController with the following:

Bind to: UserController
Controller Key:selection
Model Key Path: Account

I then bound a button to the -add function. When I do this I get:

[NSCFSet managedObjectContext]: unrecognized selector sent to instance 0x1001adea0

Please help I have spent days trying to figure this out.

  • 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-26T13:17:35+00:00Added an answer on May 26, 2026 at 1:17 pm

    I have learned that you must do this with code. I have extended NSArrayController and overridden the newObject method to assign selected object of other controllers.

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

Sidebar

Related Questions

I cannot find any information about the thread-safety of the waveOut API. After i
Cannot find any example on Google.
This is but a curious question. I cannot find any useful links from Google
Not sure where to post this, but I can't find any information anywhere and
I cannot find any information on Generic Programming in Javascript. So I assume it
It seems to me like a no-brainer, but I cannot find any information against
Searching for possible ways to get cookie with httpOnly enabled, I cannot find any.
Is there any known attack on this modified version of Yahalom? Cannot find anything...
I cannot find comparison of these parsing technique. Which one is most commonly used?
I cannot find this in the documentation anywhere. Does anyone know if this is

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.