adspace


What are initializer in swift?

Answer Posted / Shubhashish Ambashtha

Initializers in Swift are methods called when an instance of a class or struct is created. They are responsible for setting up the initial state of the object.

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?

926


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

896


Explain some biggest changes in usernotifications.

925