ios - Why won't my IBOutlets show up in my list of Outlets in Interface Builder? -


i have code reflects answer connect uilabel in interface builder , xcode?.

in 1 view controller have several uilabels text set other methods have written in viewdidload. has worked fine, today tried adding couple more labels in same fashion , can't references show in outlets list in interface builder. how identical code not work in same view controller?

1) make sure have written iboutlet property correctly,

enter image description here

2) file's owner custom class of .xib should viewcontroller class

enter image description here


3) if right click on file's owner listed under placeholders, iboutlet mylabel should there,

enter image description here


4) , make sure have connected iboutlet uilabel.

enter image description here


5) set text of label viewdidload method,

enter image description here


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -