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?



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

Answer / 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

More Apple iOS Swift Interview Questions

What is the full form of swift code?

0 Answers  


What is nil-coalescing operator?

0 Answers  


What is hashable in swift?

0 Answers  


What is a deinitializer in swift?

0 Answers  


Who created swift?

0 Answers  


What is a guard statement?

0 Answers  


What is the benefit of using guard statement in swift?

0 Answers  


What is difference between single and double, in swift?

0 Answers  


What are the higher order functions in swift?

0 Answers  


How can you declare a variable in swift?

0 Answers  


What is the use of double question mark “??” In swift?

0 Answers  


What do you mean by a deinitializer?

0 Answers  


Categories