Im currently using a UITableView like any other, and I am researching into the ability to perform a swipe gesture on the screen, which will then shift the contents of the visible table over to display new content
for example: swiping right-to-left on the screen would change (via animation) the contents within each of the cells on screen...
I've created a subclass of UITableViewCell to create some custom appearance and UI functionality ('swipe to reveal delete button').
Some of the cells are disclosure/detail disclosure type, and have a UIButtonTypeDetailDisclosure etc added manually. I cannot use the table view controllers' UITableViewCellAccessory for row at index path m...
I have the classical grouped UITableView with editable UITextViews inside every cell. This text views can be single or multi-lined, and I want the cell to increase its height as the user writes and the text starts a new line.
My question is: do I need to reload the whole table just to increase the height of a cell? Isn't there any other...
I'm looking for the best approach to this problem.
In my tableview I have a list of options from which you can select one and only one. The problem is the selection to choose is not obvious without displaying more details on the option.
If I use the disclosure indicator or button for the more detail, I lose the checkmark functionalit...
Why would the following code throw this error?
if ([self.tableView.dataSource numberOfSectionsInTableView:self.tableView] > 0 && [self.tableView.dataSource tableView:self.tableView numberOfRowsInSection:0] > 1) {
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0] atScrollPosition:UITableViewScrollPosi...
I have a generic UISplitViewController (UITableView in the RootViewController and other stuff in the detail view)
I have modified UITableViewCells in 2 ways:
The rows have a height of 55
The UITableViewCells contain both a UIImage and UILabel
There are 50 rows total
PROBLEM: When I launch the app, the first 13 rows (the ones that ...
I have a scroll view embedded into the tableHeaderView of a UITableView. I have a few images that the user can scroll through left/right. Pinch/zoom is not enabled.
Initially, I could scroll through the images, but only if I was extremely precise with my horizontal movement. Any deviation would be intercepted by the UITableView as a ver...
Hi,
please I need some advice about design approaches in iPhone programming.
I want to display a table view (with three cells that will never change) and a UIDatePicker.
I don't use Interface Builder.
I created a UIViewController subclass and tried to put all together in its viewDidLoad method:
UITableView *myView = [[UITableView alloc...
Hi, I'm using two different tableviews in a single view, with each holding different information. The reason I'm using two tables is because I want one grouped table and one normal table. Currently, Im using the main viewController as a delegate for the grouped tableview and a separate class that is instantiated inside the main viewContr...
I have a UITableView which sometimes has only a few rows. I would like a specific row, e.g. the 2nd out of 3, to appear at the top of the table. However, when the number of rows do not fill the entire table, calling the following has no effect:
[TableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:indexOfTopItem inSection:0] at...
How to display an detail disclosure button for the rows in an UITableView in plain style? I want that when a row is tapped, the next level in the navigation is pushed on the navigation stack.
Is there a quick way to get this blue detail disclosure button in the cells?
...
I've searched all over the web, and my code seems to be nearly identical to everything out there, but I can't get my UITableView editing to work for inserting a row. When I click the edit button, all of my existing rows get the delete control, but I get no additional row for insertion. I'm pulling my hair out for what seems like it sho...
What's the difference between an Detail Disclosure Button and an Disclosure Indicator?
For me, both things are the exact same thing, just that they look a little bit different. The first is a blue round button with an chevron to the right. The second is an simple chevron to the right. Both things mean the same, to me. They mean "more". ...
I am using the following code to add a "Spinner" on top of my UITableView:
spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
[spinner setCenter:CGPointMake(120,162)];
[self.view addSubview:spinner];
spinner.backgroundColor = [UIColor lightGrayColor];
spinner.hidesWhenStopped = ...
hi frnds,
i am new to this iphone development, in an uiview i have a tableview, in each cell of tableview, i have an image. is it possible to drag or move an images which are in cells, to pos 1 from pos 2 as shown below.
|--------------------------|
| | |
| ui |table(image) |
| |view |...
Hi. i have a scrollview which contains a uitableview and few buttons. i have added the uitableview from IB. and the table cells are created dynamically. i am adding a lable and a textfield for each table cell(Something like an input form for the user.) I have written code to resize the scrollview when the keyboard appears. So when i clic...
Hi...
I've 3 UILabel's inside a custom UITableViewCell. The width of these UIlabels must change when the device changes it's orietation because the tableView's width changes. My problem was how could I resize the label when the device rotation happens.
...
Hi,
I'm working on a UITableView whose cells contain an UIImageView subclass which gets data from a URL and cache images to the iphone disk.
Problem is, event with cached images the scrolling tends to be stuttering. So I searched a bit and found ABTableViewCell ( github.com/enormego/ABTableViewCell ) which is supposed to dramatically i...
Dear All,
I have used the following code to add a button to my navigation bar that when pressed will call the method showCountries:
UIBarButtonItem *countriesButton = [[UIBarButtonItem alloc] initWithTitle:@"Countries" style: UIButtonTypeRoundedRect target:self action:@selector(showCountries:)];
self.navigationItem.leftBarButtonIte...
Since upgraded XCode to Version 3.2.3 with iPhone SDK 4 my code doesn't work anymore.
I have a default cell with style UITableViewCellStyleSubtitle and want to set the textAlignment of textLabel and detailTextLabel to center, but nothing happens.
Same code used before now not working anymore. On UITableViewCellStyleDefault center alignm...