Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is de-initializer and how it is written in Swift?

Answer Posted / iosraj

A de-initializer is declared immediately before a class instance is de-allocated. You write de-initializer with the deinit keyword. De-initializer is written without any parenthesis, and it does not take any parameters. It is written as

deinit {

// perform the deinitialization

}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is multiple inheritance possible in swift?

848


What type of objects are basic data types in swift?

815


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

820


Is swift similar to python?

884


What is lazy stored procedure in swift and when is it used?

882


How long does a swift transfer take?

812


what are functions different from methods?

828


What is block in swift?

781


Why do we use swift?

807


What is swift stand for?

810


What is the significance of “?” In swift?

872


How much do swift developers make?

806


What is singleton class swift 3?

767


How can you make a property optional in swift?

807


Is swift an object-oriented programming language?

823