uitableview

Switch to UITableView controller and scroll to start of section

Good Morning, I'm hoping someone would be able to shed some light on how i can switch from a ViewController nested in a tab bar controller to another ViewController nested in a navigation controller nested in the tab bar controller, and then scroll the table view in the section navigation controller to a specific section. I have found ...

customization example uitableview (grouped style)

Hello,all iphone developers I am currently developing an iphone application in which I am showing a uitableview in grouped style in one of the segments of the segmented control. My problem is that I don't know how to show a small image dynamically in the table header view. Another issue is that i don't know how to show labels and butt...

Saving position in view hierarchy in Core Data iPhone app

Hi, how would you go about saving a state in a tableview-drilldown, when using core data? So next time you start the app, the drill down level you where at when you exit the app will be loaded in. I looked at apples drilldownsave sample code, but couldn't figure our how to change to code to work with core data. Any help would be ve...

Animation issue with UITableView and UIView

Hello All: I am displaying data in UITableView, when the data is being loaded I show a UIView with wait message and when the is loaded in the table View, I remove the UIView using animation [self.tableView reloadData]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [UIView setAnimationTransition:UIViewA...

UITableView Won't Scroll In Certain Conditions

My app has a set of categories. A category can have sub-categories. DirectoryCategoryController is the first screen, displaying all the top-level categories. Works great. When you tap a cell, if the category selected has sub-categories, I instantiate a new instance of DirectoryCategoryController and push it to display the sub-categories...

How can you tell when the animation finishes for deleteRowsAtIndexPaths:withRowAnimation?

Or maybe I just have to use an NSTimer and guess? ...

UITableView insertRowsAtIndexPaths: is not updating the table when called from NSFetechedResultsController didChangeObject:

Good Morning, Im hoping someone can help me with an issue im having with updating a tableview via the insertRowsAtIndexPaths: method. I am calling a resource on the internet and creating entities based on the data i receive, for each entity I create and populate, I immediately save the entity to the managed object context. I can see e...

UITableView: Check rows in edit mode

Hi, I'm new to iPhone SDK 3.0. I've seen table view edit mode where you can check multiple row items and then delete them or move them. The picture here (http://twitpic.com/khmog) illustrates what I mean. I've also seen this in several other apps, such as "Groceries". Could anyone tell me how to do this? Can this be done using 3.0 API...

Grouped UITableView Footer Sometimes Hidden On Quick Scroll

OK, this one is a puzzler. There is one similar post but it's not similar enough to count, so I'm posting this one. :) I've got a grouped UITableView with a header and footer. The footer includes two UIButton views, side-by-side. Nothing major. Now … there is a toggle button in a UIToolbar at the bottom for more/less info in this table...

app crashes on cellForRowAtIndexPath

Hi All, I keep posting crash logs i receive from the client and It's good to know that I have been able to learn a lot and resolve these issues as well. Here is another one down here: Incident Identifier: 7971B91B-9462-4B2A-B8F1-A77EE1C4F75F CrashReporter Key: f3a4736dc8d450a3cb0ecb7367313dbbd816c484 Process: MyApp [661] Pat...

iphone sdk - UITableView - cannot assign a table to the table view

hello, this is a part of my code. My application crashes when i try to load the view including the uitableview. i think there's a problem with the table i'm tryin to use but can't find it. help please gameTimingTable=[NSArray arrayWithObjects:@"2min + 10sec/coup",@"1min + 15sec/coup",@"5min",nil]; declared in .h as NSArray *game...

UITableView separator lines disappear between cells on scroll

Problem: The separator between cells in a table view appear only for those cells shown when the view loads, and only at load time. When the tableview is scrolled down, the cells scrolled into view show no separator between them, then when the tableview is scrolled back up, the initial cells show no separator. Details: I've got a UITabl...

UITableView Scrolling while dynamically adding data to the datasource object

I have a UITableView that is loaded from an NSMutableArray. The array is populated by data that I get from a RESTful web service request. In order to speed up the delivery of data to the user, I'm using a couple other NSArrays to hold a cache of the next sets of data. What I've done is when i'm nearing the end of my current set, in ...

UITabBar with UITableView - I can see the table correctly, but cannot select a row

This may be an easy answer for someone. I first built an a navigation app that had a table loaded from SQLite. The rootViewController (UITableViewController) is loaded from the mainWindow.xib . I added the search and scope functions, and push a detailed view (UIViewController) from a row selection just fine, and can navigate back and f...

How can I present information from normalized data entities in my tableView cells?

I'm currently thinking about the modeling of data in an iPhone app. My first instinct is to try to normalize the data into entities. For example a Professor entity might look something ilke this: @interface Professor : NSManagedObject { } @property (nonatomic, retain) NSString * profID; @property (nonatomic, retain) NSString * firs...

Change UITableView section header/footer WHILE RUNNING the app?

Hi everybody I'm facing a problem I cannot resolve... I have a grouped table whose section header and section footer get displayed correctly upon launch thanks to - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section and - (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(N...

tableView:viewForHeaderInSection: default value??

I want to have a single custom section header, with the rest being the default header. - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { return ???; } What do I return to just give the default header view? ...

iPhone SDK: loading UITableView from SQLite

Hi, I think I got a good handle on UITableViews and on getting/inserting data from/to SQLite db. I am straggling with an architectural question. My application saves 3 values int the database, there can be many/many rows. However would I load them in the table? From all the tutorials I have seen, at one point entire database is loaded ...

Adding image to navigation bar

I'd like an image to take up all of a navigation bar. This is the navigation that comes with a navigation based app. It appears on the RootViewController with the accompanying UITableView. I've seen some examples of how this might work. Set navigation bar title: UIImage *image = [UIImage imageNamed:@"TableviewCellLightBlue.png"]; U...

Showing an image programmatically in tableview cell

I'm doing this to load an image into a tableview cell: UIImage *image = [UIImage imageNamed:@"myimage.png"]; UIImageView *imageView = [[UIImageView alloc] initWithImage:image]; imageView.frame = CGRectMake( 0, 0, cell.frame.size.width, cell.frame.size.height ); imageView.contentMode = UIViewContentModeScaleToFill; [cell addSubview:image...