error : typedef redefinition with different types (' ---ConnectionType----- ' vs '-----ConnectionT

------------------------------------------------------------------------------------------------------------------

#import

#import "Blog.h"


// Types

typedef enum {

    ConnectionTypeAsynchronously,

    ConnectionTypeSynchronously

} ConnectionType;


@class Parser;


@protocol ParserDelegate <NSObject>

end


------------------------------------------------------------------------------------------------------------------

#import

#import "ASIHTTPRequest.h"


typedef enum {

    DownloaderTypeUnknown,

    DownloaderTypeData,

    DownloaderTypeImage,

    DownloaderTypeAudio,

    DownloaderTypeVideo,

    DownloaderTypeFile

} DownloaderType;



// Types

typedef enum {

    ConnectionTypeAsynchronously,

    ConnectionTypeSynchronously

} ConnectionType;


@class LRDHttpRequest;


@protocol LRDHttpRequestDelegate <NSObject>

end


error : typedef redefinition with different types (' ---ConnectionType----- ' vs '-----ConnectionT_第1张图片


error :   typedef redefinition with different types (' ---ConnectionType----- ' vs '-----ConnectionType--------') 出错

冲突 多余

删除其中一项即可


你可能感兴趣的:(object-c,ios)