Must I call -reloadRowsAtIndexPaths:withRowAnimation: inside an -beginUptades -endUpdates block?
Must I call -reloadRowsAtIndexPaths:withRowAnimation: inside an -beginUptades -endUpdates block? ...
Must I call -reloadRowsAtIndexPaths:withRowAnimation: inside an -beginUptades -endUpdates block? ...
Must I call -deleteRowsAtIndexPaths:withRowAnimation: inside an -beginUpdates -endUpdates block? ...
Hi I was looking for a way to call the edit method directly. - (void)tableView:(UITableView *)theTableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath I have all my logic for animating manipulated cells, removing from my model array etc. in this method. It is getting called...
I try to figure out what -beginUpdates and -endUpdates is actually good for. Adding and deleting rows should go inside this. But what else? When must I do it? And when is it a good idea to do it even if I don't have to? ...
Apple says about the UITableView -beginUpdates -endUpdates block: If you do not make the insertion, deletion, and selection calls inside this block, table attributes such as row count might become invalid. I'd like to know what exactly -beginUpdates does. Why do table attributes such as row count might become invalid when I don't...
Hello everybody, Today my question is about UITableViewController-s In particular I have noticed that the datasource delegate method - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView; is called twice (even if for instance I just create a navigation based application and without adding a line of code.. well adding an N...
I can't wrap my head around what they tried to say here in the docs for -beginUpdate: Call this method if you want subsequent insertions, deletion, and selection operations (for example, cellForRowAtIndexPath: and indexPathsForVisibleRows) to be animated simultaneously. Let's see... cellForRowAtIndexPath: and indexPathsFo...
I am putting in a uitableview and I'd like to have each row divided into left and right. Sort of like this: http://blog.danilocampos.com/wp-content/uploads/2009/01/photo.jpg Can someone explain how to do this? Thanks. ...
I've set my UITableView row height to in Interface Builder to 54.0. I have a UISearchDisplayController on that view. When the user taps the search bar in it, the table resizes properly. However, when they start typing (and actually doing the search) the row height decreases. It stays wrong until the search taps Cancel. I could find no d...
I am having two problems with viewcontrollerss in landscape orientation on the iPad. (1) I have two popups which hold tables. The tables should scroll to a specific row to reflect a selection in the main view. Instead, the tables do scroll down some but the actual selected row remains off screen. (2) All my action sheets come up with ...
I have UITableView with very large cells with lots of content (more than one screen height). I need to scroll UITableView to a certain position within those cells. I've found method scrollToRowAtIndexPath:atScrollPosition:animated: which works just fine if you got small cells (less than one screen), then you can just command UITableView ...
I have a cell that I am inserting to the top of a UITableView. How can I make sure that when the user clicks on the cell, it doesn't show the blue selected indicator? ...
I have a UITableView that I am placing inside a TabView. I am trying to put a "spinner" and a label in the center of the TableView. When I view I try to view it inside the TabBar, I do not see the spinner or label. When I view this nib by itself, I see the spinner and TabBar. There seems to be something about views / tabbars that I am ...
Hi ! I have come to a problem, wich I have no idea how to solve. Can anyone think outside the box and point me to right directions? I would be very thankfull ! The problem. I have a UITableView containing a first row wich is always the same (a empty row with repeating background) Next rows are bounch of dynamic data rows. I have ...
Hello ! Every one. Does any one have tried to customize default section index displayed in UITableView. I want to modify the appearance of UITableView SectionIndex. Is it possible to customize it ? Is there any delegate methods available for this ? What delegate methods should I use - if above question's answer is yes? ...
This - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; if (cell.accessoryType == UITableViewCellAccessoryNone) { cell.accessoryType = UITableViewCellAccessoryCheckmark; } else { cell.accessoryType = UITableViewCellA...
is this possible to do , or do i have to do it all manually with if statements? something like return [sectionTitles objectAtIndex:indexPath.section]; Thanks Richard ...
If I had 1000 rows, would an single-line separator make the table view bigger in height? Or is it an overlay on a cell only? ...
Actually, a UITableView is a UIScrollView (inherits from that). Now, I made a UITableView subclass and added this line of code to it: - (void)scrollViewDidScroll:(UIScrollView *)scrollView { NSLog(@"contentOffset: %@", NSStringFromCGPoint(self.contentOffset)); } For some reason this is never called when I scroll the table view. Bu...
I made an custom UITableView. Then I made a custom header for sections. It has round corners. But unfortunately, the rows of the section are visible in those round corners when the header floats over them. I could just make a background color so the corners are not transparent. But that is not a solution since my whole table has a backg...