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
Alternate two different custom cell layouts in a table view
In my storyboard I created two different prototype cells, cell1 and cell2. I want them to appear in my tableView like this:
TableView
prototype cell1 - indexpath.row[0]
prototype cell2 - indexpath.row[1]
prototype cell1 - indexpath.row[2]
prototype…

Nielsapp
- 302
- 1
- 11
-1
votes
1 answer
Manipulating content of UITableviewCell does not work
In my UITableViewCell's content view I have a label that I want to set the frame of programmatically, but it just stays the same no matter what frame I give it. My cellForRowAtIndexPath-function looks like this:
func tableView(tableView:…

joseph
- 897
- 2
- 10
- 20
-1
votes
1 answer
Access uitextFields text from a custom UITableViewCell
I'm trying to get text from a UItextField thats in a custom cell. I tried creating a protocol
@class customCellClass
@protocol CustomCellDelegate
-(void)passText:(CustomCell *)customCell withText:(NSString *)text;
@end
...
@interface
@property…
user4642233
-1
votes
1 answer
One table view , one section , tree custom cell ( Possible duplicate )
Possible duplicate : enter link description here
I have 3 custom cell with Xib ( customCell1, customCell2, customCell3 ) and i need to set all of them only in one section ( i have don it before with 3 section without any problem ) .
customCell1 : is…

Sattar
- 108
- 4
- 12
-1
votes
2 answers
UIView in CustomCell will be nil After I registerClass
I have a custom cell,the tableview is works when I do not use this method:
self.tableView.registerClass(goodsCell.self, forCellReuseIdentifier: "gCell");
but after that I use the method as above, something wrong happen.
All UIView in Custom Cell…

Dog Su
- 261
- 3
- 5
-1
votes
1 answer
i just want to print several images that fetched from a method named repaint and to all these images seperatly on custom cells of table in ios
// custom delegate that takes value in retrieved data array ::
-(void)repaint:(NSMutableArray *)retrievedData
{
if (retrievedData.count > 0)
{
userObj = [retrievedData objectAtIndex:0];
…

user3807662
- 1
- 3
-1
votes
1 answer
I am using celltree widget of GWT . How do i remove its ugly selection border?
Whenever I select any item in Cell tree I get this ugly bodrer!
Now I have changed the css of deafult cell tree as follows
.cellTreeSelectedItem {
height: auto;
overflow: auto;
border:none !important;
}
But nothing really…

Smrita
- 1,259
- 3
- 18
- 38
-1
votes
1 answer
Deleting Row from UITableView changes information stored in other rows
Let's say there are 10 rows in my UITableView, each with its own unique information, and I delete row 4. After the action is completed, row 5 becomes row 4, row 6 becomes row 5, and so on. Well, Row 5 loads the data that was in row 4 before being…

user3587784
- 1
- 1
-1
votes
1 answer
Get whole object from NSMutableDictionary for current cellForRowAtIndexPath and assign it to a CustomCell
I have the following type of a NSMutableDictionary
(
{
id = 1;
key = value;
key = value;
},
{
id = 2;
key = value;
key = value;
}
)
It contains multiple data of an own Object.…

Musterknabe
- 5,763
- 14
- 61
- 117
-1
votes
1 answer
How can I remove all label layers from cell
I am almost new to create a custom cell. I have a custom cell and created 6 labels on each row with a custom button(btnEdit). The custom button is droped from .xib. The btnEdit create a frame on two label and if that frame is clicked it call another…

Cem
- 60
- 7
-1
votes
2 answers
Android: Listview custom cell - know which item
I have a custom table cell which basically has 2 buttons, one textview and one edit text. Next to each edit text there is a plus and minus button. Effectively to increment / decrement the number in the text box.
I can't work out how I link the…

MissCoder87
- 2,669
- 10
- 47
- 82
-2
votes
3 answers
UIImageView circular shape swift
I used this code to make UIImageView in a custom UITableViewCell, but the circular shape isn't updated until i pressed on the table cell, I tried the code in both awakeFromNib() and layoutSubviews()
userImage.layer.cornerRadius =…

Zeyad.Ahmed
- 61
- 4
-2
votes
2 answers
How to make one IBAction that does the same action to two buttons when the first one is from a custom cell and the other one is from storyboard
This is from the custom cell:
This is from the Storyboard:
Anyone have any idea how to make these two buttons do the exact same action? Is it possible to make multiple buttons do one action?

Safeen Azad
- 56
- 1
- 7
-2
votes
1 answer
Issue with iOS table view custom cell
I'm having a problem with my UITableView custom cell.
This is the UITableView code:
var contactName = ["Papa", "Mummy", "Ajay", "Deepak", "My"]
var phoneNumber = ["657464567", "354636346", "5436346", "6345634643", "5645634656"]
// MARK: - Table…

Dilip Tilonia
- 63
- 1
- 6
-2
votes
2 answers
Delegate function is not firing-Swift 4
Scenario:
I have a table view and a custom button cell. In controller of cell I have made a delegate to call a function of MainController.
Issue is my cell button action is firing but the delete function not.
CustomCell Controller:
import…

Share Knowledge
- 121
- 1
- 7