uitableview

UITableView visibleCells (in section?)

I have X sections. I want to "lazy" load images in different Custom Cell for each section. Is there any better way to do that than checking each time if cellArray.object (visibleCells) is equal to Ccell in which i want to load those images? UPDATE: Here is a working code(for now ...). My code is based on Adrian Kosmaczewski's example h...

Transparent background in grouped UITableView - iPhone

Hello. I want to make the grouped UITableView transparent. I partially succeded with the following code: UIColor *bgColor = [[UIColor alloc] initWithWhite:1 alpha:0.0]; historyTable.backgroundColor = bgColor; Unfortunately, black corners appeared in the rounded cells. How to get rid of them? ...

How to add a UINavigationController to my UITableViewControllerSubclass?

My app is a tab bar application, which one of the tabs is a TableViewController instead of a viewController which works fine (the table displays great) but where and how do I add UINavigationController to it? :-) ...

unused cells background color

I have a UITableView which displays about 5 cells at a time, yet in my table there might be cases where there are only 2 cells with content as seen on this picture: The white cells below do not look nice, how can I change the background color of these cells to black too? UITableView does not have a backgroundColor property. Thanks! ...

How do I reload a tableView contained within a UIViewController?

I want to reload the data within a table view that is contained on the root view of my application. The root view of my application (called RootViewController) is a UIViewController that has a corresponding NIB file. I added a UITableView component to the RootViewController.xib via IB. In the header file RootViewController.h I ensure Ro...

UITableView search and arrays !

Hi all ! need some help In my app i have a NavigationController, in it i set a UIViewController with the delegates : UITableViewDelegate, UITableViewController and UISearchBarDelegate. I set my table view using an array, i set an another array to do search. When a row is selected, i push a viewController, i use my ChangeProductText...

ipad splitview tableviewcontroller width

How do you change the width of the uitableviewcontroller in an iPad sdk 3.2. It seems that it is fixed just like the iphone uitableview. Thanks for your help! ...

Access custom cell within - (void)tableView:commitEditingStyle:forRowAtIndexPath:

Hey Guys, does anybody know how i can access a custom cell within the - (void)tableView:commitEditingStyle:forRowAtIndexPath:. I need access to my Custom Cell Class to retrieve some parameters. Thanks. ...

UITableView custom popping

Okay, I made an app that has a list of items as a main view, and when you select an item it pushes a detail view controller. In this detail view controller you can switch between items. I want to be able to push a view, scroll a few items, and pop the view as if the current item was initially selected. I want to push a view, and then whe...

Wrap words in uitableview, iphone

I am creating an rss feed application. As a sample i have downloaded apples rss feed, but the problem with it is that the words in the table cells are not wrapped. As the contents are of very lengthy, the users may not be able to read the full text from the table unless by going to that link. Instead, I need to display that in 2 or 3 lin...

show a detaildisclosure button to the uitableview without custom cell

How to show a detail disclosure button to the uitableview without using the custom cell. I know its by using the accessoryType: method, but don't know how to implement that..pls help.. ...

Capture Touch Event on UITableViewCell and after enter didSelectRowAdTindePath method

Hi I want to personalize my UITableView changing background when user tap on a specific cell. I've a dedicated ViewController for each cell and if I implement touchesBegan method in this viewController i can change my cell background without any problem. The problem is that the method "didSelectRowAtIndexPath" of the UITableView is no l...

Clear tableView cell cache (or remove an entry)

Hi, I have the same question problem as described here http://stackoverflow.com/questions/2286669/iphone-how-to-purge-a-cached-uitableviewcell But my problem can't be solved with "resetting content". To be precise - I use a custom cell (own class). While running the application it is possible that I have to use a different "cell type"...

Intercept small circular delete button in UITableView

Hi I want to modify my table view cell apparence when the delete button came in. When it appear after swipeing i can intercept it with this method -(void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath the problem is that this method is not called when I'm in edit mode and i press on the sma...

Moving the UITableView AccessoryView

I have a UIView which contains a UITableView. I customized the cells of the UITableview to display the cells as individual boxes which are a little thinner than the width of the table. One problem is that when I set the Accessory type of the table to UITableViewCellAccessoryDetailDisclosureButton, the arrow overlaps the right edge of t...

Can't Reorder a UITableViewCell into _some_ empty sections of a UITableView

If I have a UITableView in edit mode, w/ reordering turned on, it seems I can't move some (but not all) cells into some (but not all) empty sections. For example, if I have this layout : Section 1 apple banana Section 2 doberman Section 3 Section 4 Then I can move 'doberman' into any slot in section 1 (except after 'banana'), b...

uitableview not showing data

i followed the tutorial -> http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/ but the thing is my uitableview isnt showing anything from database!! i did an nslog and able to query the data..so what could be the possible error? i went through line by line with the source..but still can...

Intercept tap on Deletion control in UITableView

Hi I want to intercept taps on the circular Deletion control (example of Deletion Control button) on my TableView to know when the "Delete" button comes in and I can change my cell layout. Can Anyone help me? thanks a lot! ...

Change width of UITableViewController on iPhone

Does anyone know how to change the width of a uitableviewcontroller? I was thinking maybe I could do it in interface builder because I can't figure it out in the code. Thanks! ...

Selected cell : Change background color

Hi, This is for the main browse menu. I have a View. Inside that is a UITableView. I am populating this UITableView with my browse menu items. (icon1 - menuitem1, icon2 - menuitem2, icon3 - menuitem3 and so on) Now the problem is: Some of the menuitems, upon clicking go to a static UI like Send Email form, FAQ screen etc., And some of ...