当前位置:编程学习 > wap >>

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

#import <Foundation/Foundation.h>

#import "Blog.h"

 


// Types

typedef enum {

    ConnectionTypeAsynchronously,

    ConnectionTypeSynchronously

} ConnectionType;

 


@class Parser;

 


@protocol ParserDelegate <NSObject>

end

 


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

 

#import <Foundation/Foundation.h>

#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 '-----ConnectionType--------') 出错


冲突 多余

删除其中一项即可


 

补充:移动开发 , IOS ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,