uitableview

How to implement UITableView with multiple columns and sideways scrolling.

I'm thinking about how I could achieve this kind of UITableView: http://snapplr.com/c1x5 So it has multiple (separately selectable) columns in it which also differ in width. Apart from that it can also scroll sideways to see programs which broadcast later on the day. Now, I'd like to know how you would implement this kind of feature. A ...

Customization of UITableView swipe to delete control

Is it possible to change a color of swipe to delete control? ...

resizing UITableView to fit content

I am creating an app which will have a question in a UILabel and a multiple choice answers displayed in UITableView, each row showing a multiple choice. Questions and answers will vary, so I need this UITableView to be dynamic in height. I would like to find a "sizeToFit" work around for the table. Where the table's frame is set to the ...

Trying to retrieve the contents of UITableView cell on selection by user.

Hi, this is my first post here and as i am very new (2 weeks in...) to iPhone (or any!) development i am a little unsure as to how much detail is needed or relevant, so please forgive me if I dont provide enough to be useful at this stage... Anyway, on to my problem - I have set up a UITableView-based app, which has a .plist for holding...

Speed Problem - Animating Height Change in UITableView

So I have a huge UITableView, between 1000 and 3000 rows. Each row needs to, when selected, expand to include several buttons. I do this by rendering the buttons below the cell, enabling clipping on the cells, and then just animating a change in height when they're selected. So I have heightForRowAtIndex checking if the row is selecte...

How can you trigger the viewWillAppear of a UITableView AFTER its UINavigationController?

I have a situation where I use a tab bar set up but with nav bar controllers on a couple tabs. Those tabs have table views on them. Everything works great, I can pick a tab and get a different table in a nav bar structure. The other tabs are non-nav controllers. Fine. I want to use the same table view controller and even the same detail...

Core Data (NSFetchedResultsController) displaying one row per section

I have a CoreData application which uses NSFetchedResultsController. NSFetchedResultsController is useful in that it allows me to access the fetched objects more easily etc. but I find that I have problems with the following: I get a crash when I display a single row for each section (irrespective of the number of actual rows present) a...

UITableView gives empty table, does not load data (solved)

Hi, Everything works fine when the view that holds my table is the main (first) view. However, when it's not the first view and I switch into that view, my table does not load data and I get an empty table. Using NSLog I can tell that the program is not invoking numberOfRowsInSection and cellForRowAtIndexPath. I have <UITableViewData...

How to reload a table view in a view controller in iphone?

I am new to iphone development.I have created a table view in a view controller. I want to reload the table view so that i can display the contents which are parsed previously in delegates. More over reloadData does only reload the cells. It doesn't take care of actually updating the underlying datasource. E.g. if i read data from an...

Should I really use a UITableView in this situation?

Imagine you have a view like this: At the top, there is an UISegmentedControl with two segments. It functions like a tab. Pressing one segment will activate this particular content below that UISegmentedControl. Below the UISegmentedControl are some switches. These modify the way how the content should be rendered. And finally, below...

iPhone - Is it ok to override UITableViewCell setSelected:animated

I am drawing custom UITableViewCells. My cells are opaque and are completely drawn in the drawRect of the cell to help with performance. I want to handle the look of a selected cell myself. If I don't, then the contents of my cell is covered up by the selectedBackgroundView that is added. Is it common or acceptable to override the se...

How to manage a single-selection (exclusive) list?

I've got a detail view that consists of a table view with a few rows of data. I can fill the rows just fine, and moving back and forth from the parent view to the subview works too. This detail view should allow the user to select a single value, placing a checkmark accessory in the cell and then returning to the parent view (where the s...

take images from a cell , into next view controller

hi guys , i asked this question yesterday but it doesnt seem to have asked properly so im trying again in my app im parsing in an xml file , in that file there is a path for an image to download an in my tableview controler i have this to download the image and display it in the cell NSURL *url = [NSURL URLWithString:aStory.picture]; ...

Changing custom cell appearance when entering editing mode

Hi, I have a table with custom cells, that I built in IB. When entering editing mode, content of all cells is moved to show delete edit control. My question is where can I adjust the cell appearance before entering editing mode? I saw that willBeginEditingRowAtIndexPath function is supposed to let adjust the UI, but seems I don't get th...

Can I really have just one column in UITableView?

From the docs: A table view in the UIKit framework is limited to a single column because it is designed for a device with a small screen. ...

Is there a more useful explanation for UITableViewStylePlain?

From the docs: In the plain style, section headers and footers float above the content if the part of a complete section is visible. A table view can have an index that appears as a bar on the right hand side of the table (for example, "a" through "z"). You can touch a particular label to jump to the target section. ...

Can I have that A-Z index bar in an UITableView also with UITableViewStyleGrouped, or only with UITableViewStylePlain?

Can I have that A-Z index bar in an UITableView also with UITableViewStyleGrouped, or only with UITableViewStylePlain? ...

Accessing items separated by -componentsSeparatedByString

Hi, I have an array gathered by componentsSeparatedByString: that looks like the following when I use po in the GDB after the array has gone through componentsSeparatedByString: "\n\t\t <b>Suburb, </b> BAIRNSDALE", "\n\t\t <b>Address, </b> 15K NW BAIRNSDALE", "\n\t\t <b>Reference, </b> MELWOOD/SCHO...

Can I make an UITableView reorderable while still allowing deletion of rows?

from the docs: the reordering control temporarily replaces any accessory view. So when I do implement tableView:moveRowAtIndexPath:toIndexPath: in the data source, I would automatically get those reordering controls, right? But when they replace the accessory view (which may be the deletion control, right), then the user can only ...

Signal "0" error while scrolling a tableview with images

Hi, I have a problem while scrolling images on tableview. I am getting a Signal "0" error. I think it is due to some memory issues but I am not able to find out the exact error. The code is as follows, - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSStri...