-2

I am getting this error on my application when i hit hello button:

error in my code

LinusGeffarth
  • 27,197
  • 29
  • 120
  • 174

3 Answers3

1

This crash is because of you forgot to set IBoutlet with Output UILabel with UI interface

So you need to set IBOutlet

select Output Label from storyboard and then right longpress with drag from enter image description here to enter image description here

after end gesture you get output uilabel then connect with

Kiran Sarvaiya
  • 1,318
  • 1
  • 13
  • 37
0

kindly check outlets of ur textField (input textField)it is not connected to your storybord so connect it and then try it

Mahesh Dangar
  • 806
  • 5
  • 11
0

Connect your UILabel variable to your storyboard UILabel element

Kathiresan Murugan
  • 2,783
  • 3
  • 23
  • 44