IBOutlets not displayed on Xcode 6.1 (6A1052d)

This is a pretty serious problem: Outlets do not appear in IB.

Playback:

1) I declare an IBOutlet variable, for example, in my controller .h file.

@property (nonatomic, strong) IBOutlet UILabel* testlabel;

2) I open the storyboard, click on the viewcontroller. - If this is a new project, the Outlets list is missing. - If this is an old project with already defined outputs, the "Outlets" list contains previous releases, but not the one I added.

Someone had the same problem. This is really important because I can’t continue, in principle, unless I stop using Outlets. I cannot find information on this in the release notes.

EDIT I am posting a video on youtube showing this problem unless I explain it correctly. If I forget something obvious, I am glad that they laughed at me :) I said that I always followed the same actions, and Outlets were always on the list.

EDIT 2 For clarity, I deleted the ivar declaration, as it seems to have attracted the most attention.

Outlets on Youtube

3 , , , , . , , "" , UIViewController. , Outlets. , UIViewController view- > View. . , . - ( ,

~/Library/Developer/Xcode/DerivedData/

. , GitHub. Outlets , - "" , . XCode. !

EDIT 4 , , : . ViewController.h. , , , , , . . Class list is just generic

+1
4

"" . XCode , , . Outlets :

  • XCode
  • ~/Library/Developer/Xcode/DerivedData/
  • MacOS

, XCode , .

+4

IBOutlet :

@property (nonatomic, strong) IBOutlet UILabel* testlabel
+1

, , Clean Project Folder, DerivedData ( Storyboard ), Xcode Xcode, ?

+1

, - Xcode (8.2), Interface Builder , _Nullable Swift.

nullable @property, -, .

( , Xcode 8, , , .)

0

Source: https://habr.com/ru/post/1547816/


All Articles