uitableview

UITableView cannot scroll

Hello all, I created a very simple view trying to combine a navigation controller and table view together: .h interface FileView : UIView { UINavigationController * _nav; UITableViewController * _tableView; } .m - (id)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { _tableView = [[FileTable...

iPhone - Sort UITableView by Array Index

I have an UITableView set up with a NSArray with 10 indexes. Right now, the first cell on the uitableview is the first index, the second cell is the second index, and so on so forth. Is there any way to make it so that the first cell displays the latest index? Maybe through some code in the uitableview delegate because I am adding data t...

show content based on navigation route? UITable

Hello All, I have a table which I'm using as a menu. If my user navigates from a table cell titled "basic math" I want to show a text view with text being populated from an NSArray titled the same as the cell title...so basicmath.txt Can anyone point me in the right direction or tell me if this is at all possible? or am I barking up ...

Update UITableView from API - performance issue

Hi, I have a UITableView thats loaded from an API call - the performance of this is fine. However each cell that loads also requires an individual API call to fill it out with more information. I'm finding that this causes the UITableView to "stutter" when scrolling? What is the best way to implement the additional API calls to preven...

UITableViewCell indentation not in edit mode.

When you enter editing mode on a grouped-style UITableView, the cells indent to show the editing control (if you aren't sure what I mean, see this picture (editing mode) http://i.imgur.com/GJXvL.png and this (non-editing mode) http://i.imgur.com/ahKYS.png). I am trying to manually indent a cell when the tableView is not in editing mode....

UITableView section header in editing mode only

The table view section headers in my plain (non-grouped) UITableView only appear when the table has been placed into editing mode. This is because I have two sections in the table view: Active and Inactive. I only wish the Active section to be displayed normally, but require both Active and Inactive to be displayed when in editing mode. ...

Changing text color upon selection of a specific cell/row in a UITableView on Iphone?

Hi! I have a UITableView fed from some arrays. When the user selects a specific row, for example row 3, i would like to add a checkmark and change the text color (not the selectedTextColor, that i have already managed) of that row to red. I would simultaneously like to change the text color of, for example row 5, to green. How can this...

UITableView, how to catch the end of animation ?

Hi, I have an UITableView with lot of rows. It is like an accordion : http://docs.jquery.com/UI/Accordion Main cells have subcells, subcells have also subcells. So this is a three-levels tableView. Well, when the user selects a cell, it expands (or collapses) subcells with row animation. But I need to set the new size of the tableView,...

Drawing custom UITableCells with the correct data

I've got a UITableView with custom tablecells. First I had a version which implemented a separate NIB file to create the custom cell view, but this makes scrolling awfully slow. The official answer is to do your own drawing, so I implemented a drawing variant (ABTableViewCell). Everything is working now, except for the drawing of the ce...

How can I find out the name, ID, or type of a UITableView Cell?

-(CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { if([tableView.somethingMagicalHereThatAllowsMeKnowWhichCellItIs isEqualToString:@"CellType"]){ return 50; } return 25;} I have tableView with multiple cells of different types, and I want to style them accordingly, but the problem is th...

What type of data storage should I use if I have a list of data that contains 100 objects and each object has its own data?

My plan is to display a list of items alphabetically in a table view that has about 100 items. Each item has an image, a list of times and a description that the tableview will drill down to. What I am struggling with is the correct way to store and load this data. Some have told me that a plist will be too data heavy and that core da...

how can i get a uitableViewCell by indexPath?

how can i get a uitableViewCell by indexPath? like this: i use the UIActionSheet when i click confirm button i wan to change the cell text the nowIndex i defin as a property - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex == 0){ NSInteger section = [nowIndex section]; ...

Align cells to bottom and top of UITableView, leaving stretchable gap in middle.

Hello, I have a table view with five cells displaying the settings of my app. I want the first four cells to appear at the top. The last cell isn't actually a setting, it says "Legal" and takes you to the EULA, so I want it to appear at the bottom. Now I know I could use – tableView:viewForHeaderInSection: and– tableView:heightForHeade...

iPhone SDK: Setting the size of UISearchDisplayController's table view

My app's table view does not occupy the full screen height, as I've allowed 50px at the bottom for a banner. When I begin typing in the search bar, the search results table view is larger; it fills all available screen space between the search bar and the tab bar. This means that the very last search result is obscured by the banner. ...

Changing color of section header in UITableview

Hello, i have pretty simple simple question (i hope so). How do i change the section header color in a UITableview from default blue to black transparent? Thanks in advance. ...

Easy custom UITableView drawing

All, I found the code in Matt Gallagher site ( http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html ) for this really neat design for a Table View... Im very new to Cocoa and Im having a hard time figuring out how to wire the darn thing in IB... I loved the design and wanted to use something similar in a more compl...

Core Data Automatic Update Inquery

I have a question concerning Core Data and how, if at all, Entities get updated automatically. Basically, let's say I fetch some data X. X has an inverse to-many relationship with Y. Then a method get's called to update an attribute in X. Does one have to fetch the data again? or will X automatically get the updated data? If this is no...

Open a camera by clicking on the table view cell in iphone app

How to open a camera by clicking on the table view cell in an iPhone application? ...

UIActivityIndicatorView not spinning till I go back to Parent UITableView

I have an App using UITableViews and fetching data from a server. I am attempting to put a UIActivityIndicatorView on the Parent UITableView, so it spins while the Child UITableView is loading. I have the UIActivityIndicatorView all hookedup through Interface Builder, etc. -(void)spinTheSpinner { NSLog(@"Spin The Spinner"); NSA...

Problem with Core Data information not showing until iPhone app closed and re-opened

Hi, So I've transferred the core data code from Apple's sample Core Data / RSS parser application, TopSongs, into my own application. It loads fine, (i.e. no errors or warnings) and the first time you open the app all that happens is the UIActivityIndicator spins and then stops. No data displays in the UITableView. You then have to clo...