uitableview

iPhone: Grouping records in multiple UITableView views

Let me first say, I know how to create sections and group records within a UITableView. What I am wanting to do is something similar to creating a photo album. So, I have all my data objects coming from core data, and, I want to be able to create a custom group, such as "My Trip to Mexico" and "First Birthday". Then, the user should b...

UITableViewCell is transparent when not supposed to be

My UITableViewCell is being transparent when it's not supposed to be. My table view has a background color and it shows through the table cell, even though they're supposed to be opaque. I'm not sure why this is. Relevant code: UITableViewCell *cell = [table dequeueReusableCellWithIdentifier:emptyIdentifier]; if (cell == nil) {...

UItableView Problem in deleting items from database

Hi All, I am using in UitableView database.My table view works successfully (add single item,add multiple item,delete all) only problem is there when i want to delete single item for this i using Uitableview edit option. so how i add database method for deleting single item from database and also from table view. Please help me. ...

iphone sdk: Table view not working in the first 5 tabs but in the more view

Hi, I only started with sdk but this problem is bugging me now for a view days: I created a UITableView and added it to my Tabs. When this TableView is in the first 4 Tabs and u go look at it, it only shows the items on the table but when clicking on them nothing happens (it doesn't go to the next view). BUT when i put this same tab be...

How do I resize table view after resizing it's footer?

I have a UITableView with header & footer added with code following the pattern shown in Apple's recipes example so the code for the footer is... if (tableFooterView == nil) { [[NSBundle mainBundle] loadNibNamed:@"DetailFooterView" owner:self options:nil]; self.tableView.tableFooterView = tableFooterView; } The footer NIB contains n...

Intercept UITableView scroll touches

Is it possible to control when the UITableView scrolls in my own code. I am trying to get behaviour where a vertical swipe scrolls and a horizontal swipe gets passed through to my code (of which there are many example) BUT I want a DIAGONAL swipe to do nothing, i.e the UITableView should not even begin scrolling. I tried catching it ...

How do I switch from a UIView to a UITable View?

I am writing an app that does not utilize a navigationController - there is only one area that requires a UITable. However, now I am hitting a roadblock when I go to load in that (table) view, with a method such as: searchViewController = [[SearchViewController alloc] initWithNibName:@"SearchViewController"...

UITableView throwing exception

I am getting the following error on a very simple UITableView: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x5d73210' Here is my code: #pragma mark - #pragma mark Table view data source - (NSIntege...

Adding table cell for each record in a uitableview?

i'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview. --------------- + | add record | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a ta...

Embedding a long UIWebView within a table view cell with various heights

I want to be able to embed a UIWebView into a tableview's cell (grouped style). The web view is long (longer than the screen), and I want it to display it's full length. So there is no scrolling within the web view itself, just on the table. ------------------------ | a normal table cell | ------------------------ | a normal table cel...

Minus sign when table is in edit mode

HEy all, I have a question to share..Tried to find the solution in various posts but failed. So if you know the solution in any other post Kindly paste the link over here. The question is "Can we change the click event of the (-) minus sign that appears when the table is in editmode". Can we change the image of the minus sign that a...

Copy NSArray and replace text items with bool values

I utilize a (nested) plist to populate UITableViews where users can select entries at the deepest levels and set a checkmark (or not). I want to save these selections in a same structured list where at the deepest level the NSArray contains bool values instead the text strings that are displayed in the UITableView. So how can i build fr...

What exactly does reloadData call?

When calling reloadData on a UITableView what methods are actually invoked? [tableView reloadData]; ...

Is this the correct way to reloadData on a UITableView?

I am trying to append objects to my data source and then reload the table. Is this the correct way of approaching it? self.items is my datasource //Copy current items self.itemsCopy = [self.items mutableCopy];//[[NSMutableArray alloc] initWithArray:self.items copyItems:NO]; NSLog(@"Copy Size before append: %d",[itemsCo...

UISplitviewcontroller - detailedView size on UIOrientation change?

I am creating a uisplitview programmatically, like http://stackoverflow.com/questions/2757489/uisplitviewcontroller-programmtically-without-nib-xib-thank-you/2977885#2977885, I am also showing 2 tableview within the detailedview. I am having difficulty getting the width of the detailedview to show the tableviews in the middle. current...

Turning additional strings in this JSON array into a UITableView Detail

I have a NSURL request that brings back an array of "name" and "phone", "etc"... The "name" Key shows up fine on the master table, but I'm having trouble figuring out how to get the rest of the array to show up on the detail table when I select the row. (I have the DetailerTableViewController working to accept the view). Any help would b...

Could InAppSettingsKit do this, or is there another library?

I'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview. --------------- + | add record | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a ta...

Best solution for styled text within a uitableviewcell?

Fo styled text (bold, italic, diff fonts and sizes), what's the best solution for putting a chunk of text within a cell? The text can of various lengths, so the cell would have to change it's height accordingly. ...

iPhone SDK: How to add multiple labels to table cell?

I am trying to create a custom table cell that has multiple labels. I already have code to create a custom cell. My problem is, it is just not that pretty. What I need is some pointers on how to apply multiple labels each of which may be a different color, font, etc. These are the labels I would like to include and they should appear ce...

Creating settings like the Mail settings in the Settings app

I want to create some settings much like the Mail settings within the Settings app. These allow you to add mail accounts to the end of the table First screen --------------- + | add account | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textfields Second screen --------...