uitableview

activity indicator shold be displayed when navigating from UITableView1 to UITableView2

I am new to iphone development.I want to display an activity indicator when navigating form one UITableView1 to another UITableView2 and stops when the table is completely loaded.I am using xml parsing to get the cell content of UITableView2.Please help me out.Please refer to some sample codes or tutorial.Thanks. ...

Date wise sectioning of a UITableView

Suppose I have a UITableViewController with an array "history" as data source. The array consists of an undefined number of NSDictionaries. Each dictionary contains the following keys: term (NSString), date (NSDate) and id (NSNumber). I would like to map the contents of the history array according to the date values each dictionary has,...

How to Start UITableView on the Last Cell?

In Apple's Messages app, when you click a correspondent's name and switch to the table view of the conversation (with balloons for each message), the table appears scrolled all the way to the end. No animation or anything, it's just there. Similarly, in Tweetie 2, when you load the tweets view, it appears right where you last looked at ...

Why shouldn't a UITableViewController manage part of a window in Cocoa Touch?

I have a view that contains a UITableView and a UILabel which works perfectly as far as I can tell. I really don't want to manage the UIView and UITableView with the same controller as the UITableViewController handles a lot of housekeeping and according to the documentation: If the view to be managed is a composite view in which a...

UISearchBar is covered up in a tableViewHeader

I have placed a UISearchBar in my UITableView.tableHeaderView. However it covers the searchBar by placing the viewable top to the first section header. I can only see the searchBar when I drag the tableView down. It is half covered and then can not be selected because releasing the tableView scrolling will rubber band it back out of view...

How to display the title in detail view corresponding to the row selected in the table

I am new to iphone development. I am displaying an array of data in a table. Upon clicking the row, it navigates to the corresponding detail view. I want to display a title in the detail view corresponding to the row selected in the table. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { ...

Build a dictionary app for iphone based on StarDict

Hi, I need some information on how to build an iPhone dictionary app based on StarDict e.g. Wedict. How does one import idx files into a tableview? ...

How to prevent the display of sections with no rows in UITableView?

Hey. I'm a newbie in iPhone development. I'm working on project where I have to generate sections alphabetically in tableview. I dont want to show those sections which don't have any rows. My row values are generated at runtime and are not static so at least show me a code snippet which will help me.... ...

How to Delete & Reorder rows in UITableView?

I'm only able to find bits and pieces, and no overall explanation and help, particularly in MonoTouch for this. I have a UITableView, I have my DataSource object, and I have my custom CellController. I have buttons on the custom cells which I want to allow the user to delete the row or move it up or down in the list presented. I just ...

UILabel strike/cross out

Has anyone a idea how can i strike/cross out a UILable with Anmimation - like a "Todolist function"? In Objective C.. ;) ...

Non US characters in section headers for a UITableView

I have added a section list for a simple Core Data iPhone app. I followed this so question to create it - How to use the first character as a section name but my list also contain items starting with characters outside A-Z, specially Å,Ä and Ö used here in Sweden. The problem now is that when the table view shows the section list the ...

iphone (objective-c) accessory modification error

hi guys I have one last problem that is killing me. I am playing around with an older project which used the tableView:accessoryTypeForRowWithIndexPath method, of which i am trying to rewrite the app without it. I have deleted the tableView:accessoryTypeForRowWithIndexPath method, but my solution isnt working just yet. The problem is ...

Do I need to update the table view manually after calling performFetch in a Core Data app?

I'm new to this Core Data business. I got a UITableViewController hooked up with a NSFetchedResultsController. In viewDidLoad, I fire a request to get necessary data from the server, then use [self.fetchedResultsController performFetch:&error] to update the table view. All works fine until that point. Now I want to move the data fetchi...

iPhone Application Exit when scrolling the UITableView

I have declared a NSMutableArray and I populated it with information from the database. The table displays information well. But when I scroll down, the application exits. Seems like its loosing the pointer to the array. Here is the code for declaration of the array: @interface RootViewController : UITableViewController <CLLocationMana...

Updating a UITableView's data

In my application, I have a UITableView with a few rows (let's call it TV1), now, at the bottom of these rows is a row that drills down into another (TV2). This new TV2 asks you which type of data you would like to add to the first view. Then, when the user selects which kind, they're brought to another view, in which they fill in some f...

Problems populating UITableView with data from XML file

I will try to explain shortly what my problem is... I'm loading an XML file (using touchXML) to populate a UITableView with data. expositions = [[NSMutableArray alloc] init]; // Get XML string from XML document. NSString *xmlURL = EXPOSITION_XML_DOC; NSString *xmlString = [NSString stringWithContentsOfURL:[NSURL URLWithString:xmlURL]...

NSInvalidArgumentException UITableView

when you click on the Updatebutton to update the UITableView. .h NSArray *sortedArray; NSMutableArray *animals; .m -(void)update{ [self checkAndCreateDatabase]; [self readAnimalsFromDatabase]; [self sort]; [self.tableView reloadData]; } - (void)sort{ ...

UITableView scroll to where user clicked

Hi I am sure this a pretty common problem: I have a UITableView with quite some entries in it. If you click on a cell, you get to see some details about the selected object (done with a navigation controller). Now if the user hits the back arrow at the top of the screen, he successfully returns to the old table, but this is now scrolled...

Animating a font size change in a UITableView

Hey Simple little app for educational purposes, its a simple uitableview and I want users to be able to use a uislider to adjust the font size as needed. The code I have now works to change the font but only when the view is updated, ie when i pull up or down the table view to reveal other cells. I'd like the font change to be reflected ...

Table View Multiple Images With ScrollView

Hi!! Im having a big problem. Im trying that when in click a "word" from tableView send me to a secondView an here i wanna see a image, but i wanna see differents images, if you CLICK BANANA i wanna SEE IMAGE BANANA, etc. and in the secondView I wanna make scroll. The 1 CASE lets me see just one image and the secondView has the command ...