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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:42:57+00:00 2026-06-14T22:42:57+00:00

For a View Based NSTableView/NSarrayController: how would I use the action invocation from a

  • 0

For a View Based NSTableView/NSarrayController: how would I use the “action invocation” from a NSButton inside a tableCellView to change an attribute for an entity?

I have the following setup:

  • A “View Based” NSTableview with one column.
  • A NSarrayController which uses “entity mode” and is bound to core data entity.

Picture of the demo application

I would like to use the action invocation from the push button to update the entity. For example to set a “bool” attribute to true.

If I simply use the “model key path” and set it to objectValue.escaped the button is disabled.

  • 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-06-14T22:42:59+00:00Added an answer on June 14, 2026 at 10:42 pm

    To clarify my question:

    If I have another client for my data-source, connected for example via web-service and I want to trigger an event. I would use an entity-attribute to inform the client. Therefore I added a pushbutton to the tableCellView.

    I started with a NSTableView and a NSArrayController connected to a core-data entity as object controller. Text-Fields, images, check-boxes and popup-buttons worked immediately after they were bound to the control. But I found no workable solution to bind a “Push-Button”.(I tried to subclass the control, the table, the cell-view and the button without success.)

    Finally I switched to the action/delegate method. With the methods rowForView:, itemAtRow: and representObject: it was possible to modify the attribute of the entity.

    I’m not happy with this inelegant solution (outlineView/detached code). If there IS a solution with the arrayControl please let me know.

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

Sidebar

Related Questions

I'm using a view-based NSTableView with a custom NSTableRowView. I would like to use
I have an application with a view-based NSTableView in it. Inside this table view,
I have a view based NSOutlineView which displays entries (Source entity) from a Core
I have a view-based single-column NSTableView. Inside my NSTableCellView subclass I have an NSTextView
Hi! I am using an NSScrollView which has a view-based NSTableView. Whenever the table
I'm having trouble going from finding each view based on its actual id like
Say I use glRotate to translate the current view based on some arbitrary user
I have a view based NSTableView with a custom NSTableCellView. This custom NSTableCellView has
I have a view-based NSTableView that is populated through bindings. My textFields & imageViews
Create default iPad split view based apps from template from xcode 4, then we

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.