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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:10:14+00:00 2026-06-05T09:10:14+00:00

I am making my first Mac OS X application and I’m stuck with a

  • 0

I am making my first Mac OS X application and I’m stuck with a problem.

I created a NSTableView on my window linked to a NSArrayController and I’d like to call a method after stopping to edit a textfield cell. So I’ve selected to call an action when end editing, as you can see in the following screenshot:

enter image description here

After, I’ve created an IBAction for it:

It generated this code in my AppDelegate.h:

- (IBAction)stopEditingHeaderNameCell:(id)sender;

And then I edited the IBAction in AppDelegate.m in order to show a NSLog message when the cell is edited:

- (IBAction)stopEditingHeaderNameCell:(id)sender
{
    NSLog(@"test");
}

However, when I stop editing the cell by pressing enter or clicking in another element, nothing happens. I already tried to apply this IBAction to a NSTextField and it works perfectly, but it doesn’t call the IBAction when applied to this text field cell.

Can anyone help me to solve this?

Thanks!

  • 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-05T09:10:15+00:00Added an answer on June 5, 2026 at 9:10 am

    This is not the way you do this with text field cells in a table view. You need to make your app delegate the delegate of the table (you can connect this in IB), and then implement controlTextDidEndEditing:. This method will be called when you end editing (by tabbing out of the cell or clicking on another row or column).

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

Sidebar

Related Questions

Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem: created
I'm making my first application in Windows Azure and I have some problem. This
I'm making my first Android application and I'm having a problem for which I
I'm making my first Android application. As a toy problem to learn the system
I am making my first web application with ASP.NET and I am having a
I'm making my first site with Django, and I'm having a database design problem.
I am making first attempts with JPA (EclipseLink implementation) and feel quite stuck: In
I'm making my first iphone application and it's a wine chart application. It's with
I am making my first android application, and it requires switching between activities very
I am making my first program using Java3D. I have setup some transformGroups that

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.