uitableview

UITabbar controller and UITAbleView controllers questions

So I have a tabbar with 5 tabs and each containing a tableview controller. I was debugging a [self.tableView reloadData] no working when I added a self.title = @"Search by Last Name" on the viewDidLoad of the table view. Funny enough, I get that title in the tabbar item for that view. can anyone tell me why that is?? the inital pr...

How to change the blue highlight color of a UITableViewCell?

hi, I'm wondering how to change the blue highlight/selection color of a UITableViewCell, any ideas? Thomas ...

NSFetchRequest / Predicate Question

I have two entities: Patient and Job. Patient has a to-many relationship to Job called 'jobs' and Job has a to-one relationship to Patient called 'patient'. Job has attributes called 'dueDate' (Date) and 'completed' (BOOL) and Patient has attributes 'firstName' and 'lastName' (both Strings). I am trying to create a fetch request / predi...

How can I make my table cell UITextField editable when the table has entered 'edit' mode?

I have a simple table view which is editable. All I need the user to be able to do is edit the text field in the cell when they choose to edit the table. ...

How can I detect device orientation going back and forth through tabs and views?

My application goes back and forth between Portrait and Landscape. I have all of my content(labels, uiimageviews, uilabels) lined up to relocate for both orientations. However, the only change when the device is actually rotated. When I cycle between tabs after it has been rotated it just shows up autosized and not the way I have it s...

AccessoryDisclosureIndicator and AccessoryCheckmark on the left side

Hi I'm adding support for right-to-left languages for the UITableView. now I need to move the AccessoryDisclosureIndicator and AccessoryCheckmark from the right corner to the left. I'm taking the UIImageView path and Now I'm looking for 2 png icons: one for the AccessoryDisclosureIndicator arrow to the left and the second for the Acces...

UISearchBar Not appearing

Hi I have view controller, into the view i have put a table view, and a search bar into the table's header... the search bar is not showing up, just the empty table view. Do i need to do something additional? I'm pretty sure its to do with the view outlet of the UIViewController, set to View... Thanks ...

Using a UISearchBar search term in a web service

Hi I want to be able to use the search term from a UISearchBar as input to a web service, retrieve the results (JSON), and then display the results in the table view underneath the search bar. Is this possible / a good idea / is there a better way to achieve this? I have tried several ways, can manage to retrieve the JSON correctly, b...

NSFetchedResultsController - Delegate methods crashing under iPhone OS 3.0, but NOT UNDER 3.1

Hey guys, so I've got my NSFetchedResultsController working fine under the 3.1 SDK, however I start getting some weird errors, specifically in the delegate methods when I try it under 3.0. I've determined that this is related to the NSFetchedResultsControllerDelegate methods. This is what I have set up. The inEditingMode stuff has to do...

cant populate cells with an array when i have loaded a second UITableViewController

hi there, im very new to iphone programming, im creating my first app, (a world cup one) the first view is a table view. the cell text label is filled with an array, so it shows all the groups (group a, B, c,ect) then when you select a group, it pulls on another UITableViewcontroller, but whatever i do i cant set the text label of the c...

Loading a UITableView From A Nib

Hi, I keep getting a crash when loading a UITableView. I am trying to use a cell defined in a nib file. I have an IBOutlet defined in the view controller header file: UITableViewCell *jobCell; @property (nonatomic, assign) IBOutlet UITableViewCell *jobCell; This is synthesised in the implementation file. I have a UITableViewCell cr...

iPhone UITableViewController and Checklist

Hi guys, I have an iPhone application. First view controller which is a UITableViewController has a cell for "category". When user select "category" it will push another UITableViewController where user can select category. I have done both view controllers but when you click back(usually the title of table) button on navigation bar it...

Why am I getting two section headers on this grouped table?

I'm sure this is some easy-to-fix issue that I've missed, but I can't figure it out. I've got a grouped table view with 3 sections. I'm using the following code to generate section headers: -(NSString*)tableView:(UITableView*)tableView titleForHeaderInSection:(NSInteger)section { if (section == 0) { NSString *header = @"Header 1"; retur...

Position a UIView at the middle of a UITableView with CGRectZero frame

Hi, I have a UITableViewController view a UITableView that I alloc/init with a frame of CGRectZero : self.tableView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped]; I want to add a view at the middle of the tableView (a loading view with a UIActivityIndicatorView and a UILabel), but I don't know how to ...

Unknown iPhone Control - Help me out

Hi can anyone let me know which control they have used for doing the scrolling. I like that control very much. http://www.youtube.com/watch?v=Ssa2k4RlYXs&feature=channel Application is free to download. Help me to figure out which control is this. Application URL: itunes.apple.com/us/app/xix-cwg/id353382539?mt=8 Help me out. Co...

iPhone: UTableView with Uses More Memory with UITableViewStyleGrouped than with UITableViewStylePlain

Hello everyone, I'm using an UITableView with style UITableViewStyleGrouped initialized as follows: CGRect imgFrame = CGRectMake(0, 0, 320, 650); UITableView *myTable = [[UITableView alloc] initWithFrame:imgFrame style:UITableViewStyleGrouped]; myTable.dataSource = self; myTable.delegate = self; //make the current object the event hand...

Contacts view iphone SDK

When we click on a specific contact in the contacts app in the iphone SDk, we see the image of the person, the name and the tableview with details of the person. I would like to know how to generate that view exactly ? . I tried having a table view slightly below and tried to add a view with the image and the name above the table view. B...

UITableViewCell selected subview ghosts

Hi all, I'm learning about the iPhone SDK and have an interesting exception with UITableViewCell subview management when a finger is pressed on some rows. The table is used to assign sounds to hand gestures -- swiping the phone in one of 3 directions triggers the sound to play. Selecting a row displays an action sheet with 4 options fo...

Rotation animation is causing error...What is Apple's Updated requirement?

What does this mean and why am I getting this error. Any suggestions on how to fix it? "Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations." ...

TableView as seen in "Addresses"

Hi, every iPhone and iPod Touch has got the Apple "Addresses" App ... when you create a new record, there is a tableview. The first line contains an button (to add an image) and a tableview cell. How would I do such a tableview cell with a button and a regular cell in one row ? Thanks a lot ! Sebastian ...