你好,歡迎來到IOS教程網

 Ios教程網 >> IOS編程開發 >> IOS開發綜合 >> error : typedef redefinition with different types (' ---ConnectionType----- ' vs '-----ConnectionT

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

編輯:IOS開發綜合

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


沖突 多余

刪除其中一項即可


 

  1. 上一頁:
  2. 下一頁:
蘋果刷機越獄教程| IOS教程問題解答| IOS技巧綜合| IOS7技巧| IOS8教程
Copyright © Ios教程網 All Rights Reserved