uitableview

MGTwitterEngine and TableView

I sorta understand better how what the MGTwitterEngine returns....I thought. But i'm still doing something wrong to get it into my table view. This is what I have in my cellforrowatindexpath method: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [self.ta...

How to dismiss UITableView?

My app pulls up a uitableview screen when the user clicks a settings button. I can't figure out how to wire up the request to dismiss with the action. How do I dismiss this view from within the uitableview? Setting up view: SettingsController *rootViewController = [[SettingsController alloc] initWithStyle:UITableViewStyleGrouped...

Is it possible to hide the tabbar when a button is pressed to allow a full screen view of the content?

I have a UITabBar in the detail view of my navigation based application. I am storing text and images in a tableview and would like the user to be able to tap on a cell to hide the navigation controller and the tabbar for full screen viewing of the content. I found this code for hiding the top bars, but it does not seem as easy to hi...

How do I have a Tableview go to another tableview.

Right now I have an indexed tableview that goes to a detail view but i want it to go to another tableview then a detail view. Any thoughts? ...

Displaying a "Loading..." screen in a UITableView like the AppStore App...

the App Store app and fairly a lot many apps display a view that says "Loading.." while the content is being retrieved. How can we do this? Should I remove the UITableView and call addSubView and then once the data is available, add the tableview back? Or is there any other shortcut? If my question is not clear, please see this image.....

UINavigationController, UITableView and not showing the next view

I am having a problem with a table and showing another view when the user touches a table cell. I am using a UITabBarController for the main view to show different views. I then use a UINavigationController when the user selects a UITableView view to display the next view from the table cell selection. My problem is this: when they ...

Is there a way to remove the separator line from a single cell in UITableView?

I know I can change the UITableView property separatorStyle to UITableViewCellSeparatorStyleNone or UITableViewCellSeparatorStyleSingleLine to change all the cells in the TableView one way or the other. I'm interested having some cells with a SingleLine Separator and some cells without. Is this possible? ...

How to set up single array or dictionary for use in multiple datasources?

I have multiple TableViewDatasources that need to display list of objects form same pool depending of certain property. E.g. object.flag1 is set- it will show up in TableView1 object.flag2 is set- it will show up in TableView2 The obvious way would be to have separate arrays for each TableView, But same object may appear in different...

How do you add a description to the detail view of a table view

Hi, I have a table view that leads to a table view but I don't know how to add a description. My code is - (void)viewDidLoad { [super viewDidLoad]; //Display the selected country. lblText.text = selectedCountry; //Set the title of the navigation bar self.navigationItem.title = selectedCountry; } any thoughts? ...

different entity types in a single fetchedResultsController?

I have a UITableView which displays two different entity types -- each row could be either EntityA or EntityB. cellForRowAtIndexPath looks at the class type and determines how to create the cell. I am persisting my objects using Core Data and would like to use a fetchedResultsController to manage this tableview because of the memory-man...

Adjust cell width in grouped UITableView

I have a UITableView (grouped style) and I would like to adjust the width of the cells such that there is less padding on the sides. I want the cells to occupy the full width of the table view (like the plain style tableview). ...

Why don't tablecells get released?

I simplified my code to test with, and still on the phone my memory usage keeps climbing to a point where the table slows way down. Can someone tell me what I'm doing wrong here? - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; } (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInt...

Open a Link with selecting a UITableViewCell

Hi, what I'm trying to do is to have 1. a speakable text withtin the cell of a tableview (let's say "Google") 2. the ability that the user is able to select this row ("Google") and safari starts and opens the url http://www.google.de 3. if the user adds a new entry to the tableview, he should be able to enter the speakable text and the...

Bring up Keyboard for cell in UITableView?

I have UITableView that has custom cells representing a player. When I add a new player a new data item is added and [UITableView reloadData] is called. Part of the cell is a UITextView that contains the player name. How do I bring up the keyboard for it? I could use becomeFirstResponder if I had access to the UITextView in the cell ...

Moving UITableView row to top of list when selected

I am sure this is an easy thing to do. I am very new to objective C (picked up a job the boss was going to outsource) and could use all the help I can get. Just point me in the right direction here. Basically what I want to set up is this: I have a list of phone numbers that expands to as many rows as needed. I have no problem populatin...

Grabbing articles from my Wordpress site then using that in a UITableView?

As the title says I'm currently trying to grab the posts from my Wordpress site and then load it into a UITableView so It can be viewed like that. How would this be done? Im assuming Im going to have to use XML but how..? I'd rather try RSS if I can? Or what ever way works! Thank you so much for helping! ...

Changing the tablecell

Was wondering how you can make the cell transparent without affecting its children (subviews)? I tried just setting the alpha property but obviously that affects the other views that I have added to the cell. Here are the following methods I've tried so far: cell.contentView.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha...

How can I create a variable sized UITableViewCell?

I can't seem to get the text to actually span multiple lines. The heights look correct. What am I missing? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"StatusCell"] autorelease]; ...

UITableView section header height for non-grouped table

Greetings! I know that UITableView sectionHeaderHeight is only used for grouped tables, but I'll ask anyway (in case there's some way to do this that isn't obvious) ... Is there a way to change the section header height (and with it, the font/size) for a NON-grouped table? Hoping "yes" or at least a "maybe" ... but fearing it might be ...

disable scrolling in a UITableView (iPhone SDK 3.0)

Hi to all, I'm trying to disable scrolling in a UITableView when editing a UITextField embedded in a UITableViewCell. This is just to prevent the cell from being scrolled out of sight when edited (and also to avoid some related cell "Recycling" problems). While googling around I've seen that somebody suggested the obvious: tableView.s...