I have looked at the answers of this question here and none of them seem to fix the problem I am having, also most other answers are not for swift but i tried the ones I understood.
All of the class names match, the outlets have the right names and there are no outlets that aren't defined... no little yellow triangle. (links to images below, site wont let me put more than 2)
As the screenshot clearly shows, the property MyInputText
does not bind to anything. Did you connect the UITextField
in the UIStoryBoard
to the related property in the code?
Here a screenshot showing a proper binding between a property and the XIB object.
Here a screenshot showing a proper binding between a property and the XIB object.
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.