uitableview

problem with "this class is not key value coding-compliant"

Hi, I know the meaning of this error, but I'm really struggling with it, and I need someone's help : 2010-09-21 15:03:11.562 Stocks[5605:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x499fb20> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key actionTe...

UITabBar+UITableviewController in navigation based applications

Hi, I am trying to put a UITabBar on a Rootviewcontroller.xib to a Navigation based Application. I know that we used navigation based applicaitons for Tableviews and by default those .xib consists of a tableview. I tried to put a UITabBar in the bottom of rootview but it is not setting over there. I saw that if we used viewbased applic...

uitableview cellforrowatindexpath display different images for cell image

I'm trying to have a different image for each one of the cells of my tableview. I do this with the following code in the cellforrowatindexpath method: if (platform = @"Win") { UIImage *winImage = [[UIImage imageNamed:@"Vista.png"] retain]; cell.imageView.image = winImage; }else if (platform = @"Mac") { UIIma...

How to make background of UITableViewCell with buttons transparent.

In IB, on the .xib where the file's owner is a subclass of UITableViewController, the structure of a cell that I wish to load from the xib is: (UITableViewCell)cell->(UIView)View->(UIButton)but1,but2,but3. I am trying to have the buttons appear on the table without the frame/background of the cell. I've made the cell's background and...

all images in table view are the same in iPhone app

I have a table view where I want a different image for each cell based on logic. Here is my cellforrowatindexpath code: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"MyIdentifier"; UITableViewCell *cell = [tableView dequeueReusableCel...

iPhone Core data drilldown with multiple tables

I have an app I am working on that has 2 entities linked by a relationship (many to many). I currently have the app set up so that the rootviewcontroller controls the NSManagedObject (getting, setting, deleting of the data) in the first entity. When I drill down into on of the first entities it goes to a secondview (secondviewcontroller...

How to display Data from RSS Feed in Parts in Iphone Application

Hi all. I am displaying RSS feeds in my table view. as there are hundred of feeds so my application takes lots of time to load them and display them i want to load just first 25 feed and display them in Table view and when User Click on More 25 application load next 25 and display them. Any Idea........... :) I am using TouchXML t...

UISwitch in a UITableView cell

How can I embed a UISwitch on a UITableView cell? Examples can be seen in the settings menu. My current solution: UISwitch *mySwitch = [[[UISwitch alloc] init] autorelease]; cell.accessoryView = mySwitch; ...

how to implement search functionality on tableview in iphone

i have a tableview. i loaded the rules into the table of search view controller. when i type character into searchbar how to implement search functionality and how to add it to the rulesArray. i have an array 'rulesArray" with all rules like below. [rulesArray addObject:[rules objectAtIndex:k]]; Rule is a class. Also I want to add rul...

TableViewCell, dynamically show Media Player controls iPhone

Hi, I am currently developing a app which records some audio files. The audio files are stored locally and the path is stored in core data. I am populating a TableView with the list of Audio's recorded. When I click a tableviewcell, I am able to play the recorded voice. I want to show some controls on the table view (like play an...

uitableview - custom images keep loading in cell.contentView

In cellForRowAtIndexPath I am adding a UIImageView to cell.contentView. The problem is that when the cell scrolls off the screen and back on, it adds the same image again on top of the one that is already there. This happens continuously until I get a very stacked-up blurry image. Do you have to keep removing any image views that you a...

Using a table view for entering data

With the regular table view touching a table cell will switch to another view. I have seen some applications that are using something that looks similar to a table view except touching a cell brings up the keyboard so that text can be entered into the cell. It looks kind of like a table view, but a little different. What are they using t...

How to display multiple lines in a tableView cell

I have a somewhat long string that gets truncated when displayed in a tablView cell. I did this to make the table view wider: tableView.rowHeight = 100; How can I make the font smaller as well as wrap the text in the table view cell? ...

UITableView Plist Not Returning valueForKey

I'm stuck in a rut over implementing a sectioned plist into a UITableView. My plist setup is as followed. I have a root array with dictionaries representing sections. These dictionaries have a single string 'sectionname' that dictates the section header as well as an array of dictionaries inside to represent the cells (the reason for th...

UITableView cells cannot be selected

When I select a row on my UITableView, the call to the handler is never made... - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath I create the custom cells programmatically. User interaction is enabled on my UITableView and the data source and delegate are set to the File's Owner for the view ...

the behavior of UITextView like Submit Review on iTunes App

Hello all, I want to implement the behavior of UITextView like 'Submit Review' menu on iTunes App. On 4th row (Review (Optional)), I think that is a UITextView inside UITableView, am I right? So, if UITextView reach third text line, all of view will scroll, how to do that? I will appreciate your answer, thank you. ...

How to insert UIWebView between UITableViewCells when I tap on accessoryButtonTappedForRowWithIndexPath?

Hi Guys, I need to display the UIWebView under the UITableViewCell when user selects the required cell by tapping on the accessoryButtonTappedForRowWithIndexPath. for example I have three rows, Home, Office and History, which are displayed in table view. If user selects Office then the details in webview should displayed under office's...

Starting out with Core Data and relationships.

What I'm trying to build is an application that allows users to add a category to the first entity (CategoryItem) and then add feeds to that via a second entity (FeedItem). So far, the CategoryItem entity has *action attribute which is used as the naming of the category (String). The FeedItem entity has two attributes, *feedName and *f...

Iphone, how do I fix this warning: '-respondsToSelector:' not found in protocol(s)

I'm getting this warning. '-respondsToSelector:' not found in protocol(s) It occurs on the line marked by "HERE" below. - (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section { id<SetsSectionController> sectionController = [sectionControllers objectAtIndex:section]; if ([sec...

how to reload table view in iphone application.

Hi all. I am displaying 10 feed in UItable view and below i have added a button with name load more 20.. by clicking this button i am passing argument to the xml and in return i want to reload the table view with fresh content. welll my question is that how to the view again. i am trying somthing like this -(IBAction)loadMore20 { ...