现有的实例变量' PadControllerDelegate'对于财产' PadControllerDelegate'使用assign属性必须是_unsafe_unretained

时间:2015-08-09 05:49:28

标签: ios objective-c delegates

@interface wisepadViewController : UIViewController <PadControllerDelegate> {
@private
    id<PadControllerDelegate> PadControllerDelegate;
}

@property (nonatomic, assign) id<PadControllerDelegate> PadControllerDelegate;

现在在.m文件中我做了

@implementation wisepadViewController


@synthesize PadControllerDelegate;

如何修复它,无法做到。问题出在哪里。

0 个答案:

没有答案