Now only i am start working with swift language. I have initialize the button as follows
@IBOutlet weak var systemTextButton: UIButton!
after that i can set the title using .setTitle()
property.
If i use ? instead of ! while initialize then showing the error on .setTitle()
as
UIButton? does not have a member named 'setTitle'
So, Anyone please tell me the difference between UIButton! and UIButton? .