A custom cell is a unique, personalized or subclassed version of some generic cell type.
Questions tagged [custom-cell]
759 questions
-1
votes
1 answer
What is error in this code so that it is crashing?
I am using table view in which I am showing 10 row of table by custom cell and one is by normal cell. I have use this code...
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static…

iRam11
- 309
- 4
- 16
-1
votes
1 answer
Updating uitableview custom cell
I have an issue which probably is fairly easy if you're not as blind as me. I have a tableview with customs cells, which are taking information from a datasource. In this custom cell I have a button which changes the datasource for all the cells.…

Bjarke
- 1,283
- 11
- 36
-1
votes
1 answer
Custom cell factory for my JfxListView returns raw objects
So my Custom cell factory should return two fields from the Message object, instead I get raw object in ListView Output from ListView.
There is a code responsible for formatting two Text objects which gets values from fields in Message object.
…

Maki Nishikino
- 1
- 1
-1
votes
2 answers
How to give more than 2 custom cell on one tableView for chat
chat image for chat ui have 3 type which is text , image , and carousel . am i need to make 3 custom cell for one tableView and how to do that ?

amaulana
- 97
- 1
- 8
-1
votes
1 answer
Draw UITableViewCell with 5 different layout
I need to draw 5 different style of cell in a UITableView and i need a small help of you! I show you what i write in my ViewController:
var selfHeightCell : CGFloat? // for custom rowHeight
override func viewDidLayoutSubviews() {
…

Daphyduck
- 127
- 1
- 10
-1
votes
1 answer
UITableView shows Dummy data when populated with JSON data
I am trying to show JSON data in UITableView using custom cell, the JSON data successfully loads in table view. But, when ever I run my app for the first time, the first two rows in table view are dummy cells form IB as shown below:
My custom cell…

TheSwiftGuy77
- 656
- 1
- 9
- 25
-1
votes
1 answer
Objective-C : Create 2 custom cells in UITableView
I have a tableview which contains:
-2 custom cells : redCell and blueCell
-2 buttons : redButton and blueButton at bottom of the screen.
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
…

VMCuongOnStackOverflow
- 59
- 1
- 9
-1
votes
1 answer
How to set data from ViewController to UITableView custom Cell
I have been trying to pass data from Viewcontroller to UITableView custom cell using custom delegate.There are answers for passing data from Custom cell to ViewController but none for the viceversa .Can anyone suggest me with some idea or sample…

Deepak Karthik
- 11
- 3
-1
votes
1 answer
how to Increase selected cell height of uitableview in swift?
this is what i want to achieve. When user tap on a cell, it expands showing some extra buttons on it.
Any tutorial or sample code in swift?
As i am a newbie, a beginner level and detailed approach will be…

Aqeel iqbal
- 515
- 5
- 18
-1
votes
1 answer
Add custom cell to UITableView programmatically
this is different than what i've found on this website because everything i've found adds multiple cells upon a button push. I don't have a button and i don't see the functionality of adding multiple pieces of information to a single cell.
I made a…

iman42
- 1
- 2
-1
votes
1 answer
It is possible to create a floating button in tableview bottom?
In my application i have a UIViewController in that one tableview with two custom cells,i want to display a floating button in my tableview.it is possible,it is possible give me some suggestion r link.
Thank you in advance!
"That question is not…

User558
- 1,165
- 1
- 13
- 37
-1
votes
2 answers
cell View returns nil on app running
I've used the next code for adding subview into UIView in the custom cell:
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 36, height: 36))
imageView.image = UIImage(named:…

Orkhan Alizade
- 7,379
- 14
- 40
- 79
-1
votes
1 answer
Showing and hiding object in tableViewCustomCell
In my custom cell I have button which tagged in cellForRowAtIndexPath like this:
cell.downloadButton.tag = indexPath.row
By clicking on this button I want it to be hidden and another to be shown. How should I contact with specific cell knowing only…

SwiftStudier
- 2,272
- 5
- 21
- 43
-1
votes
3 answers
Why isn't my tableview row height being set properly?
I am trying to make a table view with a dynamic cell containing an image view and 3 labels in Interface Builder, but for some reason the table view row height isn't being set properly and all the content is being cut off. This is the only code for…

cyril
- 3,020
- 6
- 36
- 61
-1
votes
2 answers
UIButton in custom cell not working
I have a button in a custom cell
class CardTableViewCell: UITableViewCell {
@IBOutlet weak var detailsButton: UIButton!
}
in my view controller then I do this
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath:…

Mat
- 6,236
- 9
- 42
- 55