I have a MKMapView with annotations on it and it works fine. I have a search bar as part of my navigation bar. When a user clicks on the search bar field I wanted to bring up a UITableView in code. I create a UITableView in the initialisation and want to add it to the sub view when - (void)searchBarTextDidBeginEditing:(UISearchBar *)sear...
hi...
I am working on an application in which uitableviewcells of uitableview are customized which contains a textfied(contains managedobject/core data), label((contains managedobject), buttons so all are customized. i am creating uitableview dynamically using sqlite.
Similarly uitableview view contains more than 15 cells. Cells are d...
Hello
I have a UIViewController, and within that view i have UITableView added in IB
The UITableView displays the items from my array beautifully
I would like to be able to edit the items i.e delete them
BUT The UITableView does not have a navigation bar, and i am not using a navigation controller within this app i am just adding ...
Hey guys,
So I'm trying to make a UITableView that has a repeating background. I want the background to scroll with the text. The catch is that the background is 2 images. There is a top image that is about 550px in height, and then a repeater image that's 2px in height. I want the top image to scroll with the table view and then eventu...
I am thinking about this problem now for very long.
I try to use different types of cells in my table, that each have their own cell controller and have a reuseIdentifier AND load from NIB.
The problem boils down to this: You can either init a Cell via
[UITableViewCell initWithStyle:reuseIdentifier:] or via [NSBundle loadNibNamed:owne...
I have 5 seperate sections in a table, 2 of the sections have customizable cells, when in EDITING mode, 2 of the sections produce an additional cell that will add a new cell to the list. My problem is that when I invoke edit mode, the UISwitch FREAKS OUT! and decides to jump around, VERY SIMPLE code, just have NO IDEA why the UISwitch is...
I've created a table view in an iPhone app using Interface Builder (IB). My table style is set to Grouped, and displays that way in IB. However, whenever I build and run, it shows up as a Plain style in the simulator.
I have another view set to Grouped and don't experience this problem. Has anyone run into this problem before?
The re...
Here is the exception:
Serious application error. Exception was caught during
Core Data change processing: *** -[NSCFArray removeObjectAtIndex:]:
index (0) beyond bounds (0) with userInfo (null)
Here is the relevant code:
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSInde...
I have a very long string that i need to display in the first row of the table view. The string is like
"1|123|Try|Bank Of America|11/06/2007|20,000.00"
where | is the tokenizer.
Now I take the first token ie 1 and append String "\n", so that 123 is displayed in the next line of the row of table view, but I can just display 1 and 12...
I have a UITableView on a view. This UITableView has cells which are made up of a checkbox custom control, a label and a disclosure accessory. When I select a row in the tableview it selects correctly (blue highlight shows 100% correctly).
I then created a didSelectRowAtIndexPath delegate to push a detail view controller onto the naviga...
Is there any way to have multiple cells per row in a uitableview using the uitableviewstylegrouped style? It exists in several of the official applications such as contacts but it could easily be a private API. If it is private has anybody found a good workaround?
...
I want to put my own custom delete buttons on the uitableview cell when it goes into edit mode, similiar to the "+" add button for inserting, just a red "x" in the same position as the "+" button is. how would i do this?
...
hello,
in my (quite simple) application,
--> i have one subview (named "Splash") loaded in the main view at launch time, like this (in my mainView class) :
-(void)awakeFromNib{
[self addSubview:splash];
}
--> I have also a UITableView (named "myTable") loaded by clicking a button (which calls the IBAction named "LoadData:") in the ...
Apple just released some sample code on lazy loading images in a UITableView a week ago. I checked it out and implemented it into my own UITableView (which is a drawRect one for fast scrolling), to see if there was a difference from what I was already doing.
After implementing I am not sure what is best; the new code or what I already h...
Hi,
I want to draw the background of a UITableViewCell which has a grouped style. The problem with me is I am not able to call the -(void)drawRect:(CGRect)rect or I think it should be called programmatically...
I have taken code from following link .
http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colo...
I have a grouped table retrieved using CoreData. The sections are based on a Boolean field in the SQLLite dB. How can I reverse the order of the groups in the table display? The default is to list the false values first (obviously, as false == 0, true == 1).
I guess I could change the database. My field name = isMandatory, so I could c...
Hi,
I'm pretty new to iPhone application development and I'm doing well so far. But at one point my App doesn't do what it is intend for...
It's a tableview based app and i'm pushing a new controller onto the stack to get some Userinput, but when the controller is popped again the data is somehow gone. Perhaps I've missunderstood somethi...
I have two sections in a UITableView and there is an edit button. When i click on the edit button both of the sections go into editable mode: row insert with title "Add new item". I only want the second section to go to editable mode when i click on edit button. How do I do this?
...
I'm trying to mimic the behaviour of a table view like one in the iPod app for Artists - it's a sectioned table view with a section index on the right and with a search bar at the top, but initially hidden when view shown.
I am using sdk 3.1.2 and IB, so simply dragged a UISearchDisplayController in to my NIB - it does wire everything u...
Since hidesAccessoryWhenEditing is depricated in the iPhone 3.0 SDK, what is the replacement? How do you get the same functionality?
...