Questions tagged [custom-cell]

A custom cell is a unique, personalized or subclassed version of some generic cell type.

759 questions
0
votes
2 answers

Create Segue from Custom Cell UIButton to a ViewController

I want to create a segue from (a) a UIButton (in a custom cell of a tableview) and (b) a custom cell in general to a UIViewController. The custom cell is specified in a .xib file. I read that I just should control drag from the UIButton / custom…
Joe
  • 207
  • 1
  • 2
  • 9
0
votes
0 answers

Strange issue when working with a custom cell

I am trying to create a custom table view cell and use it in my project.Unfortunately I get an error in the delegate method cellForRowAtIndexPath and I really don't understand why The person class import Foundation class Person { var name = "name" …
tudoricc
  • 709
  • 1
  • 12
  • 31
0
votes
1 answer

Table view displays limited number of cells?

I want to display 128 cells in the table view. However, due to some reason the table view displays a maximum of five cells. I checked the number of rows returned by the code, it is greater than 5. So I am sure that part is correct. Also, I have…
ranafde
  • 157
  • 2
  • 7
0
votes
2 answers

scroll tableview programatically with custom cell

EDITED CODE.. Hello frds, i have one buttom in UIScrollview when i clicked on that button then i get btn.tag , so after that i want to scroll UITableView programatically. Here is my Code. //-- Custom Scrollview--// - (void)loadscrollViews { int…
0
votes
2 answers

How to get the indexPath of value component in a custom cell in Swift?

I need get the indexPath.row of a components (switch, checks..) located inside my CustomCellS class. I'm trying code below in custom cell class, but I get an error: class CustomCellS: UITableViewCell{ @IBOutlet weak var switch: UISwitch! …
user3745888
  • 6,143
  • 15
  • 48
  • 97
0
votes
0 answers

iOS MvxTableViewController Custom Cell : How to bind UIView's position?

I use a MvxTableViewController with custom cells within MvxTableViewCell and xib file to display a list of blog post. Each blog post can contains 1 to 3 items of differents type (Picture, Text and Sound). I added 3 UIImageView. These 3 ImageView…
Romain
  • 13
  • 5
0
votes
1 answer

IBAction doesn't work on a custom view cell

This is my first post on StackOverflow ! I'm working on a projet made by someone else one or two years ago. I'm a really beginner with xcode, ios7 and so on, so i will try to explain my problem correctly... I'm working on a custom cell that contain…
0
votes
3 answers

UISearchDisplayController with custom cell

I have a Custom Cell designed in storyboard, it is inside a UITableViewController which is working fine with the custom cell. Now, I'm trying to use the same cell on a UITableViewController with a UISearchDisplayController and it is not working.…
Jorge
  • 1,492
  • 1
  • 18
  • 33
0
votes
2 answers

how to hide default delete button tableviewcell

I make custom delete button for my TableViewCell with this method : - (void)willTransitionToState:(UITableViewCellStateMask)state { [super willTransitionToState:state]; if ((state & UITableViewCellStateShowingDeleteConfirmationMask) ==…
user3797431
  • 393
  • 1
  • 5
  • 15
0
votes
1 answer

Prototype cell won't show content

I have designed a cell in storyboard, then created a custom UITableViewCell subclass (BasicCell) and assigned it to it. Also set the proper identifiers. I created outlets of the custom cell in that class. Then in my UITableViewController subclass…
user3211165
  • 225
  • 1
  • 3
  • 14
0
votes
0 answers

selecting UITextField in custom cell crashes

I'm trying to create a form like view using custom cells in uitableview. I have 3 custom cells, one with 6 UITextFields, one with just one, and one with a UITextView. It displays perfectly, and scrolls up and down with no problems. My problem is…
LittlePeculiar
  • 383
  • 5
  • 16
0
votes
2 answers

UITableview custom cells reload at the end, stutter, get cut in half, and do not reload during a scroll

I have created a UItableview with custom cells. The cells have two UILabels and an imageview that calls for an image on a background thread. The cells first load some placeholder data in case the API call takes long. Then, using a notification,…
Edan
  • 167
  • 14
0
votes
2 answers

Can't unwrap optional.None when accessing Label in Custom Table Cell - iOs Swift

i am trying to display content in a custom cell in a table view. I started with a master detail application and tried to customize it. I created a new xib with the custom cell and connected it to a class and created the needed outlets. This is the…
dschlossfr
  • 377
  • 5
  • 12
0
votes
3 answers

Adding UILabel in custom cell issue

I have custom cell in my UITableView and according to the string's value I want to add a UILabel in the cell. Here is my code for cell, -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { …
user3648985
0
votes
0 answers

How to expand collapse a custom cell in table view?

I have recently started learning ios app development. I have a table, TableViewController with custom cells defined in TableViewCell . Each cell has a title as a UILabel and few more labels below it. Tapping the title should expand the custom cell…
Aryabhatt
  • 637
  • 2
  • 7
  • 23