How to disable slide to delete for a UITableView
Does anybody know how to disable the 'slide-to-delete' in a uitableview? I still want to be able to delete the rows while the table is in editing mode. Thanks ...
Does anybody know how to disable the 'slide-to-delete' in a uitableview? I still want to be able to delete the rows while the table is in editing mode. Thanks ...
I'm writing an iPad split view-based application and I've a NSMutableArray with some objects passed to the main tableView with this code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"CellIdentifier"; // Dequeue or create a cell of th...
Hello I would like to know how to get the textLabel string value of the selected uitableviewcell. Thanks Kevin ...
I have several UILabels in table cells, and I thought I could set them to be opaque and then setBackgroundColor:[UIColor groupTableViewBackgroundColor]] to make them have the table background. The grouped table background color in the UILabel isn't aligned with the table's background, though, so the lines are broken. Is there any way to ...
Hello, I find myself writing a lot of repetitive code in UITableView, especially for config panels spending much more time on it that it seems worth. I was wondering if something like MonoTouch Dialog (http://tirania.org/blog/archive/2010/Feb-23.html) existed in Obj-C. Thanks! ...
I have a UITableView that is being populated from an NSMutable array that has 79 entries in it. When I run my app and scroll down the table there seems to be multiple entries in one cell. It seems to happen about a screen height and a half down the table. For example: One object in the array is @"Dog" and another is @"Cat". In one cell...
Can we use UITableView with 2 rows, one for username and the other one for password. I've noticed..some of the apps seem to be use UITableView in their authentication screen on iPhone. For example, Skype..is it a UITableView with 2 rows? (sorry I couldn't attach a screenshot..) how can I get this working? ...
Hi Folks, I'm trying to figure out how to place a subview to a custom UITableViewCell with centered position. As stated in the documentation (Customizing Cells) one should "...add subviews to the contentView property of the cell object or ...". As I noticed it works fine with UITableViewStylePlain. In UITableViewStyleGrouped tables, sub...
Hi all, Sorry but I found no clear answer on that. I have an iphone app with a tab bar and a UINavigationController in each tab. The interface is built with Interface Builder, and in the first tab there is a UITableView. I have prepared the xib with main view (A) containing a table (T) and an image (IMG) background behind (image as subv...
Hello UIViewController *viewVC = nil; NSString *TcodeNib = [selectedObject valueForKey:@"ViewControllerName"]; // Create the next-level view controller if ([TcodeNib isEqualToString:@"FirstViewController"]) { viewVC = [[FirstViewController alloc] initWithNibName:@"FirstViewController" bundle:nil]; } else if ([TcodeNib isEqualToStri...
Hello guys, I have one detail view controller in splitView - SearchDeatilViewController. But that view controller is attached to navigation controller. How can I get that subview to take controll of him? I tried like this, to reload sub view tableView: SearchDetailViewController *detail1 = (SearchDetailViewController *)[self.viewContr...
if i use grouped table view or just use this color, i get this compilation error: The document "DetailedView.xib" could not be opened. The operation couldn’t be completed. -[NSCFArray insertObject:atIndex:]: attempt to insert nil. if i use plain tableview it works fine. also i tested on number of xcode installations and on different co...
I'm having problems with reordering a UITableView. The tableview in question presents a playlist for video files. Data is stored in an NSMutableArray. Pushing the "move" button (UIBarButtonItem) enables reordering. Everything working so far. Pushing another button starts playing all the files in the table. Playback of the movie is initi...
Hi, I created my UITableViewCellStyleDefault styled cell and set its background image: cell.backgroundView = imgView; and it works but the background of the text in the cell is still white.So it hides partially the backgroundView. I have tried: cell.textLabel.backgroundColor = [UIColor clearColor]; cell.contentView.backgroundColor = ...
I have a custom UITableViewCell which acts as a check list. As the user clicks on the selected item, it goes from red to green indicating a selection, however as the users scrolls further down the list, once they come back up to the top, the image has changed back to it's default red value. How do I go about preserving the state of an ...
my UITableView is reordering the results after you navigate away and them come back to the view. it only does it one time though - if you navigate away and then come back a second time the new order doesn't change. does anyone know what could be causing this? thanks for any help. ...
I have 2 UITableViewControllers, both are using same data source but for some reason one of them has weird header gap on the top. I don't understand why. When I'm changing style to UITableViewStylePlain the positioning is fine but I need grouped style here. Any thoughts? ...
I have an UITableView whose rows can be deleted. this table view has a search bar at the top. the problem is: if search was used, application crashes when I try to delete any row from the table view. there is no information in the debugger console. all I have is function stack from the debugger: Any ideas what it can be? UPDATE 1: cr...
Hi everybody, I am fairly new to iPhone/ObjC programming, though I have several years of experience in coding, particularly DB development. The project I chose as my debut is a little app meant to support playing a board game, where one is required to make notes of the playing pieces status. In short, I want to replace pen and paper wi...
I have a UISearchDisplayController in the Header section of my UITableView. I would like to display an iAd right above that. How can I accomplish this? ...