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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:28:31+00:00 2026-05-23T08:28:31+00:00

I have a view which contains a tableview, (i call this view the EquationView,

  • 0

I have a view which contains a tableview, (i call this view the EquationView, and its controller the EquationViewController). The table view cells are custom cells with a label and a textfield, representing a variable and its value, receptively. I have been able to get my custom keyboard to apear when editing begins in the textfield.

However, I haven’t been able to get the keystrokes to apear in the correct cell, do to the fact that I haven’t been able figure out how to send the indexPath of the cell with textfield being edited to the custom keyboard controller class. I have included my EquationViewController.h file in my custom keyboard controller class and have been able to change the text in the tableview’s textFields by manually setting the indexPath to a specified row. Here is the keyboard class definition:

#import <UIKit/UIKit.h>
#import "EquationViewController.h"


@interface CustomNumberPadViewController : UIViewController {
    EquationViewController *equationViewController;
}
@property (nonatomic, retain) EquationViewController *equationViewController;

-(IBAction)buttonPressed:(id)sender;

@end

My action method looks like this (so far):

-(IBAction)buttonPressed:(id)sender{

    VariableCell *cell = (VariableCell *)[equationDetailViewController.myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];

    cell.variableValue.text = @"test";

}

This get the word “test” to appear on whichever row I set in the index path.

So what I’m wondering is, is there a way to pass/get the indexPath of the cell whose textField is being edited to the action method in my custom keyboard controller class?

  • 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-23T08:28:31+00:00Added an answer on May 23, 2026 at 8:28 am

    Why don’t you set your UIViewController as the delegate of your UITextFields and catch the textFieldDidBegin: delegate method?

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

Sidebar

Related Questions

I have a root view which contains a table and a button. When I
I have a view which contains a form, the form posts and the data
I have an ASP.NET MVC view which contains checkboxes for user-defined categories. <td><% foreach
I have an app which contains a scrollview with several tableviews. Each tableview is
I have a UISwitch inside a custom UITableViewCell (the subclass of which I call
I have a xib with a view which contains two views which each contain
I have a view which contains (among other columns) a header name, and an
I have list view which contains 2 buttons and 2 textviews. I change the
I have a basic map view in my app which contains a set of
Hey all... I have a view controller (A) which on some action, alloc init's

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.