Questions tagged [custom-cell]

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

759 questions
10
votes
6 answers

UITableViewCell in ios7 now has gaps on left and right

I have a UITableView where, in ios6, my custom cell stretched completely to the left and right sides of the screen. So my square image on the left of the cell was hard up against the phone screen. However, now in ios7, there is a small gap appearing…
skeg0
  • 187
  • 1
  • 1
  • 10
10
votes
3 answers

Custom UITableViewCell in edit mode does not move my UILabels

This is doing my head in:-) I have a fully functional CoreData Populated UITableView inside a UIViewController and I have successfully implemented the "Swipe to Delete option" (which is easy) and I can also delete single instances with an edit…
jwknz
  • 6,598
  • 16
  • 72
  • 115
8
votes
2 answers

Adding multiple custom cells in UITableView

Though this is one of the most asked question but i could not find one comprehensive answer. I need to have custom cells in UITableView. Some containing labels or text fields and some with images and buttons. I have made separate classes for each…
WaJiyaz
  • 512
  • 1
  • 8
  • 25
8
votes
2 answers

Dynamic height in cell Issue in iPhone6 and iPhone6 plus

I am implementing a functionality in which all labels of my cell has been resized as per the text containing with each label.I have implemented this functionality with the help of RayWanderlich tutorial and its working fine for iPhone 4s,5 and 5s…
Jekil Patel
  • 403
  • 4
  • 18
7
votes
1 answer

Implementing NSOutlineView/NSTableView with different cells (and data types) per row

I'm wondering how one would implement an outline view like the one Xcode 3 is using for the build configuration: When using an NSOutlineView/NSTableView with bindings and an NSTreeController/NSArrayController, the view's columns get bindings…
Regexident
  • 29,441
  • 10
  • 93
  • 100
6
votes
4 answers

iPhone - having selected cell move to top of uitableview

I looked for this problem and I don't believe I could find an answer. I have a tableview of custom cells that when clicked, the selected cell pushes a new cell with information. I was wondering if anyone had an idea of how to push the selected cell…
Alex Muller
  • 1,565
  • 4
  • 23
  • 42
6
votes
1 answer

Label Background Colour removed when row selected in Swift

I'm experiencing a weird issue with my Swift app. I'm trying to create a UITableViewCell using a custom cell that I have created. I have an empty label and a text label in the cell. The empty label is simply colored by setting the backgroundColor…
beninabox_uk
  • 684
  • 2
  • 11
  • 27
6
votes
1 answer

One XIB for multiple UITableViewCell subclasses

I'm trying to use one XIB file for multiple types of custom UITableViewCell subclasses (same IBOutlets - same look - different methods and logic). How can I do that?
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
6
votes
2 answers

Swift: IBoutlets are nil in Custom Cell

I can't figure out why this custom cell is not being output. I have a custom cell set up in a storyboard (no nib). I have a text field and 2 labels which are nil when I try to access them in the custom cell class. I'm almost sure I have everything…
Sam Luther
  • 1,170
  • 3
  • 18
  • 38
6
votes
3 answers

Calling two different custom cell in one UITableView issue

I have created a custom cell FeatureCell which has 5 images in the row that will be called in the main view but when I call it I get empty row. So please where could be my problem? I have googled about custom cell and I used the way that I have to…
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51
6
votes
5 answers

Accessing cell attributes outside of cellForRowAtIndexPath

I have five fields setup on a Signup controller. Username, displayname, password, confirm password and email address. They are setup with the following: static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = (UITableViewCell…
StuartM
  • 6,743
  • 18
  • 84
  • 160
6
votes
3 answers

UItable Cell Overflow ios

I am doing an application which needs expansion of cells onclick in order to show more details. I have used a custom cell and added them to a UItableview. When i click on the cell it animates fine and go down and when i click again it goes up, this…
Gihan
  • 2,476
  • 2
  • 27
  • 33
5
votes
5 answers

Custom UITableview Cell Occasionally Overlapping/Reproducing On Top Of Other Cell

Really strange problem I'm having here. Basically, the user comes to a View that has a TableView attached to it. There's a call to the backend for some data, and in the completion block of that data is provided to the TableView to display. In…
Nick Coelius
  • 4,668
  • 3
  • 24
  • 30
5
votes
3 answers

How to calculate tableView row height and pass value to heightForRowAtIndexPath

I've a tableView with custom cells. Each cell has different interface, elements. All they have different sizes. Each cell has different type of elements and their count. All these elements are created dynamically, so I'm creating them, making their…
Hreno Hrenovich
  • 336
  • 6
  • 16
5
votes
1 answer

Swift Custom Cell creating your own Cell with labels

I've just started to use Swift as a prorgamming language and i've run into a problem with Custom cells. When i try to create custom cells, and then go forward and try to design them the way i need them ( with Style set to Custom ) everything looks…
Sascha
  • 95
  • 1
  • 1
  • 7
1
2
3
50 51