uitableview

TableView crashes help please!!

Hi, for some reason this tableview keeps crashing and it seems like the tableview is unable to display the secondsString for some reason but i have no idea why... please help me out here cause i have no idea what i could be doing wrong..... Thanks!! #import "SettingsView.h" @implementation SettingsView - (void)viewWillAppear:(BOOL)ani...

Appearance of table cells when deleting

I'm trying to make a table view with an appearance much like the default Weather application provided by Apple. However I'm struggling a bit to make the table cells look correctly. I would like all the cells, except the first one to be deletable. The problem is that the default cells have the small delete button on the left side of the ...

How to navigate to a nib(view) when a cell is pressed on a UITableView(on another nib/view)?

I want the functionality similar to the last tabs in a tab bar (those that are shown in a table after pressing the "..." ) Each points to another view. My table page a> page b> page c> I guess that the code should be in didSelectRowAtIndexPath but I dont know how to call a nib based on the table I dont know if after navigating ...

UITableView not updating DataSource after change to NSFetchedResultsController

I have an UITableView populated by a NSFetchedResultsController. The initial fetch works fine. I can add, remove, modify, etc with zero problems.. But I want to add user-defined sorting to the table. I am doing this by changing the NSFetchedResultsController to use a different sortDescriptor set, and a different sectionNameKeyPath. Here ...

Looping through all the UITextFields in a UITableView

Hi all, I have a UITableView that contains a UITextField in each cell. I can't seem to figure out how to loop through and get each of the UITextFields. Is there any way to do this??? Many thanks, Brett ...

UIToolbar above a Keyboard - iPhone SDK

Hi all, I have seen this question posted several times with no useful answers. I am trying to place a toolbar above my UIKeyboard in my iPhone app, but am having difficulty. I found this example which works GREAT, except that my view is a UITableView instead of the standard [self.view addsubview:...]. Can anyone figure out how to appl...

Problem pushing URL's to in-app iPhone web browser

Hi, I have an RSS parser, which downloads a link to each item from an RSS feed. How do I make it so that when a user selects a row in the UITable, it opens my web view (made following this tutorial http://dblog.com.au/iphone-development/iphone-sdk-tutorial-build-your-very-own-web-browser/) with the URL of the item (which can be gathered...

UITablview cell text moves on its own??

i am creating a UITableview cell in the following way const NSInteger TOP_LABEL_TAG = 1001; UILabel *topLabel; static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell =[[[UITableViewCell alloc] initWithFrame:CGRectZero reu...

Proper way to Add a TableView to an iOS project's view Hierarchy?

We have a simple view based application we're building for the iPad. We're doing a custom UI so everything is being done programmatically. At the moment our view heirarchy looks something like this: UIViewController -> UITableViewController -> TableView We want to transition to the UITableViewController's TableView when an event fires....

UITableView custom class huge leak

Hi, I am using a custom class to display some info on a table view. The problem is that as long as I scroll the tableview memory is leaking... I guess I have something wrong at my class. Please have a look: @interface Person : NSObject { NSString *name; NSString *surname; NSString *address; NSString *email; } @property (n...

UITableView with dynamically set size

I have a UITableView as a subview in a ScrollView with other widgets around like a button. I'd like to put the button always at the end of the ScrollView and I'd like to have the UITableView to show dynamically more section. How and where shall I determine the Table size, correctly set it and visualize it? From Interface Builder it seem...

UITableView which UITableViewCells can save and load data from core data

Hello, I'm looking for a demo project/tuturial of a table view where the cells have several textboxs so it looks like a grid. each line can be edited and save(locally but DB is better). I found this project before ... but I lost it :_( I've looked for it in the web for hours now and if you can help me I would appriciate it alot I thi...

How to set a gradient UITableViewCell background?

I would like to create a gradient UITableViewCell background like the default Clock app that comes on the iPhone. I am not exactly sure how to accomplish that. Do I create an image and set it: cell.contentView.backgroundColor = [UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]]; or is there another/better app...

How to select rows while in edit mode?

I have a UITableView that is editable. I am commiting changes via: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath While in edit mode, I would like the user to be able to select a row, which will push a new view. I am not sure how to do ...

Cocoa Touch - Table View and Cells Help

I want to parse a CSV into cells but I dont know how to add more than one cell to a table. Do I need to create multiple versions of this method for each cell? Teach me! - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableVi...

UITableViewCell subclassed - background for specific position

Hi everyone, i just created a subclass of uitableviewcell and used it in my cellforrowatindexpath. after adding a simple uilabel my cell looks currently something like this: my aim is to style the cell like but how to do that? first i thougt about simply adding a uiimageview and sending it to back with the rounded corners and the...

Easiest way to prevent the cursor from going behind the keyboard in iPhone SDK?

Hi. I have a table with several text fields in it. Tapping on any of the text fields brings up the keyboard and the view scrolls automatically to bring the cursor above the keyboard if required. I have a method in there that gets called whenever the user presses the Return key while editing a text field and I simply move the first resp...

UITableView tableFooterView weird resizing

Hey, I want to display a UIButton in a UITableView's Footer (should be exactly the same for the header). This code is in the viewDidLoad of my TableViewController: UIButton *footerShareButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [footerShareButton setFrame:CGRectMake(10, 0, 70, 50)]; NSLog(@"%f", footerShareButton.fram...

How can i have more than one cell in a table view row?

I have seen apps that have table views that have rows that contain 2 or 3 cells. Something like the following: | 3 cells in one row | /-------\ /-------\ /-------\ |do this| | do | |do smth| <--- table view row that contains 3 cells | | | that | | else | \-------/ \-------/ \-------/ When you click on a cell th...

Populate UITableView from web service

I'm working with a UITableView. I'm using a web service to get the array contents. Can anyone get me any samples to do these kind of application. I don't know how to use the web service and to list it out in the table view. ...