uitableview

UITableViewCell color issues with custom table view background

I have a UITableView with a custom background image set like this: self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"mybg.png"]]; The background appears fine, but my UITableViewCells (default cells, not custom) have some sort of weird tint to them, and the UILabel containing the "New Project" text a...

Problem with cell background in UITableViewCell

I have a full list that populates a UITable. This I want to background the one of the cells with a different color and it works initially, but for some reason when I start scrolling the table up and down, it starts drawing more cells with the green background. Please note that there is ALWAYS one detailCell.detailTimeLabel.text that's ...

How do I create rows with alternating colors for a UITableView on iPhone?

Hi all, i would to have alternate 2 colors of rows, like the first black, the second white, the third black, etc, etc... my approach is like a basic exercise of programming to calculate if a number is odd number or not: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSStr...

Tableview lags, and glitches while scrolling due to images loading in each cell

Hey Guys! Me again! Can someone provide me with some example code of how to properly load images in a tablecell without making the tableview glitch while scrolling. For example if you look at fandago's app, when scrolling through their movies you can see that the image is loaded asynchronously so that the scroll isnt jumping, lagging, or...

Dynamically create hierachical tableview from file structure

Hi, I have a directory structure of directories and files that I want to render as a tableview in an iphone app. I'd rather have this generated dynamically rather than have to maintain a XML PLIST or whatever. i.e. replicate the Explorer functionality in windows where a user can traverse the structure and then select bundled image fil...

Is there an tutorial on how to customize UITableView?

Did actually someone make already a tutorial that shows how to customize an UITableView? I mean a strong customization like for example Tapbots does in Convertbot Settings. Everything is completely customized with own graphics and so on. ...

tabBarController popToRooTViewControler

Every time a user changes a tab, for the selected tab I want to push it to its top level controller. I have implemented the delegate method for the Tabbarcontroller like this: - (void) tabBarControler:(UITabBarController *)tabBarController didSelectViewController:(UIViewController*)viewController{ [[self navigationController] pop...

iphone using 2 tableview

Hi, I 'm a iphone programming newbie. I m trying to implement an app with multi-level tableviews. The idea is if someone selects something on the first screen say then a new view opens(tableview) car make> list of models Honda > Acura, S2000,accord ... My challenge is to show the list of models in a new tableview & secondly ch...

Persisting a single UISearchBar instance across 4 separate UITableViews

Hi fellas, I'm in the midst of an iPhone app that needs to have 4 separate UITableView objects sharing access to one UISearchBar in the first section and first row of the aforementioned UITableView objects. I have tried to offset the UITableView's frame by 44 pixels, then adding the search bar as a subview of my UIViewController's view...

Add a line below the navigationBar title

How can I add a second line (smaller font) below the navigationBar title as shown below? I want to show it below Sunday ...

UITableView crashes when trying to scroll

Hi, I have a problem with data in UITableView. I have UIViewController, that contains UITableView outlet and few more things I am using and ... It works :) ... it works lovely, but ... I've created an RSS reader class that is using delegates to deploy the data to the table ... and once again, If I'll just create dummy data in the main ...

TableView Cells unresponsive

I have a TableView and I wish to be able to press several cells one after the other and have messages appear. At the moment the cells are often unresponsive. I found some coed for a similar problem someone was kind enough to post, however, although he claimed it worked 100% it doesn't work for me. The app won't even build. Here's the c...

Adjusting table cells for navigation prompt

I have a tableview with a navigation bar at the top. I've added text to the prompt property of the navigation bar. This cuts the top half of the first tableview cell. Is there a way to tell the tableview that the prompt is present or do I need to roll something custom? ...

UITableView hide sectionindex but retain sections

We'd like to implement our own section index UI for UITableView. It's clearly possible, since the contacts app does it on iPad. Is there a way of legally hiding the current section index? (I can get to the undocumented _index UIView but that's not going to cut it with Apple I suspect) ...

Animating Reloading of UITableView

I am trying to animate table rows in a UITableView in an iPhone project as I swipe across the screen to reload the data. When I disable animations and only call reloadData, table continues responding to swipe gestures. When I add animations with the reloadSections:WithRowAnimation: method, table stops responding to swipes, and only the...

UITableView not displaying parsed data

I have a UITableView which is setup in Interface Builder and connected properly to its class in Xcode. I also have a "Importer" Class which downloads and parses an RSS feed and stores the information in an NSMutableArray. However I have verified the parsing is working properly (using breakpoints and NSlog) but no data is showing in the ...

iPhone: Crash When Deleting UITableView Rows

Hi, I am new in iPhone development. I am developing an application that fetches a value from a database and displays it in a table view. I want to delete table rows one by one but the rows do not delete and the application crashes. Here is my row deletion code: - (void)tableView:(UITableView *)tv commitEditingStyle:(UITableViewCellEd...

UITableView crashes when adding 2 objects to an empty store, with sections (NSRangeException)

UITableView crashes in endUpdate, called by the Managed Object Context "save" method, when: 1- The Core-Data Store is empty 2- The Fetched Result Controller is configured to show sections 3- Two managed objects (or more) have been added to the store When I've searched this problem in google. I've found exactly matched error in this p...

Problem with hitTest

Hi I'm trying to have hitTest detect touches in a UITableView. Currently the didSelect method fails to react to numerous touches I want to ensure that every touch is detected especially as there are quite a few touches required before another view controller is pushed.I'm a total newbie to objective-C but I did manage to find a code sni...

How to get indexPath.row at textFieldDidEndEditing

Hey all, i use some code for inline cell editing from Apples TaggedLocations Example and im now stuck. At the demo Code they save the changes at textFieldDidEndEditing, this works because they asume to edit only the first element in a table view. I have to edit every row at the table view, so my problem is how to get indexPath.row to ...