adspace


How can you declare a variable in swift?

Answer Posted / Kuldeep Pal

In Swift, you can declare a variable using the 'var' keyword followed by the name of the variable and its type. For example: var myVariable: Int

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you define a base class in swift?

931


Explain the common execution states for a swift ios app (ios application lifecycle).

900


Explain some biggest changes in usernotifications.

926