uitableview

iPhone UITextField within TableCell blanking out

In my iPhone app I have a settings page where a user can enter text into multiple TextFields. The text fields are all cells within a table. The problem I'm noticing is that when a field scrolls off the phone's screen it loses the value currently in the text field. I notice Apple's apps always have you click on a field to edit it, whic...

Weird view, in UITableViewCell at editing mode, while reorder cells

Hi, iphone problem. http://errorimages.s3.amazonaws.com/weird_cell.png I am in editing mode. The dark grey is an imageView, that it seems being pushed by the reorder icons, and you can see the UIview in the background (light grey). I do not like this to happen. What do you think? ...

I put a button on a table view cell that play sound when they are pressed but...

I put a button on a table view cell that play sound when they are pressed, when I press the button it stop the sound. But pressing another button on another cell it doesn't plays another sound while the other still playing. I hope that when another button is pressed in another table cell it will stop the playing sound. Here is my code ...

Why aren't UItableViewCell images loading until scrolling?

My code downloads images asynchronously using InternetImage in the tableview: cellForRowAtIndexPath: method by initializing a IntentImage with initWithURL and calling downloadImage. This code runs perfectly after scrolling down to a new cell UITableViewCell in the UITableView, but not before, even though the URL is correct in both cases....

Cocoa Touch - UITableView within a View

Greetings, Problem: I have a main view, that already is associated with a xib file, an appdelegate class, and a controller class. Now, opening its xib file in interface builder, I add a UITableView. Then, in its controller class, I create the IBoutlet code to use it, let's say: tableView. Questions: 1) Where do I go from here in...

How do I detect touches anywhere on the screen of a tableview, not just the cell?

I would like to hide the navigation bar, status bar, and tab bar when a user taps anywhere on the screen. The view for this tab is a tableview but the cells are inactive (they store images and text and do not perform any actions). Is there a method for detecting touches on the screen of a tableview? Thanks in advance for your help! ...

UISlider Update inside UITableViewCell

I have a custom UITableViewCell that contains a UISlider control and a UILabel which shows the current text value for the slider position. I want to update the label as the slider knob is dragged. Here are the basic elements. cellForRowAtIndexPath: This routine takes data and updates the slider value and the label associated with it. ...

UITableView property changing ?

can we change the color and other property of TableView , msg box, and other readymade ui ? ...

How do I return an array with the initial letters of all the objects in another array?

I am working on converting a plain tableview to a sectioned tableview. I would like the section titles to be the first letter for the items in the section. This is what I have so far in my titleForHeaderInSection method: NSSortDescriptor *sortDescriptor; sortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"Name" asce...

Reloading UITableViewCell on select

Okidoke. Here's my problem: I have a series of complex UITableViewCells set up to display stories from a news feed (yawn). What I want to happen, is for the cell background image and height to change on selection (as a means of marking that the story has been read). Now, prior to setting up dequeueing, I was able to do this with a simp...

why doesn't currentLevel keep incrementing at the example

Hello all, I have a question about the next example http://www.iphonesdkarticles.com/2009/03/drill-down-table-view-with-detail-view.html Now I wonder why doesn't the rvController.CurrentLevel keep incrementing? I've build something simular and would be delighted if CurrentLevel kept incrementing. But i placed a breakpoint there and...

How to push a view into an existing table cell?

I've got a nice table populated with data, with custom-designed cell layouts. Currently, tapping a cell will push in a new view (for more information, say), which works fine. What I'd like to do, though, is have the new view push into the cell's bounds, not fill up the whole screen. Can't seem to wrap my brain around how to accomplish t...

How to put cells into certain sections in a grouped table?

I've got a class of object with a category property (task.category), which is set to an integer value (1, 2, or 3). I'd like to have a grouped table build itself by putting each task into the right section... How do I get certain cell objects to be drawn in certain sections of a grouped table, based on one of their properties? Thanks! ...

Can't get UISearchBar to display unless inside a table view

My goal is to have a UISearchBar fixed in a view right above a UITableView. When I set this up in IB and then build, the table view expands to fill the whole window and the search bar is not visible. If I make the UISearchBar a subview of the UITableView, the search bar displays as expected, but this is not what I want. What I'm afte...

Best way to grab an array of dictionaries from a plist and create sections based on the values for a key.

I have a plist that contains an array with a collection of dictionaries. The dictionaries in the array are used to create a fairly complex tableview with 2 images and 2 lines of text in each cell. I am wanting to create sections in the tableview based on the first letter for the value corresponding to the "MainText" key. Here is the p...

Why doesn't UITableViewCell selection not draw if I tap very quickly?

I have a a UITableView with cells that are partially custom using addSubview. I am using a different cell ID for the last cell, whose purpose is to load more data from a server which will make new cells appear. (Think the "Load more messages from server" cell in Mail.app) E.g. - (UITableViewCell *)tableView:(UITableView *)tableView cel...

Calling a modal window from within a custom UITableViewCell

I have a UITableView and inside it I create a custom UITableViewCell in the follwoing way: ItemCellController *cell = (ItemCellController *)[tableView dequeueReusableCellWithIdentifier:ContentListsCellIdentifier]; ... cell = [[[ItemCellController alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ContentListsCellIdentifier...

UISearchBar tinted like Contacts

The UISearchBar in my UITableView header is the strong color. The TableSearch uses the more subtle code, but I'm not sure how it's doing it. I've looked at the TableSearch example code. Specifically, I don't see tintColor being used anywhere in this example. I don't see opacity or alpha used, either. How does the TableSearch example do...

Adding NavigationControl to a TabBar Application containing UITableViews

Hi, I'm new to iPhone dev and wanted to get advice on the general design pattern / guide for putting a certain kind of app together. I'm trying to build a TabBar type application. One of the tabs needs to display a TableView and selecting a cell from within the table view will do something else - maybe show another table view or a web ...

Is it possible to select a row in a **previous** UITableview

Hello all Is it possible to select a row in a previous UITableview. I provided image samples to get a more clear picture of what is happening exactly. http://img186.imageshack.us/img186/933/picture8a.png http://img405.imageshack.us/img405/9327/picture9d.png http://img200.imageshack.us/img200/5386/picture10thm.png At the morning w...