iswiftapp / iswift

Objective-C to Swift Converter
30 stars 3 forks source link

Can not convert attached valid code which is successfully handled by https://objectivec2swift.com #187

Closed denizoguz closed 7 years ago

denizoguz commented 8 years ago

Can not convert following valid code.

`

import "ArasKargo.h"

import "TrackingResult.h"

import "AFURLRequestSerialization.h"

import "AFHTTPRequestOperationManager.h"

import "TrackingNumberHistory.h"

import "HTMLReader/HTMLReader.h"

import "PreTrackingConfiguration.h"

static NSString *const HOST = @"http://kargotakip.araskargo.com.tr";

@implementation ArasKargo {

}

}

@end

`

drkameleon commented 8 years ago

Hi, I'll look into it. Are you getting an 'unknown type' error or sth else?

denizoguz commented 8 years ago

@drkameleon it gives "Unexpected: id" error for the line self.id = 2; id is defined on the base class. If I remove that line it gives another error "Unexpected: ^" for the line :(void (^)(TrackingResult *trackingResult))callback {