uitableview

Problem with indexed table...UITableView iPhone problem

Hi, I am trying to grab the data from the database and display all the values in sorted order grouped into sections from A-Z and also my UITableView is indexed. In this case the indexes are A-Z. The strange thing that's happening is when I get all the values from the DB onto the table, I see that values under section 'B' has some values...

Problem with empty sections in UITableView

Hey All, I am trying to display the data on the UITableIndexed View and I deleted the empty sections in the table.Now the problem is I added a gradient image as the background to the UITableView, it displays fine for all the cells, but when there is an empty section it displays a row with white color with which the appearance of the tab...

iPhone Sdk: How to add a second UINavigationController??

Hi, i created an app from the navigation-based template given by apple. Now i want to add a second navigation controller to my application including a new UITableView. Can anybody show my how to do this? Thanks! ...

Reloading only one UITableViewCell on a UITableview

Ok Guys, here's the situation I have. I'm using a UITableViewController with Core Data. The table has about 200 cells, that basically function as a checklist. When you tap a cell, that cell has a checkbox that gets toggled set to the UITableViewCell.imageView ( the UIImageView assigned to the left of the label). Anytime I use either ...

Prevent a section in UITableView in Edit Mode from narrow animating?

I have a UITableView with 3 sections. 2 of the sections are fixed in that when in edit mode, no additional rows can be added or deleted, therefore only 1 of the 3 sections show the green plus/red minuses, however the rows in all three section animate to a narrow width to accommodate the plus and minus for the single section that can be ...

UITableView and NSOperation Logic Problem

Hello everyone, My project is a Thumbnail image gallery. I implemented it using a UITableView which has custom cells. In each cell there's 4 UIButtons which has the images. And the images are downloaded from the internet using their URLs. The way I'm assigning the images to the buttons is using Jasarien's method described in this post....

Editing multiple sections of a UITableView at once causes crash.

I have a UITableView with 2 sections. The section 0 contains a list of file names and the user can tap them to toggle the checkmark accessory. This section is also editable so the user can swipe to delete a file/row. The section 1 is not editable and contains 1 row and acts as a button to initiate a transfer of the files. Thus, the da...

JSON data in NSMutable Array is out of scope and tableView won't display the cellData

So i'm working on an iphone app that parses json and tries to put the results into a plain UITableview. I have my tableview setup in the xib file and also setup the datasource and the delegate as the MainViewController (this is utility application). I get the JSON request just fine and I always test this by outputting it to a text label...

split UITableView in iPhone

In the amazon iphone app home page there is a grouped table view that has two cells on one row. How can I recreate this? ...

2 tableview on a single view

Hi there I need an example or explanations of how to populate 2 table views which are on the same view. I need to understand the "cellForRowAtIndexPath" method, could someone provide me an example on how should the code be? I mean how to identify which goes which table view? Thanks Below is my cellForRowAtIndexPath method: // Custo...

iPhone: Dynamically show/hide table row/section

I am trying to dynamically show/hide table rows/sections when turning a UISwitch on or off. This behavior can be seen when switching wifi on or off on the iphone, as you can see the rows below it being shown or hidden. Any idea on how this is done? ...

How should I addSubview to cell.contentView?

A (when the cell is newly created): - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell a...

Objective-C Section Headers not appearing correctly?

I have a Station object defined as: @interface RFStation : NSObject { NSString *stationID; NSString *callsign; NSString *logo; @end I also have an NSMutableArray called 'StationList' which is a list of Station objects. This list is sorted alphabetically by 'callsign'. I also have another NSArray called 'generalList', c...

How to make a UITable to highlight its 5th row when we start the app?

I am using a splitviewcontroller. When I select something in the table the row is highlighted and it is shown in the detailed view. I have also provided an option to change the contents in the detailed view by scrolling. When I start I want the the 5th row to be highlighted by itself, how can I do it? ...

How to switch UITableView's NSFetchedResultsController (or its predicate) programmatically?

I have a UITableView that displays a subset of a large number of entities named "Documents". The subset is defined by another entity "Selection". Selections are named, ordered list of documents. It Works fine, except when I want to change the displayed selection at run time. I get only a blank list. Basically, I need to change the pred...

populating the uitableview in xcode.

i am working on an application, and i found this customized table view at "http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html" but the problem is that i dont know how to populate the table view. You can download the xcode project form that site, and look at it. you can email me at [email protected]... please no...

Page Control with TableView Example

Currently I have a tableview containing 4 custom cells. I desire the user to select one of the cells. This works OK using the accessory checkmark. The problem I have is in trying to make it easier for the user to know which cell to select. My current thought is to have a page control object consisting an array of 4 custom cells. Pag...

Add row in a TableView.

Hi, So I have two views, the first have my TableView and the second have my TextField and I want to add a row in my TableView with the text in my TextField. For the moment I can just add row with [myTableView addObject:@"Test 1"]; [myTableView addObject:@"Test 2"]; [myTableView addObject:@"Test 3"]; Thanks for your help! - (UITab...

UITableView adding/deleting sections while not in editing mode?

I have a UITableView and basically I'm making some in app settings, and if the first section's UISegmentedControl is toggled to index 1, then I want to display a new section, but if index 1 was previously set and the user selects index 0 then I need to remove section 2. To do this I had this code set to fire on the UISegmentedControl's ...

Black Translucent Nav Bar / UITableView / Content Inset / Scroll Position Issues

Hello, I'm implementing a UITableView that has the index along the right hand size as well as section headers. I'm essentially implementing a stock NSFetchedResultsController as depicted in Apple's docs. The UITableView is contained within a UINavigationController with a Black Translucent Nav Bar. I have the top content and scroller ins...