uitableview

UITableViewCell subclass not showing correct size

I have a nib file for a UITableViewCell subclass I made, it's height is set to 25 in the nib, however when the application loads, this is not the case. It loads to the default size. Here is my code for the implementation of the cell. // Customize the appearance of table view cells. - (UITableViewCell *)tableView:(UITableView *)table...

UITabBar in Landscape with UITableView in Portrait

I am creating a large line graph, composed of several custom UIViews showing different sections of data within UITableViewCells, to facilitate easy scrolling of the graph. The problem is, that since UITableViews don't support horizontal scrolling or more than one cell in any given row, I can only correctly view the data if, while the vi...

rearrange cells in tableview during runtime

could someone please tell me and point me in the right direction on how i am able to code to allow the cells to be able to move in a tableview at the moment when i click and hold and then drag below the second cell... it doesnt move... obviously... it just drags all the cells with it and stretches back up again. i would like to be able ...

UItableView referencing sections from core data:

Pleaseeee if you guys can help me or point me on the right direction, I would really appreciate. I am saving some data the user inputs into a data file using SQLITE, I am saving date, time, reading, and a note, as the following: //Create a Reading Object Readings *readingObj = [[Readings alloc] initWithPrimaryKey:0]; readingObj.date = ...

Flipping within a TableCell - like utility application.

Hello ! every one. I have some query regarding tableViewCell. Let me explain the situation. There are many values added in an array for the table cells / rows. Now, each cell has info button as static. Each element of an array has dictionary and it has these two values = cellvalue & detail value. Now, when user clicks on info butt...

Redoing UITableView layout when user taps Edit button?

I have a UITableView with complex content. The user can edit (rearrange and delete) the cells when tapping the Edit button the standard way. But I want the cells to look different in "edit" mode. Question: How to change the UITableView Layout in edit mode, including changing row height? So far, this is what I have: The Edit button se...

UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath: Exception

Hey all, i actually dont see my error: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; FriendTableViewCell *cell = (FriendTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell ...

editingStyleForRowAtIndexPath isn't getting called (So a delete button is showing up)

Hello, I'm playing around with moving uitableviewcells, and for whatever reason, - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingstyleForRowAtIndexPath:(NSIndexPath *)indexPath { return UITableViewCellEditingStyleNone; //<-- bp set on it } isn't getting called (I've set a breakpoint on it) - ...

How to detect scrolling of UITableView?

There is a similar question to this but answer is very general, vague.(http://stackoverflow.com/questions/1587855/detecting-uitableview-scrolling) Please don't dismiss. I am looking for concrete solution. I have UITableView which has editable textfield and PickerView appears when another cell selected. What I need is to hide firstRespon...

iPhone + UITableView + place an image for separator

Hello, I have UITableView in my application. Attributes: TableStyle = Plain, SeperatorStyle = single and SeperatorColor = black What I want to do is that, I want to put a image (which a small strip), as separator for the table. Please help me. Regards, Pratik ...

delete row from uitableview crashes

Hi all I simply try to delete a row from a uitableview with the following code: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { [self.tableView deleteRowsAtInde...

Any way to pre populate core data?

Hi all, ive been creating a list app and backing it with core data. I would like to have a default list of say 10 airport items so that the user doesnt have to start from scratch. Is there any way to do this? Any help is appreciated. Thanks in advance. ...

Move UITableView in different sections problem

Hi everyone. I encountered a wierd problem. In my UITableView, I am able to move a row from a section to another, but if I change the size of my rows, it doesn't work anymore. I can still move resized rows in their own section, but not in another one. I implement two methods for my row reordering process: - (void)tableView:(UITableView...

Navigation Controller w/ TableView +MapView problem

Hi everybody, I'm building right now an iPhone app that basically is organized as follows: We have a Navigation Controller with a Table View all inside of a TabBar (a classic in iPhone apps) then in one of my tabs I fill the table view with data extracted from a DB in sqlite, so this far I have no problems, I display the drill down cor...

Data driven UITableViewController implementations?

I have a UITableViewController which is starting to get a bit crazy with all the switch statements for each UITableView delegate. Does anyone have any suggestions or examples of more of a data driven implementation for a UITableViewController? I'm thinking some type of data structure which would hold references of where to go to get ce...

UITableViewCell image animation problem while being selected

I'm interested in showing a blue dot in my table cells just like the Mail application does for unread emails. My understanding is there is no easy way of doing this except to create the images myself and set the image properties of my cells. So now I have created two square images, one with a blue dot and another blank image with the sa...

UITableView scroll direction

Is there anyway to know if a UITableView is scrolling towards the upper or the lower end of the table ? ...

How to stop UITableView moveRowAtIndexPath from leaving blank rows upon reordering

I am having an issue where in reordering my UITableViewCells, the tableView is not scrolling with the cell. Only a blank row appears and any subsequent scrolling gets an Array out of bounds error without any of my code in the Stack Trace. Here is a quick video of the problem. Here is the relevant code: - (BOOL)tableView:(UITableView ...

Is it possible to set a fixed width on the UIImageView inside a UITableViewCell ?

I have a UITableView in which of course I use some UITableViewCells. Now some cells have an icon / image which I want to display in front of the text, and some others don't. I didn't create the UITableViewCells in Interface Builder, just using the default stuff : // Customize the appearance of table view cells. - (UITableViewCell *)ta...

Cell specific Action like slide-in menu

I'm attempting to implement a slide-in menu like in the facebook app. I have a NIB for a custom UITableViewCell, which includes a button. The button has an IBAction associated with it, in which I animate in a subview of my NIB (the delete/edit menu). My problem is that my animation only happens on one cell, and its not the cell where I...