Awarded

irevise iphone app

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.

Skills: iPhone

See more: update to ios 6, new ios update, update ios app, Flashcard, parse error parse error, flashcard app, iOS app update, parse sdk, ios app app update, xml quot, parse array, parse app ios, iOS parse, ios parse app, ios pending update, iphone code update, ios app code xml, iphone update code, sdk ios, error iphone, parse app, iphone parse, app converting, xml parsing ios, iphone implementation

About the Employer:
( 0 reviews ) Camberley, United Kingdom

Project ID: #4621813

1 freelancer is bidding on average £20 for this job

techcity

Hired by the Employer

£20 GBP / hour
(67 Reviews)
8.3