uitableview

How do I specify to only display the "Value" of my plist - Right now the whole path loads in my UITextfield

showDescriptionPath is being passed from the previous Tableview. The text shows up, but the entire path prints in the UITextField instead of just the value of "Description" in my plist. NSString *DescriptionPath = [[NSBundle mainBundle] bundlePath]; NSString *DescriptionInfoPath = [DescriptionPath stringByAppendingPathComponent:showDes...

UIViewController shows two UITableView

Hi, I have a weird problem. I'm subclassing UIViewController and adding a tableView property in which I load a UITableView. Now I'm adding this UITableView to the parent's subviews. Works fine but I get TWO TableViews. One standard styled TableView and one the way I wanted it to be on top of the standard one. Both contain the correct d...

iPhone disk image loading in tableView (Photo application like)

Hello, I have a question about the best performance approach... Basically I have a UITableView, with cells and 4 images inside the cell. (The similar Photo Application thumbnail preview); 24 images seen... Images in cells are loaded asynchronously from URL address and when downloaded they are saved in Documents directory on iPhone. ...

Handling touches in UITableViewController

I want to implement the handling of an additional swipe gesture in my UITableViewController. However, it seems that in the case of tableviews the usual touch handling methods like -[touchesBegan::] of the controller are not called. How can I handle touches on a UITableView? ...

How do you allow the user to add items to a tableview in iPhone SDK?

Hi, I'm kind of new to this stuff. I was wondering how you can allow the user of your iPhone app to add new items to your tableview. If you're confused by what I mean, please look at the free app, ListGnome. ...

Custom Section Name Crashing NSFetchedResultsController

I have a managed object with a dueDate attribute. Instead of displaying using some ugly date string as the section headers of my UITableView I created a transient attribute called "category" and defined it like so: - (NSString*)category { [self willAccessValueForKey:@"category"]; NSString* categoryName; if ([self isOverdue]...

UITableView - listen to bounce?

Hallo all. Ist there a way to listen to the event when a UITableView bounces back? I want to be notified, when the User releases the Table and it scrolls back to the top, i.e. he/she dragged it down so far, that one can see the background behind the table. Is there a good way to 'listen' to this and be notified? E.g. via a listener, de...

Change table view ( tableview style grouped ) background color ?

Hi all, I am developing an iPad application in which I need a table view ( style grouped ) having background color as clearColor. My problem is [self.tableView setBackgroundColor:[UIColor clearColor]]; works well if the table view style is plain but when I switch to group table view the background color does not changes it stays gr...

UITableView: stop auto scrolling beyond selected position

I have a grouped UITableView which displays a number of cells, which includes both normal (text) cells as well as one with an UIImageView and another with a MKMapView. The cells are being used conceptually to show the user different parts of an area (such as description etc, in the text cells) as well as the location (MKMapView) and an ...

How to implement a TableView where the background scrolls at the same time?

Imagine you have a normal table view where each row is an item on a conveyor belt. You will put the items in each cell of the table view but when you scroll you also want the background image (the conveyor belt) to scroll as well. How can you do this? ...

Three20 TTLauncherView Tutorial?

Hi, I'm attempting to use TTLauncherView from the Facebook Three20 project in my app, but I'm not having much luck (I'm a bit of a newbie at this). Does anyone have any good tutorials at using it that I could read? FYI basically I need to pull images that a user chooses from the iPhone camera album, and display them as icons that when...

NSFetchedResultsController: changing predicate not working?

Hi, I'm writing an app with two tables on one screen. The left table is a list of folders and the right table shows a list of files. When tapped on a row on the left, the right table will display the files belonging to that folder. I'm using Core Data for storage. When the selection of folder changes, the fetch predicate of the right ta...

help core data tableview not reloading

i am using core data...my table view does not reload say if i add a new row to the table. until i terminate the app and re open it...im calling reloadData in my root controller viewwillappear method... any help would be appreciated thanks in advance ...

UITableView dequeueReusableCellWithIdentifier: returns nil more than once

In my test on the device and in simulator, dequeueReusableCellWithIdentifier: returns nil more than once (about 5 times for a table with 15 rows). Is this normal? I was under impression it should return nil only the very first time? ...

How to put a UITextField inside of a UITableViewCell (grouped)?

How to put a UITextField inside of a UITableViewCell (grouped)? I want a user to be able to edit it. ...

when/where should properties be released once the objects is pushed for display?

Hi, I've defined a view controller with an array as one of its properties, and set the array with an allocated and autoreleased array. After I push the view for display I release it. By watching the leaks tool I see that every time that I pop the view I suffer from leakage. I tried to release the properties explicitly, immediately afte...

How can I create a custom UIToolbar like component in a UITableViewController?

I have a UITableViewController. I want a "toolbar-ish" component at the bottom. I started by using a background image and a button. In interface builder, I added them to the bottom of the iPhone screen. The problem I ran into was that the background image and button scrolled with the table. I obviously need this fixed at the botto...

Why is UITableViewCell text floating to top on the device?

The text lables in my UITableViewCells are getting displayed differently on the device than on the sim. How do I fix it? ...

Handling empty UITableView in UITableViewController

I have a UITableViewController that is populated with some data. If the data comes back empty, obviously the table is empty. What is the appropriate method to use to handle this case and put up something like a UILabel with "No Data Available". I have been using - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(N...

UITableViewHeader (fix position)

Hi, I added a UITableviewHeader to my tableview, is there a way to make it fix. I want to scroll with my TableView but always be able to watch the Header. thanks, ...