This "wizard" gives me a tableview to work with when I build and run. RootViewController is subclassing UITableViewController. Opening up the XIB, there is a table view, but what is the name of the tableview instance being displayed?
I'm trying to reload the tableview after a receiving data from an asynchronous URL request and I don't ...
Hello.
I am trying to edit a mutable array from a property and can't seem to directly make it work. Consider the following code that seems to work, but seems also very inefficient; I have to copy the whole property array just to make a change in one object. Why can I change the whole "carNames" array, but can't make a change to one...
Here is the exception:
Serious application error. Exception was caught during
Core Data change processing: *** -[NSCFArray removeObjectAtIndex:]:
index (0) beyond bounds (0) with userInfo (null)
Here is the relevant code:
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSInde...
I have a UIViewController with a UISegmentedControl that swaps out one of 3 UITableViewControllers depending up the pressed segment selected. Everything works great, except the UITableViewControllers do not fill the entire available screen, but leave a gap at the top .
...
I've same sort of typical table reload problem.
I've a tabbar controller associated with the navigation controller.
I've separate tableview controllers for two tabs. While the first tab - table reload works fine, in the second tab, table view reference is turning out to be nil. (Memory reference is coming as 0x0). Any help in this regard...
So I'm trying to use a UITableViewController (let's call it homeView) in my iPhone application to display a simple table with only a few rows of text which are loaded from an NSArray in the controller. I want to display the table in the grouped style in a subview of a subview (let's call it subSubView) of my main controller. When I try t...
Ok, I've got a UITableView with custom UITableViewCells that each contain a UIImageView whose images are being downloaded asynchronously via an NSURLConnection. All pretty standard stuff...
The issue is, when the table scrolls, the new images are downloaded in the background correctly but not RENDERED until the table stops moving.
How ...
I have a table view which i want to populate with the results (XML) of my call to a web service.
The NSURLConnection and NSMutableURLRequest that are doing the setup for this are currently in my -viewDidLoad method, and i also have all of my UITableView delegate methods in my .m file too.
The data is being returned and added to my arr...
I have a UITableViewController which in it's tableView:didSelectRowAtIndexPath method, sets up a view controller, and calls
[self.navigationController pushViewController: viewController animated:YES].
When i select a row in the root controller, the second viewController loads but is empty - table view loads but has no data. Here, tab...
To explain what I'm trying to do:
I have a navigationController with a list of options, clicking one will do the usual push of the selected TableViewController subclass, sliding the screen to the left, displaying the usual "back" button and view title on the top. so far so good.
This view is showing content for a specific day. Lets c...
I'm developing an iPhone application which uses a TableView to display XML data. The XML data comes from an external resource and is parsed and put into an object for use as a table dataSource. The application uses a UITabBar and multiple ViewControllers all programmatically created and using the same dataSource.
Everything is fine and ...
Hello,
I have a UINavigationController with two UITableViewControllers pushed onto its stack. Is there any way to reference a property on the first TableViewController that is under the second? I would like to do this in the second controller's viewWillAppear method.
Thank you for any help you can give....
...
Hello
It may be quite easy to do, but I can't find out how :
I want to add a vertical index in my sorted tableViewController, like in the "Contacts" application.
Any idea ?
Thks
Martin
...
Trying to [self.parentViewController.tableView reloadData] from a save: method in my DetailViewController but getting my favorite error: request for member 'tableView' in something not a structure or union.
Included the header for my RootViewController and casted the parentViewController as a RootViewController to no avail.
What have ...
I need to scroll a tableview on initial load of my RootController. The problem is that I have to wait until cellForRowAtIndexPath completes before I can do anything using scrollToRowAtIndexPath. cellForRowAtIndexPath seems to be the last event for me to hook into after the table has loaded. Because the view has already loaded, the tab...
I've implemented didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath never seems to fire. However, didSelectRowAtIndexPath always fires, even when I click the accessory. Shouldn't these two be exclusive?
...
I have an iPhone project with a NIB that only has a table view (UITableViewController). My delegate loads the nib (and associated controller) and all is well. Now I'd like to have UILabel show up when there is no data to show in the table view. Revisiting the NIB it occurred to me that only the File's Owner, Delegate, and the Table View ...
I have a very simple application with a UITableViewController. Upon EDITING, I am trying to slide a row into position 0 of the first section. The new row should have an INSERT editing style while the existing row should have a DELETE style.
I've overridden the following 4 methods:
// Customize the number of rows in the table view.
- (...
I've Created a UITableViewController subclass. Do I only need one controller? Do I just instantiate multiple instances of that one subclass?
The iPhone App I'm building will start with a Table of a list of people. If the user taps a person, a new table will be pushed in with a list of Companies they've worked for. If the user then ta...
Hi. I'm trying to set up a Tab Bar Application as my root controller, and one of the tabs to be a Navigation setup. On my Root View Controller of the Navigation View, I have one child level that is a subclass of the UIViewController called IntervalViewController.
I have this in my Root View Controller (IntervalSetupViewController.m)...