uitableview

text in header & footer of table section iPhone

Guys, I've a question about printing text in header and footer of table view section. I want to show some text in footer of each row, but i'm having problem doing so. When i start next section it start drawing from below of first one. To Get the idea what exactly i need, go to Settings->General->Network In this screen, we've multiple se...

UITableView corruption upon scroll.

Hello all, Im trying to get a UITableView to display items contained within an array. This array is contained within a class (HX_ParkingSearch). I have a ref to this class that contains the array inside the app delegate class, to enable the views to access it. Problem is that I get one page of results displaying correctly inside the tab...

How to get a UITextView to autosize within a UITableViewCell

Setup: I have a UITextView inside a UITableViewCell's contentView. I want it to take up the full size of the cell. I create the text view like so: UITextView *textView = [[[UITextView alloc] initWithFrame:CGRectMake(0,0,268,43)] autorelease]; textView.backgroundColor = [UIColor redColor]; textView.layer.cornerRadius = 10; textView.au...

Search on Core data backed UITable issue?

Hi All, Not sure if this is the right place (I am sure someone will let me know if it is not) I have a iPhone application that has a UITableview that is backed by core data. I want to perform a reducing search so that only the items starting with the characters entered into the search bar are shown. This is normally done with the dele...

iPhone UITableView + Rotation = Disappearing Tables ?

I'm trying to replicate Apple's "Edit Details" functionality, where a grouped UITableView is shown with 1 row, and the entire cell is one big UITextView. For an example, go to the Contacts app, edit a contact, and add a Note field. That's what I'm going for. The problem I'm having is when you rotate the phone. The first time you rotate ...

iPhone + UITableView

Hello, I am having UITableView in my application, I want to do formatting of it, like change the height of rows in table, change the font and colors of text in cells etc. Can anyone help me ...

iPhone + UINavigationController + UITableView

Hello, I have a view. I want to put one UINavigationController and one UITableView in this view and display data from database into my TableView. I put a UINavigationController in my instance window. In the View part of this NavigationController I drag and drop a UITableView. I map the File Owner->Identity Inspector->Class with the V...

Fast Scrolling table cells with images. Is this how it is done?

Hello, I'm try to create a fast scrolling list using the creator of Tweetie, Loren Brichter's technique. I believe the idea is to "do your own drawing" instead of using using subviews and images in the UITableViewCell. Below I have extend his example to include an image and I'm not sure if this is the correct way to do it? I have bee...

How to change iPhone UITableView delete button title while editing it

Hello guys, i need to change the title of the default delete button that appears when i attempt to delete a row from a tableview after setting editing to YES Thanks for helping ...

What is the easiest way to add a row in a UITableView with a user-provided string?

I have a simple UITableViewController in a UINavigationController that displays a list of strings from an array with the default Edit/Done button on the right-hand side of the navigation bar. When pressing the Edit button, the UITableView animates correctly and shows the red minus icons to delete. Pressing the delete button removes the ...

cellForRowAtIndexPath not called; sections returns 1 and rows returns 4

After parsing JSON data in a Data class, I set the UIViewController's NSArray *headlines property in a fillArrays method of the same Data class. In the viewDidAppear method of my UIViewController, I call reloadData on my UITableView. numberOfSectionsInTableView fires and returns 1, then numberOfRowsInSection fires and returns an array co...

Preventing touches from being handled by a parent table view

I have a custom table view cell that handles user gestures. However, even if I have exclusiveTouch set to YES, the moment the y value changes by any amount, scolling starts, even if I'm in the middle of handling the touch events. How do I prevent the table from scrolling when I'm handling touch events in the cell? ...

Speeding up iPhone animations

I have a data entry application that has the user enter about 6 pieces of information all on different views in a navigation controller. This works fine, but once the user gets used to the application the time it takes for the next screen to appear slows the user down. I tried the application without the animations, but it doesn't feel...

UIPageControl UIScrollView & selection

I have a UIPageControl which has UIScrollView which is the MainWindow.xib On the UIScrollView are a UITextView and a UITableView. The user makes a row selection, moves to the next page and selects another row based on the UITextView. I want none of the row to be selected in a page and when the user makes a row selection, I want the se...

UITableView allow two cells to have selected style at the same time

I have created a UItableView using the default Xcode template and configure it to display five rows. I select the first cell on the table. When I select another cell I notice the first one stay selected until I remove my finger from the second one. sample: http://img190.imageshack.us/img190/7184/cellsz.jpg I want a cell to become selec...

Keep a UITableView section from showing up as editing while the table is in edit mode

I've got 2 sections in a UITableView. The tableview needs to stay in edit mode, but only the first section is editable. Specifically, I want the second section to display as it would if the table were not in edit mode (tableviewcells are their original widths in stead of the left side being in line with the cells of the first (editable...

Become UIScrollViewDelegate delegate for UITableView

I have a UITableView instance variable. I want to be able to register my view controller to be the UIScrollViewDelegate for my UITableView controller. I have already tried tableView.delegate = self; But when scrolling, my methods - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView - (void)scrollViewDidEndDragging:(UISc...

Custom Delete button On Editing in UITableView Cell

I have gone through following question. http://stackoverflow.com/questions/1607155/how-to-change-iphone-uitableview-delete-button-title-while-editing-it -(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath{ return @"Sagar"; } I want a custom image instead of defau...

Selecting strings for UITableViewCell - array or switch statement?

When setting up a UITableView's data source, I'd be interested to get views on which is better, solution A: NSString *labelText; switch (indexPath.row) { case 0: labelText = @"Setup New Match"; break; case 1: labelText = @"Teams"; break; case 2: labelText = @"Players"; break; case 3: labelText = @"Archive"; break; }...

Problem creating checklist (similar to TouchCells sample code) app for iPhone. Random cells get checked.

I've been having a problem creating a checklist in the style of the TouchCells example from the Apple sample code. Basically, it is a table that allows multiple selection of its items and gives each selected item a check mark. The problem I'm having is that when I select an item and then scroll down the screen, another item (off the scr...