Iphone IBOutlet未显示在文件中';s所有者/IB

Iphone IBOutlet未显示在文件中';s所有者/IB,iphone,objective-c,xcode4,interface-builder,iboutlet,Iphone,Objective C,Xcode4,Interface Builder,Iboutlet,在我的.h文件中,我有以下内容: @interface { UILabel *questionLabel_; } @property (nonatomic, retain) IBOutlet UILabel *questionLabel; @synthesize questionLabel = questionLabel_; 在我的.mm文件中,我有以下内容: @interface { UILabel *questionLabel_; } @property (nonatomic, re

在我的.h文件中,我有以下内容:

@interface {
UILabel *questionLabel_;
}

@property (nonatomic, retain) IBOutlet UILabel *questionLabel;
@synthesize questionLabel = questionLabel_;
在我的.mm文件中,我有以下内容:

@interface {
UILabel *questionLabel_;
}

@property (nonatomic, retain) IBOutlet UILabel *questionLabel;
@synthesize questionLabel = questionLabel_;
当我转到xib文件时,我在文件所有者中没有看到任何问题标签的证据。我也不能通过ctrl键拖动到文件所有者或第一响应者来连接UILabel

这是我创建的两个UIButton


想法?

您应该为
文件的所有者设置适当的类别。

打开
实用程序->身份检查器->自定义类->类->选择您的类


之后,您将能够设置出口。

您应该设置
文件所有者的适当类别。

打开
实用程序->身份检查器->自定义类->类->选择您的类


之后,您将能够设置出口。

接口文件中没有类名?在Inspector中,请检查是否设置了类名?在接口文件中没有类名?在Inspector中,请检查是否设置了类名?