我是一個iOS開發人員使用Mac OS X 10.8.5和Xcode 5.我試圖使我的iPhone應用程序通用,但我的viewController的對象(如按鈕,文本視圖等)不會連接到viewController的類。我嘗試添加一個自定義類到viewController,但自定義類自動返回到UIViewController(是的,我檢查了類的拼寫)。自定義類適用於我的iPhone故事板,但不適用於我的iPad故事板。我也嘗試重新啓動Xcode,甚至我的iMac,迄今爲止還沒有工作。界面生成器 - 自定義類不顯示
這裏是我的類的代碼(h文件):
@interface hackScreen : UIView
@property (retain, nonatomic) IBOutlet UITextView *txtfieldOne;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldTwo;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldThree;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldFour;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldFive;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldSix;
@property (retain, nonatomic) IBOutlet UITextView *txtfieldSeven;
@property (retain, nonatomic) IBOutlet UITextView *DatRandomBinary;
@property (retain, nonatomic) IBOutlet UITextView *leDoneMessage;
- (IBAction)tallStar:(id)sender;
- (void) oneStar;
- (void) tigerStar;
- (void) blackStar;
- (void) pineStar;
- (void) blueStar;
- (void) redStar;
- (void) cloudStar;
- (void) assemblyCode;
- (void) assemblyTwo;
- (void) radioActive;
@end
這裏是我的viewController的身份檢查的畫面: