Closed

irevise iphone app

This project has been awarded to techcity for £20 GBP / hour.

Get free quotes for a project like this
Employer working
Project Budget
£20 GBP / hour
Total Bids
1
Project Description

In May 2010 you wrote an app for me using the sdk available at the time.

I have tried converting for IOS 6 but get 3 very similar semantic warnings.

I wondered whether you would be able to update the code to remove the warnings.

The code is;

#import "MainViewController.h"

#import "TopicsXMLParser.h"

#import "ChooseActivityViewController.h"

#import "FlashCardAppDelegate.h"

#import "ColoredAlertView.h"

@implementation MainViewController

- (id)init {

self = [super init];

NSData *topicsData = [[NSData alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"topics" ofType:@"xml"]];

NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithData:topicsData];

topicsArray = [[NSMutableArray alloc] init];

TopicsXMLParser *topicsParser = [[TopicsXMLParser alloc] initForArray:topicsArray];

[xmlParser setDelegate:topicsParser];

if( ![xmlParser parse] ) {

NSLog(@"error parsing topics");

}

return self;

}

TopicsXMLParser.h

#import

@interface TopicsXMLParser : NSObject {

NSMutableArray *topicArray;

NSMutableString *currentElementValue;

}

- (id)initForArray:(NSMutableArray*)array;

@end

I get the warning:

Sending 'TopicsXMLParser *' to parameter of incompatible type 'id'

I get 2 similar warnings.

/Users/markdakers/Desktop/new desktop/FlashCard 3/Classes/SelectWordViewController.m:25:25: Sending 'WordDefinitionsParser *' to parameter of incompatible type 'id'

/Users/markdakers/Desktop/new desktop/FlashCard 3/Classes/SelectWordViewController.m:25:25: Sending 'WordDefinitionsParser *' to parameter of incompatible type 'id'

I suspect that this will be an issue that you would have already solved on other projects, so shouldn't take too long.

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online