uitableview

How to hide kewwindow from view .

Hi, I am trying to hide UIWindow from view controller , NSArray *windows = [[UIApplication sharedApplication] windows]; if ([windows count] > 1) { UIWindow *moviePlayerWindow = [[UIApplication sharedApplication] keyWindow]; [moviePlayerWindow addSubview:CustomButton]; } But come back to view controller i am not able to h...

UITableview Crashes on Scrolling

Hi everyone, i'm now stuck on this problem for days and i haven't been able to figure it out..... I created my project from the navigation based template and it automatically generated a tableview as well. I then added some sections and some rows and tried to fill the rows of the table with simple strings. It all works fine until there a...

UITableView Checklist

Hey everyone, I'm making a checklist program using UITableView and I managed to implement everything up to selection and making a checkmark appear. However, when I scroll away from the cells. The checkmark disappears. I have the following code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath...

How do I populate a predefined UITableView to a view using the interface builder

Hi, I've created a custom UITableViewCell with a label and a text field. I want to create two cells in a group to represent a nice username/password input mechanism. I've run into some troubles figuring it out (things like the delegate/dataSource). Is there a more direct approach to just add those two cells and get the data inserted int...

Why is scrolling performance poor for custom table view cells having UISegmentedControl objects?

I have a UITableView with custom cells that were defined in the xib file, and am experiencing poor scrolling performance (choppy) on my device when the cells have a UISegmentedControl on them. NSLog statements reveal that the cells are being allocated and reused as they ought. My code for cellForRowAtIndexPath method is below. Connecti...

Hide empty cells in UITableView

Hi, I have a searchable tableview, but would like to only display the number of cells that are returned once a user starts a search. For instance, if a user types in a charecter and there is only one cell that matches the search, the remaining cells the remaining cells of the table are empty. I was wondering if there is a way to hide th...

refresh uitableview data

how can I refresh the content of UITableView every 5 minutes? ...

Making UITableviewCells deletable

How are UITableView cells made to be able to be deleted by users? ...

iphone search swiping

Hi All, I am wanting to have half of a view taken up by a page control. The page control will allow the user to swipe from left to right on a selection of 5 different table view lists. Is this possible? What is the best approach. Will each table view that will be put into the page control need its own controller? Or am i totally off...

extract data from plist & then store permanently on tableview's cell iphone ?

Hi All In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from plist when clicked on a particular cell its displays detailviewcontroller(dvc) which is subclass of uiviewcontroller. dvc holds textfield & button .actually when i clicked on button i write textfield's text on tableviewcell throu...

delete only text in a row (but not the row) when delete button is tapped in editing mode of UITABLEVIEW

Hello, I have changed the delete button title to "Clear" in UItableView's editing mode. Now, tapping on this button just clears the text in this cell. But after clearing the delete button doesnot go back and the '-' button also doesnot rotates to original position. Please suggest some workaround and solution. Thanks in advance ...

UITableView add control issue in iphone

I am adding an activity indicator in each row of table. The issue is every time I scroll it get added again in cell overwriting the previous one. Please let me know which is best way to add control in tableview cell. UIActivityIndicatorView *a; // Customize the appearance of table view cells. -(UITableViewCell *)tableView:(UITableVie...

reloadData for a Table View in a View Controller

Hello I have a view controller that loads from an xib i created. It has two toolbars and a table view in that. I add this too the header file in the ViewController @interface FilterViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { When I do [self.tableView reloadData] It does throws up an error ...

Why will my plist not populate my UITableView?

I have made some progress and am editing the question to be current again. My big issue now is that the grouped table view will load, but shows all of everything in each section with each row. Also, my UIAlertView is returning all references to my plist (null). How would I fix this because the references to the plist are killing me. Any ...

uitableview header that stays at top

I'd like to have a tableview header that can remain at the top of the table, even when the user has scrolled down. I tried using a section header for this, but my table has multiple sections so I can't guarantee that one particular header will be at the top. What should I do? ...

UITableView works in 3.2 but no tableview methods are firing in 4.0 (simulator & device)

I just came across a situation where my implementation of a tableview is working in 3.2 but fails to fire any of the tableview methods in iOS 4. The view controller in question is defined as a UIViewController and is setup to adopt the UITableViewDataSource and UITableViewDelegate protocols, and I'm hooking the tableview up as the view's...

How to reset array in multiview iphone app

I am trying to have a tableview that leads to another tableview whose list items depend on the first view. I have the database set up properly and my problem is that when I select one item on the first page and go to the second view for the first time it works fine but when I return to the first page and go back to the second view again ...

UITableView got slowly when dragging

Hello, I am new to iPhone development, and I can not understand the working principle of UITableView well. I customize the UITableViewCell, and the cell contains imageview. In addition, I initialize the cell reusable. However, when I drag the UITableView, it scrolls slowly. Then what should I do to process it? ...

best way to show a image near my header section of tableview with header title

Hi friends, I have to show a image near my header section of tableview with header title.Can anybody suggest the best way of doing it? Thanks in advance for your suggestion. Regards, sathish ...

UITableView: delete section controls

Hello, Is there a way to add delete controls, like in UITableViewCell, on a table section? I see two ways: Use table cell instead of sections. Write own UIView section class, which will show delete controls. Regarding the first way - as I think, it could be an easiest way in my situation. The second way may be better from the imple...