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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:04:40+00:00 2026-05-29T09:04:40+00:00

guys, I’m trying to realize viewing comments on internet portal and I’m using UITableView.

  • 0

guys, I’m trying to realize viewing comments on internet portal and I’m using UITableView. Comments have structure like tree, for example:
– one comment
— in reply: second comment
— in reply: second comment
—in reply to reply ….

I’ve tried to use custom table view cell, but it isn’t replacing uilabel like usual view. I’ve tried to make subtitled cell, but replacing isn’t working with cell.textLabel.bounds.

Have you any ideas?
I have author name, comment level and comment text of all comments in NSDictionary.

Thank you very much.

  • 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-29T09:04:41+00:00Added an answer on May 29, 2026 at 9:04 am

    Add a UILabel to your table view cell, then set the frame of the label according to the indent level. i.e. something like:

    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    
    myLabel = [[[UILabel alloc] initWithFrame:CGRectMake(10*myIndentLevel, 0, 320-(10*myIndentLevel), 25.0)] autorelease];
    
    myLabel.text = @"the comment text";
    
    [cell.contentView addSubview:myLabel];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

guys, I have UITableView with some images, which are loading from internet. Images is
guys. I have UITableView with different cells and I have code, which counts height.
Guys if I have class like below: template<class T> class X { T** myData_;
guys i have a xml file which is like this: <Point TestFlag=0 id=1 name=Conversation
Guys I have been trying lots of different options from cutting up to building
Guys I m using a simple listview. I have two activities one main and
Guys i am trying to connect my android app to php server and using
Guys, i have a little issue here. Im doing a search to my UITableView.
guys, i would like to know if sorl-thumbnail have any option to crop from
guys! I am working on a project, which has to have same (as possible)

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.