uitableview

iphone dev - activity indicator scroll with the table

In a view of my app I subclass tableViewController and has an activity indicator shown up when the table content is loading. I put it in the center of the screen but it scroll with the tableView (I guess the reason is I add it as a subview of the table view). Is there a way that I can keep the activity indicator in the center of the scre...

iPad application UITableView delegate methods are not getting called

Hi, I am using the same technique as i populate my UITableView in iphone while writing my iPad application. Tab Bar Controller >UINavigationController>UITableViewController of type myCustomTable(load From NIB) MyCustomTableViewController NIB and class file implements the delegate methods @interface MyCustomTableViewController : UITable...

iphone dev - how to catch exception 'NSRangeException'

In my app I try to scroll a UITableView to the top once after I updated the content of the table. However, under some circumstance, my table is EMPTY. So I got the following exception: Terminating app due to uncaught exception 'NSRangeException', reason: '-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:]: row (0) beyon...

how can I copy a string displayed in a UITableViewCell into another NSString?

Hey I am writing a program, and one part of my program has a UItableView in which I set cell contents manually by using the following... cell.textLabel.text = @"CELL CONTENTS HERE!"; How can I copy a string displayed in a particular TableView Cell into another NSString? ...

Change color of group of MKPinAnnotationView

Hi, I have several annotation pins (aprox 700) in a MapView. Is there any way I can select from an UITableView a row and change the color of a group of pins? Lets say each row representing a group of pins.. Thank you in advance! ...

iPad --- managedObject problem when [self.tableViewSection reloadData]

Hi , I am creating a news aggregator application that fetches a xml feed every 4 minutes. After the xml is loaded, I clear everything by deleting all the objects in the database, then save the new objects back into the database. I then call [self.tableViewSection reloadData]; to reload the tableView. Thats when I get a problem. As soon a...

How do you do a foursquare style uitableview refresh?

If you haven't seen their implementation Of the refresh of a tableview it is extremely slick. I was surprised to see no search results asking for this to be explained so I figured ask it myself. If you haven't seen it, it basically adds a subviews to the uitableview above the header to the blank part of the screen when you pull a uitabl...

How do i know in the detail view what cell in tableview was selected?

how can i know what tableview cell was selected?(being in the detail view) The problem is that. I have an table view controller. Here are parsed from the internet entries to the table. So it's a dynamic tabe view that loads from internet. I will not know how many entries will be in the table so i will not know what details view to call w...

UINavigationController with UIView and UITableView

I'm creating a navigation-based app which displays a graph, rendered with openGL, and a tableview listing disclosure buttons of all of the elements that are displayed on the graph, and a settings disclosure button. The navigation controller is also a tableview delegate and datasource, and the tableview is added to the view programatical...

UITableView cellForRowAtIndexPath occasionally not called?

I'm developing a graphing application that on the main navigation/tab view displays a UIView that renders a graph using openGL. Beneath that view is a UITableView that displays the list of elements on the graph, and an add button. Occasionally, when the user clicks on another tab, and then returns to the graph view tab, the table view d...

How do I hide the UITableViewCell border for a custom cell in a group tableview?

What I am trying to do: I want three buttons side-by-side in a tableviewcell just like in Contacts app. What I've done: I have a custom tableviewcell with three uibuttons in it. I've set the background color of the tableviewcell to be transparent. What I can't figure out: The tableviewcell border is still there! Everything looks great ...

uisearchbar + uitableview + nsfetchedresultscontroller

Hi all, I have a view controller that has a UITableView which is populated by a NSFetchedResultsController. I'd like to add a UISearchBar to be able to filter the records from Core Data that are displayed in the UITableView via the NSFetchedResultsController. I'd like to know what the "cleanest" way to do this is, and if there is a cl...

TableView as DetailView's subview with a UISplitViewController?

I have a UISplitViewController, I used the iPad template to start. To change the type of view in the detailview area, I'm adding my view types as subviews to the DetailViewController's view. This works for UIViewController derived views, but not for UITableViewController view types?. Why would this be? My problem is rooted in the fac...

UITableViewCell not displaying text it has

Hi, I have a UITableView that displays 16 cells at a time. When I start scrolling, the 17th cell will be empty when presented to the user, even though it contains text as per the NSLog statements I have. So, there is text, but for some reason, every 17 cell will not display it. The first 17th cell is clearly marked and empty. Each subse...

UINavigationController from scratch?

I have a view based app that works well. (In other words, I'm not going to start over with a Navigation-Based App template.) It's an immersive app of sorts and I'm trying to add a Table View that loads in a new view when a button is pressed. The loading the nib part works, but I can't seem to be able to add a navigation controller to ...

Accessory view in UITableView: view doesn't update

I'm trying to add checkmarks to items when the user select rows in a table view. However, the view is not refreshed and the checkmarks do no show up: - (void)tableView:(UITableView *)tv didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell* oldCell = [self tableView:tv cellForRowAtIndexPath:[NSIndexPath indexPathForR...

UITableViewCell outlets not set during bundle load (possibly very elementary question)

What are the most common reasons for an outlet (a class property) not being set during a bundle load? I'm sorry; most likely I'm not using the correct terms. It's my first steps with iPhone OS development and Objective-C, so please bear with me. Here is more details. Basically, I'm trying to create a table view based form with a fixed n...

A pattern for having the topmost UITableViewCell feature a "Settings" Cell.

Hi If it is unclear what I mean from the headline, I am referring to the functionality that is in the Facebook app where to topmost cell in a "Feed" view is a "Load new posts" button that extends upwards "forever". You have to pull it down a bit for it to display it self. Background In my case I reload the data for the entire UITableVi...

iPhone SDK: Text between UITableView sections?

In the settings on the iphone, there is text between some of the UITableView sections. Sometimes larger text, sometimes smaller text. How do I do this? I would like to know how to do the "Security" text, as well as the "Warn when visiting fraudulent websites." text. Ideas? ...

updating uitableview from the custom cell after changing it

Hi, I've implemented edit menu from my custom UITableViewCell class. I have a small problem of updating a table view from inside the custom table cell class. What is the best approach to do that? TIA Clarification: By edit menu I meant a standard Cut/Copy/Paste... menu, that can complies with a standard UIResponder protocol. I want to...