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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:14:15+00:00 2026-05-15T20:14:15+00:00

I want to use a TableView for representing a Username/Password textfields dialog in a

  • 0

I want to use a TableView for representing a Username/Password textfields dialog in a nice and grouped view. I figured the best case is to use the TableView and two cells for this.

I kind of got lost in the implementation… Is there any built in cells for this that I am missing?

  • 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-15T20:14:15+00:00Added an answer on May 15, 2026 at 8:14 pm

    What you probably want to do is make a custom UITableViewCell subclass with properties for the textfield(s) you need. Create the nib file for your new cell type, lay it out as desired. Set the “file’s owner” class to your UITableViewController class, and create a connection from an outlet (say, “newCell”) in the “file’s owner” to your custom cell.

    Then when you need to create a cell (inside tableView: cellForRowAtIndexPath:), you can load it from the nib:

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
      // Reuse or create cell
      MyCell *cell = (MyCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
        // load from nib, reference into self.newCell
        [[NSBundle mainBundle] loadNibNamed:@"MyCell" owner:self options:nil];
        cell = self.newCell;
        self.newCell = nil;    // don't need to hang on to the memory
      }
      return cell;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use the background color/pattern of the grouped tableview in my view,
I want to use - (void)drawRect:(CGRect)rect to manage some nice output to UIViewController. That
I want to use a Tab bar in one of the view for my
If you have a tableView and want to use a subclass of NSTableRowView, you
I want to use the scroll view inside the tableviewcell. I have written the
From a tableview I want to present a MFMailComposeViewController. I don't want to use
I want to use MonoTouch.Dialog RadioElements for selecting data and it has to have
I want to use a tableview as a picker. For example, when selecting a
I want to use two dimensional array in ios, for example I want to
I want use groovy findAll with my param to filtering closure filterClosure = {

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.