I have a CustomLabel
view which is a sub-class of UILabel
it self.
Is there any possibility to set properties from Xcode Interface builder for this custom view. I have tried different things specified in this link:
Reuse a uiview xib in storyboard
But nothing is working for me. Will this kind of thing work ?
Sorry, i think its not possible. if you want like this, first we need to add UILabel in interface builder and take outlet connection then we can set properties.
example: self.myLabel.text="hi welcome"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.