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...
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) {...
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.
...
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...
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...
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 ...
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"...
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...
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...
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...
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...
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...
When calling reloadData on a UITableView what methods are actually invoked?
[tableView reloadData];
...
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...
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...
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...
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...
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.
...
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...
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
--------...