hi
I am new to iphone development. numberOfRowsInSection method of UITableViewController executed before parsing the XML node so that this method return value as zero, but this method should be return value of number of rows with data.
please help me
thanks.
...
I'm stumped (and likely blind to something incredibly obvious). I have a UITableView, which I want to do terribly normal things with, such as display text in each row. To do this, I've implemented the usual delegate method tableView:cellForRowAtIndexPath:. This is called as expected. According to the docs, I'm supposed to create a UILabe...
hi all.
I am trying to link the click of an accessory button in a UItableview to a method in a particular class.
The accessory is on multiple cells, created in code, and thus I can't just do a simple link in interface builder like I am used to.
How do I link an accessory arrow (from the end of a cell in a uitableview) to a method?
Re...
Hi,I'm having a problem with IBoutlet UITableView connection. It seems that the IBOutlet isn't connected to the TaleView.
I set the delgate and the datasource to the files owner and set the iboutlet to the tableview in the nib.
The tableview is well initialized. I just want to do some reloadData and it's not working. I try to do some de...
I wonder why I need a Cell Identifier in a UITableView... like this:
static NSString *cellIdentifier = @"Cell";
what's that needed for? Example?
...
hi expert, i did an application which has imageview to capture image from camera and a button where button is clicked pickerView will appear by actionsheet and will choose type of image(jpg, png, bmp..), once select from picker, button title will change according to the pickerView result,
then i try to convert this to UITableView, whic...
Question
How can you detect when the Table View is done drawing the cells?
Issue
I got two labels within the contentView of an UITableViewCell. The size of these labels are dynamic. I was able to do so by subclassing UITableViewCell, in the drawRect method I adjust the frames of the two labels depending on their content. Now I want to...
Hi,
I've been trying to create a transparent table view recently but I'm not having much luck. The idea is to have a MapView (or anything for an example...) underneath the table view (grouped) where the table cells are solid but the rest of the table view is transparent, showing the map behind.
What I've done so far is create a UITable...
Hi,
I have a view that was created with all of the default UITableView stuff, but now I need to add a header area above where the UITableView is (so the UITableView will scroll normally, but the top 100px of the screen or so will have static header content). I don't see where I can resize the UITableView in IB, and am not sure how to do...
i use IB and dis select Show selection on touch but it still show blue highlight on cell that selected
...
Hi all,
I am doing some work on uitable view in that I am showing 5 records at a time if the user wants to see more records user will tap on the more and another 5 records will be fetched .
all things are working properly except if I will tap on the more simultaneously the app crashes . so what I want to so is to disable the more when ...
Please refer to bellow image to get detail:
I think, UITableView has some events occur when scrolling em when a group complete replace other, but I don't know :(
...
I have calculated positions and offsets on paper. I have written code and debugged that I get expected results. However on iPhone Simulator things are overlapping by about 15 pixels.
To go on with my debugging, I need to know where exactly UI objects are on the screen.
Related to popup search keyboard and resizing a UITableView between...
Hi folks,
I want simply to refresh my tableView (on the iPhone) when I click on the related button in the tabBar...
So, I think this has to be done this way :
[self.tableView reloadData];
Right ? And done in the
(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController...
Hello,
I've read posts here on SO about striping a UITableView's cells, but have not been able to work out the details. My code is:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// Setup code omitted
cell.textLabel.text = @"Blah Blah";
cell.detailTextLabel.text = ...
I need delete row 1 of a table in a function i have defined. In order to use deleteRowAtIndexPath you must use an IndexPath with a section and row defined. How can I create an indexpath like this?
An array with the int {1} as it's only member will crash; the nslog message states that the section needs to be defined as well.
*Edit -> ...
My app will be using slightly thicker separator lines in tableViews - about 3x the thickness. I have already done this in some areas by setting separatorStyle to none and customizing cell backgroundViews with custom backgrounds that include my thick separator.
The issue with this method is that it only applies to real rows. Thus if I ...
I've created a nib for a custom UITableView cell and followed the documentation and different tutorials to get past this error and it just won't let up. I researched this error and people say it's when you #import a header but you didn't add the Framework. Well, UIKit is automatically added, and I removed and added it again for good meas...
In my app, I use a custom NIB to load my UITableViewCells. The NIB's File's Owner is set so the class is my View Controller. I then Link the UITableViewCell to the IBOutlet I put in the header file. It was all working fine, until all of the sudden it stopped working, and gets this error:
uncaught exception 'NSInvalidUnarchiveOperationEx...
Hi,
I have a very strange problem with my UITableViews. When the tableView contains more than ten rows and when I select a row, another row's content of the table view is displayed above the row I selected.
It is the same for every tableView. Did someone experiment this issue ?
Thanks for any idea.
...