uitableview

Use an image as the UITableView separator

I got an UITableView on my project and I need to customize the separator. I want to use an image instead of a color. I tried using the +colorWithPatternImage: UIColor method with no luck. ...

Scrolling a section in UITableView

I have an instance of UITableView with two sections, the first with one row and the second with up to eight rows. The second section frequently goes off the screen and the user can scroll the whole table view down to see these at will. However I would like the first section to always remain in view because its information is useful. I'd...

DTGridView doesn't interact with UILabel.

Hello everybody. I am using DTGridView with a subclass of DTGridViewCell with a UILabel and UITextField to do an in-place cell editing. That idea worked for me in UITableView like this: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { EditableDetailCell *cell = (EditableDetailCell *)...

UITableView and touching section headers

Can a section header in an instance of UITableView already be made to intercept a touch? ...

Wait for uitableview animation to finishe

Hi, I have a tableview and I'm doing an insertrow animation on it, and sometimes I have the deleterows animations too. But the problem is that sometimes the delete is called before the insert finishes. Is there a way to know when the animation is over? Thanks ...

Reload Data On View Controller Dismiss

I have a table view, which populates data from the web. To add information to this list I have a configuration screen presented modally. When data is added successfully the configuration screen is dismissed, I would like the data in the table view to automatically reload from the web to reflect the newly added data. What is the best w...

Implementing a table on ipad - possible solutions

I want to implement a table which is similar to the tv guide that you see in Yahoo app on iPad. The user needs to be able to scroll horizontally, vertically and even diagonally. The cells have to be resized dynamically based on the content. Is this possible using UITableView or AQGridView? Or is there any other other approach to implemen...

iPhone: Grouped TableView background image problem

Hey everyone, this seems like it should be a simple one; I really hope it is. As always, thanks in advance! All I'm trying to do is add a background image to a grouped style tableview. I'm using the following method in viewDidLoad: self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]...

How to get the correct hight and expand the table view when a tableview is in a scrollview?

I have a scrollview that contains a tableview and some other componinets, some buttons and labels. However I cannot figure out how the following two questions are addressed: I know how to disable the scrolling in the tableview. Nevertheless, can anyone tell me how to expand the tableview programmatically so the hight of the table view ...

how to make UISearchBar static in TableView in Iphone Application.

Hi. can anybody tell me that how should I make permanently visible the UISearch bar in TableView. In my Application I have put search-bar on top of the table but when user scroll down search-bar disappear. Please Help me Thanks in advance. ...

How to create this UITableView

Hi, everyone, I want to ask a question about the iPhone application. I am writing a program with the UINavigationController, and I can click the UITableView cell and go to the detail page. However, I don't know how to create the following table view. (I use the didSelectRowAtIndexPath to go to another page) How can I create this kind of...

Multiple UITableView on a single UIView

Hi everyone I'm trying to put 2 TableViews on a single UIView. I've implemented the methods needed. I've tested the apps with breakpoints and the project fails at this method. I have 2 tableviews : radios_tv and presets_tv Two arrays from the delegate from which count is obtained: array_radios and array_presets array_radios contains 10...

SearchController: How to show ALL Entries when searchtext is empty?

I have a working searchview Controller which show me all matching entries when I insert a letter. It's working fine. If the search is empty, the Controller shows nothing. How can I change this? I want that it shows all entries of the filteredlistcontent-array when the searchtext is empty. Therefore I changed the filterContentForSeracTe...

iphone uitableview grouped by date implementation

Hey guys, I'm very new to iphone development, so you'll have to forgive me. So currently I have a table that displays messages, but I'd like to group the messages by date, e.g. Tuesday 4/5/98 //header message 1 message 2 message 3 Wednesday 4/6/98 message 1 etc. So right now, it's just one long NSMutableArray oldArr (sorte...

Anyone know how to make a view that looks like this?

It's an edit screen for a specific item in a table view. Don't know if I'm going to have to make a custom view or not. Feel like I've seen this kind of layout before though...Thanks. http://martyulrich.com/Home/Home_files/help.png ...

crash when switching between tableviews using tab controller and MBProgressHUD

I have two tableviews. One loads when I select one tab, and the other loads when I select the other tab. I use MBProgressHUD to allow for quick switching between the tabs as I pull the tableview datasource from the web using Objective Resource and that can take a little bit. So I throw up a HUD progress indicator waiting for the data ...

XML Parse with selected row data in table view

Hi, I have a problem about xml parsing. I parsed an xml that holds gas stations information. Each station has city, county, name and location informations. First, I add city names array in my table view. Question 1= When user selects a city name, How can I get county's in that city from my xml. (I don't want to get more than one co...

iphone UITableView remove and sort row

Hi all, I have a uitableview that show my array of things, I wish add the possibility to remove some row sliding from right to left (like the mails) and the reordering moving the rows up or down.. what's the best way to do this? thanks ...

Problem resigning UISearchBar's firstResponder status

Hi there, I've got a UISearchBar on my UITableView and a method -finishSearching which looks like this: - (void)finishSearching { [overlayViewController.view removeFromSuperview]; if ([sb isFirstResponder]) [sb resignFirstResponder]; myTableView.scrollEnabled = YES; } This method gets called everytime I want to st...

Best way to implement a custom UITableViewCellAccessoryType to use as check mark (like a to-do list).

I need to create a checklist using a UITableView with the accessoryView as a custom check box and tick, what would be the best (fast & efficient) way to do this? Also what would be the best way to tick/untick it from within accessoryButtonTappedForRowWithIndexPath and store/retrieve the current state of the row (checked/unchecked) for e...