__unsafe_unretained for a delegate won't build

后端 未结 2 1454
鱼传尺愫
鱼传尺愫 2021-02-01 23:58

I have this code (snippet) from a .h file:

#import 
#import \"ILView.h\"

/**
 * Controls the orientation of the picker
 */
typedef enum {
          


        
2条回答
  •  心在旅途
    2021-02-02 00:52

    I've used ILColorPicker in the past, and it is definitely not ARC ready. Set -fno-objC-arc in the compiler flag settings for the ILColorPicker classes.

提交回复
热议问题