I've got a UITableView with several entrys, and these are divided up in several sections. If I click on one of the cells, a DetailViewController is accessed. In that DetailViewController, I want to use the data from the selected cell (the cell.textLabel and the cell.detailTextLabel), but I can't access these.
Is there a possibility to so...
as above, how do i put 2 views inside one cell in a tablerow?
below is my code:
TableLayout v = (TableLayout)inflater.inflate(R.layout.featureitem2, null);
// v.setColumnStretchable(0, true);
//adds each productname to the table
if(productName.size()>1){
TableRow pnamesRow = new TableRow(t);
pnamesRow.ad...
In the iPhone, I have a tableview, and touching the cells, I have one method calling presentModalViewController, and opening another view, with email and this kind of stuff.
When the user press the cancel button, the viewWillAppear method in the previous view is called.
So far, so good. But in the iPad, the viewWillAppear is only called...
My application has been rejected because the application did not function when reviewed by the iPhone App Review Team. The application is supposed to load words into a table view, but did not do so during the review. However, the application functions perfectly on my iPhone. Can you please give me any suggestions as to why an application...
hi, i got a tableview which is the one by default when you create a tableview using core data application, and there is this fetching managed object i don't really understand, anyway when the user delete something from the tableview i need to take the object that is deleted and gets it as a String, it is possible?
NSManagedObjectContex...
Hi,
When i selected a cell, i want to add the text from the cell to the underlying UIView at the same position.
So the text in the UIView should be at the same position as the text in the cell.
I dont know how to map the cell origin to a UIView origin point.
Anyone any hints?
Ton.
...
The debugger threw me this error
UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
this is my code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell = nil;
NSString *text = nil;
NSInteger secti...
SO,
I have a tableview with 20 cells each with a text title, a subtitle label and a textfield (with a button to give it a nice background), but I find that after scrolling the tableview a few times it starts to slow down in the simulator.
I figure this is a memory leak, but I thought I'd already released everything that I needed. Any c...
Hello. I'm in need of help again.
I have two view's, one of which contains a custom-cell table view. The contents of a cell are just several lables, which are generated programmatically. All is correct and works perfect with no memory leaks, BUT...
When I fast scroll table view and press Back button (the scroll is still in motion), the a...
Hello,
I have i problem with tableView selected row. When i select the row it selected, but when i back in the previous navigation controller the row deselected. Can i do that iPhone remember what row was selected and when i push controller it remember selected row and can it be blue?
...
Does anyone know how to change the background color of a cell using UITableViewCell, for each selected cell? I created this UITableViewCell inside the code for TableView.
...
Steps to reproduce:
1. Create a Tab Bar Application called "TestApp"
2. Add new file, a UIViewController subclass with a XIB user interface called "Table"
3. Open up MainWindows.xib, click on the Second tab bar item and in Inspector change the NIB Name from "SecondView" to "Table". Save and close.
4. Open up Table.xib and drag a TableVie...
Hello, i have another (probably unanswered) question about map views. I have a map view inside a table view cell and i want to disable the table view scrolling if the scrolling begins in the map view. Also the zooming gesture does not function normally. It only functions if the zooming gesture is done horizontally on the iphone display. ...
It bugs me to death that my viewcontroller, which happens to be a tableViewController, knows without being told that its property that is an NSArray or an NSDictionary holds the data that is to be loaded into the table for display.
Seems like I should explicitly say something like:
[self.tableView useData:self.MyArray];
I want to ha...
Hi All,
i am in a very serious problem of tableview reloading.
i have two option in my tableview
show next 10 Results
show previos 10 results
I wanna show only 50 results at a time in my table view. when table is populated with 50 results after that on pressing "show next 10 results" the results from 1-10 are removed and results fr...
Hi, I'm kind of new to this stuff. I was wondering how you can allow the user of your iPhone app to add new items to your tableview. If you're confused by what I mean, please look at the free app, ListGnome.
...
Hi, I have a tabbar with one of the tabs containing a drilldown table.
I am having problems once the user has finished using the drilldown table. If they change to another tab, then change back to the original tab, the original tab is still where I left it (at the bottom of the drill down showing the detail view)
What I want is on mov...
there is a great tutorial about tableview posted on youtube that contains 5 parts. Unfortunately, I reload videos and checked several times the code and application keep crashing.
link 1st part: http://www.youtube.com/watch?v=tMo8T1uh77E
Anybody that also follows this tutorial to discuss possible failure?
thanx
...
Hello, I have implemented a method didSelectRowAtIndexPath that should push another view. I have a code running properly using a navigationController but in this case I am using a navigationItem on a view. How could I trigger a view? Thanx
Error log:
2010-03-25 00:09:52.459 TableArchive[1062:207] trigger
2010-03-25 00:09:52.461 TableAr...
Hi, I have a Tableview on AppDelegate That calls a SecondView (dvController) when DidSelectRowAtIndexPath using:
[self.window addSubview:[dvController view]];
On SecondView I defined a button linked to IBAction that should go back to previous view. It works great but when row selected but, How could then go back to previous view if mai...