Returns the label used for the main textual content of the table cell. (read-only)
Questions tagged [textlabel]
70 questions
0
votes
2 answers
Objective-c set cell accessorytype based on cell text? iOS SDK
I have a dynamic table view with 2 section, and 4 rows in each which are populated by arrays.
Only one cell should be checked, at the moment none are. I know the text for the cell I want checked.
So my question is, can I set the accessoryType for a…

Dan
- 2,304
- 6
- 42
- 69
0
votes
2 answers
Application crashes when using cell.textLabel.text when it equals a key from an online plist
I know a question like this has been posted before, but I was trying to get a direct answer specific to my code. I have seen the other post and have followed it to get to this stage.
I have the (null) libc++abi.dylib: terminate called throwing an…

21zach2
- 159
- 1
- 2
- 12
0
votes
2 answers
UITableViewCell textLabel width size error Expression is not assignable
I would like to set the frame width of my UITableViewCell label inside tableView:cellForRowAtIndexPath: how ever I am receiving an error.
this is how I am trying to set the cell up.
- (UITableViewCell *)tableView:(UITableView *)tableView…

HurkNburkS
- 5,492
- 19
- 100
- 183
0
votes
2 answers
Determine/Save the position of text in matlab
I plotted few points using scatter and then label them using text. The position of these labels are same as the position of the points + some offset. Some of these text label overlap with each other and hence I moved them interactively (using…

imsc
- 7,492
- 7
- 47
- 69
0
votes
1 answer
how to resize textlabel in a tableview cell
I'm programming an app that is containing a RSS reader. The rss reader is downloading a title, description and a image. The image I placed in the accessoryview in the same cell as the description. The description is placed in a textlabel and resize…

Peter J
- 43
- 6
0
votes
1 answer
Change text size in different lines of textlabel cell uitableview
I created a uitableview and in every cell there's a textLabel.
cell.textLabel.numberOfLines = 0;
cell.textLabel.text = [NSString stringWithFormat:@"Hello\n how are you?"];
UIFont *myFont = [ UIFont fontWithName: @"Novel" size: 6.0…

Liatz
- 4,997
- 7
- 28
- 33
-1
votes
1 answer
iPhone UIButton provide different inset values for highlighted state
I want my titleLabel text move a little down on button tap (i.e. I want to give different inset values for highlighted and default states).
I have custom button background images and the button goes down in highlighted state image but the text on it…

Ali Aksakarya
- 471
- 4
- 11
-2
votes
2 answers
Swap the label text of two buttons in Swift
I have 2 button like picture below, their text label are: "Input location...". Now i want to click on the swap button on the right, so the text label of these button will swap. It's look like you have 2 location and you want to swap it. Please any…

Duy Khanh Nguyen
- 45
- 2
- 12
-2
votes
2 answers
How to limit width of textLabel in UITabelViewCell
I want to restrict the width of textLabel of UITabelViewCell as it contains a image on its right side.
I don't want to use UILabel or subclass UITabelViewCell.

Uniruddh
- 4,427
- 3
- 52
- 86
-3
votes
1 answer
How to add text from array into an text label in storyboard?
I have a storyboard with two labels in a UITableViewCell.
title and price.
In my ViewController.m I have an array with data(from a url in JSON). I get all I need BUT when I want to add this data into the label, I tried something like…

user3518279
- 1
- 1
- 3