Hi there,
I'm using several images to style UITableViewCells and I want to make sure I'm doing things correctly, firstly to ensure good memory management, and secondly to make sure things are as fast as possible (I'm having troubles with the sluggyness of the scrolling!).
I know that using [UIImage imageNamed:] will cache the images fo...
I have a refresh button in the toolbar that regenerates an NSArray and attempts to reload the contents of the table.
However, whether I have:
if (boolCondition) {
[self refreshTableDataSet];
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:kTableSectionOfInterest] withRowAnimation:UITableViewRowAnimationFade];
}
or:...
I'd like my UITableView to behave like the the table in the Contacts editor, i.e. the user should hit Edit and an "add new category" row should appear at the bottom of each section.
I'm using the below code to do this, but the problem is that there is no smooth transition as there is in Contacts. Instead, the new row suddenly appears. ...
Good morning all.
I'm having a small crisis with table views in a 3.1 app. I have a table view with some complex tableViewCells being loaded from a nib, and they're not being reused. Feeling it might have something to do with loading them from a nib, I decided to try a simple test project to see if cells are being reused using nothing...
Hi All,
I am having a problem with what I believe is a memory leak which after some time is causing my app to slow down. I have a sectioned uitableview that has sections of 'movie directors' with rows of thier movies in their particular section. To do this I am calling a data object (and passing it the section header) to return that se...
Hi,
I've trying to get a search bar to display in my application.
I'm following the example show in the TableSearch sample application.
I've more or less implemented it exactly the same way apart from the data. I however can never seem to get the actual search bar to display.
The only other difference between my app and the TableSea...
I'm trying to delete a section from a UITableView using animation and custom table section header UIViews.
I use...
//Deletion from my model done here (not shown) and then perform the deleteSections...
[self.tableView beginUpdates];
[self.tableView
deleteSections:[NSIndexSet indexSetWithIndex:index]
withRowAnimation:UITableViewRow...
I'm trying to make my table view remember it's last position, so that after the app is run again, it will scroll to that position. to do this, in my viewWillDisappear: method, I get the first visible row number and save it to NSUserDefaults. then in my viewDidAppear I try to scroll to that row by sending scrollToRowAtIndexPath to the tab...
Hi everyone,
Is there some way to find out when a UITableView has finished asking for data from its data source?
None of the viewDidLoad/viewWillAppear/viewDidAppear methods of the associated view controller (UITableViewController) are of use here, as they all fire too early. None of them (entirely understandably) guarantee that querie...
I've seen apps that take the UITableView index header (i.e. the thing in the iPod application that separates songs starting in A, B, etc.) and put their own custom image as the background. Such apps are the myStarbucks app and the What's on TV? app. I've looked a little bit through the documentation and there doesn't seem to be a specifi...
Hi guys,
I wanted to know how to list data in tableView in different sections BUT from a single datasource.
All examples i saw had number of arrays = number of sections. What i want is suppose I have a 3d nsmutableArray.
If dArray.Id = 1 { //add to first section of UITableView }
else add to Section 2 of UITableView.
Its probably doo...
I have a table view with each cell having a text field accepting numeric values only. I added the custom decimal place to the default numeric keypad, for my purpose. Since there is no "Done" button to dispose the keypad, I added a button over the table view. The button's background's opaque value is set to zero. The button is hidden when...
I am loading a content into UITableView dynamically. If there is data the table needs to display the data. If there is no data the table should display a plain page. But in my application the table displays the plain page with two separator lines. i need to remove this separator line and display a plain white page. Please Suggest?
Any h...
What are good practices for asynchronously pulling large amounts of XML from a RESTful service into a Core Data store, and from this store, populating a UITableView on the fly?
I'm thinking of using libxml2's xmlParseChunk() function to parse chunks of incoming XML and translate a node and its children into the relevant managed objects...
I have a tableView with a list of items. When a selection is made, a new view controller is pushed on the tableView's navigationController viewController stack.
My question is this: one of the views in the view hierarchy associated with the pushed view controller requires the fetching of data from the network before it can render it's c...
Is there any way to reorder section in UITAbleView by dragging similar to row? Is there any trick to do so?
...
I have a tableview that once a cell is clicked, it pushes tableViewB, which contains customcells. These cells contain TextFields. Once the user does any updating, they click "Save", which then pops tableViewB and goes to the first tableview. I would like to get all of the textfield values from tableViewB when Save is clicked. What is...
I have a view that is shown under a navigation controller. The view contains one subview at the top portion and a table view at the bottom. The table might have rows that extend beyond the visible height based on data. When I have rows that are below the last visible row, if I scroll the view up, it bounces back, it does not stay there. ...
I have a UITableView with a single section and 'n' rows (populated from an NSMutableArray, myTableArray). When entering Edit mode, I would like to achieve the following:
setup the "n" rows to have the UITableViewCellEditingStyleDelete editing style
insert a new row, above the original 'n', and set it up to have the UITableViewCellEditi...
hey all,
im new to iphone programming so if you could help me out I would appreciate it- i have been all over the web and cant find the answer to this.
my current setup is like this
navigation controller in MainWindow.xib > View in navigation controller in MainWindow.xib calls RootViewController.xib > RootViewController.xib contains a...