uitableview

iPhone - UITableView - lost data if i go back

Hello! I have a TabBar, NavBar, SearchBar with ScopeBar on my screen. I can search data via a remote server and list the content. So I have a NSMutableArray listContent and a filteredListContent like in the example of Apple (TableSearch - http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html): Now I added in - (...

UITableView reloadData problem in UITabBar

I have a tabBar application that has ResultsNavController as 1 of my tabBar's Nav Controller, the View Controller is ResultsViewController and my tableViewPtr is connected to the tableView in IB which is under Main window.xib ResultsNavController/ResultsViewController/View/tableView. After going to another tab to write to PureFun.plist,...

iPhone: Image View and buttons under a TableView

Hi guys I have a table view but I don't want it to fill al the screen let's say I want it to be 320x420. Well I want to put under the table view an image like a bar an image that would be 320x60. The first time I tried this the image went down to the section footer of the table view and I wasn't able to see it until I get to the bottom o...

iPhone programming

hi all, i try to display UIImage from url in tableview cell but it's not scroll soomthly. at time to scroll image is not cashed and every time its goes to url to display and scroll is stick some while [cell setProductImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:[dict_productinfo valueForKey:@"product...

Another take on the "keyboard obscures UITextField" problem

Hi All, I know that this is a common problem and the UITableViewController fixed this is iPhone SDK 3.0, but the UITableViewController is not working as I expect, probably due to how I am using it. Here's my problem: I'm working on a form, which is in a grouped table, which contains some text fields. Those on the lower part of the form...

Using CGLayer to Cache Cells in a UITableView

I am trying to improve the performance of scrolling in our app. I have followed all of the generally accepted advice (draw it yourself with CG, the cell is opaque, no subviews, etc.) but it still stutters sometimes when we have background CPU and network activity. One solution stated here: http://www.fieryrobot.com/blog/2008/10/08/mor...

Reorder-able UITableView with Max # of Rows per Section

Hi guys, first off, I'd like to say that this is my first time posting on StackOverflow. I'm new to iPhone dev and programming in general, having recently completed Stephen Kochan's Programming in Objective-C 2.0, and parts of Erica Sadun's iPhone Cookbook. Just reading answered questions on this site has helped me a lot, so I owe a big ...

UITableView problems

I've added a UITableView component to a ViewController in Interface Builder to make it easier to customise as the UITableViewController won't let me set a background image. I've then implemented some basic functions just to test if it works, but cannot get it to display any cells - does anyone have any suggestions on how to get it worki...

Get a UITableView to scroll up from the bottom / snap to the bottom, not the top

I have a table view which is many cases will only have one or two cells that don't fill the screen. In this case, I would like the cells to sit at the bottom, rather than the top. In other words they should "snap" to the bottom of the tableview. I can force the table view to scroll them to the bottom like this: CGPoint bottomOffset =...

Should I use Interface Builder to create Table Cells?

I'm doing a tableview, whose data provider can offer quite a lot of data. There will be an additional Details view for each cell, but I'm thinking that the initial cell could (should) show quite a lot of info, too. Better usability, fancy look & feel, fun to create. The problem is that it's quite a lot of manual coding to create a cell ...

Table with rows and columns, iphone

Is it possible to create a table in iphone sdk with custom number of rows and columns? I know to create a table using uitableview, unfortunately, it has a fixed number of columns and is 1. I want to get a view something like the image gallery of the iphone. is that possible? pls give your suggestions ...

how to get dynamic values from uitableview cells ?

If i have to show 10 or 30 or 100 strings in a uitableview..How to get the selected raw from that.. My value for each row is different .I mean i have to set the row value and display name from a 2 dimenional NSArray.. Somebody please help me.. ...

UISearchBar's TableView doesn't seem to update correctly...

I'm having a problem with using UISearchBar in a UITableView application, where the list is not refreshing itself correctly and the item that is at the index "0" remains the same. Here is some images to demonstrate what is happening: In the first image, I have begun to search a list of names, and the two that show up beginning with 'a' ...

Adding sections to a plist for Xcode for use in Cocoa touch Table View

I am a beginning iPhone SDK programmer. I built a simple practice application I am trying to use to learn more about table views. It's an app that loads football teams from a plist and displays them in a table view with their stadium name and logo. Tapping the team goes to a detail view for that team. I am trying to understand how to...

Autoscroll a UITableView

I have implemented a UITableView, which shows up fine as a subview in my iPhoneApp. Now this is supposed to be something similar to a tele prompter, so I would like to autoscroll this thing up, till the last cell is there. I was playing around with -scrollToRowVisible, but this did not seem to work. Can anyone give me a hint here or poi...

Best way to handle multiple UITableViews in one UIViewController?

I have a UIViewController that should be capable of displaying tableViews with multiple data sources. The UITableView spans about half the size of the screen, and there is and up and down button that allows you to go through different data. Everytime the up and down button is hit, I'd like to ultimately use UIViewAnimationTransitionCurlD...

UITableView Problem with Sections

Hi, I have all the code written out to divide an NSMutableArray into sections for a UITableView. But in cellForRowAtIndexPath I am finding that indexPath.row returns only the row for the current section. Is there any way to simply provide the number of the row for the entire UITableView. If anyone needs to see the code I will attach it b...

How to make UITableView(Controller) catch multitouch events?

I have a subclass of UITableViewController that works as expected. I'd like to capture multitouch events for the whole table to do something with them. The way I understand it, I should make the tableView of the controller be a subclass of UITableView. In that class I could capture the touchesMoved etc events. But I also understand tha...

How to show multiple customcell and a custom section header in one uitableview?

I want to create a tableview like this. All sections have custom section header views. The first row of first section contains a custom row rest of the first section cell's are another custom cell. Though every section will contain different type of cells. So what is the best approach to achieve this while managing the speed of tablev...

The iPhone function selectRowAtIndexPath doesn't work on UITableView when the item is offscreen

It works fine when the cell to select is visible in the scroll area. If it's not in the currently visible scroll area, then it has never been loaded via cellForRowAtIndexPath, and it doesn't get selected. And isn't scrolled to. What's up with that? This is on the iPhone 3.1.2 Simulator. Thanks, Tom. ...