Tag: uitableview

custom cell not appear in tableview

I use storyboards. I create new class for my Cell, in storyboard I write in Reuse Identifier “userFullCell”. My Cell class .h #import <UIKit/UIKit.h> @interface UsefullLinksCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIImageView *image; @property (weak, nonatomic) IBOutlet UILabel *shortTitle; @end .m default #import “UsefullLinksCell.h” @implementation UsefullLinksCell – (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super […]

Pass variable to a detail view controller using a table in UIViewController (not UITableViewController!!)

I currently have 2 view controllers: ViewController and DetailViewController. Neither of them are Table View Controllers, they are both just View Controllers. However, I do have a table on ViewController which is otherwise working great. I want to segue/pass a variable to DetailViewController when a cell is selected. Using the storyboard I set up a […]

UITableView + Core Animation

I would like to build up a table view section into my iOS app just like the Facebook style (with many information in every row, images and buttons, ..). I also want to include Core Animation effects on every row, like fade out the cell, or customize the graphic interface. Do you recommend me to […]

dynamically size the height of the tableView cells

I am able to display the cell content in the table and also Wordwrap it to display the message entirely. But I noticed that if the content is more than the height than it becomes clumpsy. How do I increase the heighten a cell dynamically if the content is too large. Since I am retrieving […]

How to enable void “didSelectRowAtIndexPath” and disable it?

I search didSelectRowAtIndexPath this key word And found most problem is how to trigger it But my question is how to enable it with another conditions You can check my last question here – How to add a radio button in tableview how To disable this void when the radio button is not selected ??? […]

Insert new row in UITableView when tapping first row

I’m new to iOS development. Therefore it would be nice if your answer could be as detailed as possible. My problem is the following: I want the cell in my second section to always say “add new row”. If you click this cell a new row should be added on top. My current code is […]

How to select Multiple rows in UITableView?

I want multiple selection in UITableView and also its data into one array or in one dictionary…

How to draw dynamic number of columns in uitableviewcell for iphone in objective c

Can any anyone tell me how to create dynamic number of columns in uitableviewcell using custom class for uitableviewcell. i have 4 or 5 or 6 columns and it is not fixed.so how to draw the columns. – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { NSString *MyIdentifier =[NSString stringWithFormat:@”Cell%i”,indexPath.row]; CustomCells *cell = (CustomCells*)[tableView dequeueReusableCellWithIdentifier:MyIdentifier]; if (cell […]

UITableView scrolling is very slow it use the network for every scrolling

Hai I am new to xcode i use a UITableView to display the vehicle number and its location. it use network for find the location. My problem is every time i scroll the table that time only it reloads the location from the net. Is it possible to load the datas for the first time […]

ios:Spinner in custom cell disappears after scrolling

I created a custom cell with a hidden spinner and hidden text “Load More”. These fields are unhidden for the last cell so that the user can click it to request more data. I have it woking so that when the user clicks the last cell the spinner starts, but when the user scrolls the […]