//
//  GeonamesParser.h
//  Allzic
//
//  Created by Alia Bourouis on 28/04/14.
//  Copyright (c) 2014 Alia Bourouis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SBJson.h"
#import "SBJsonStreamParserAdapter.h"
@class AppDelegate;

@interface GeonamesParser : NSObject {
    
    AppDelegate         *appDelegate;
	NSURLConnection     *serverConnection;
    NSMutableData       *receivedData;
	NSData              *parsedData;
    NSString            *parsedString;
    BOOL                isParseError;
    NSArray             *dataArray;
}

@property(nonatomic) BOOL isParseError;
@property(nonatomic,strong) NSArray *dataArray;

- (void)httpConnection:(NSString *)url;

@end
