On 19 Dec 2016, at 08:37, Mr Bee via swift-users <swift-users@swift.org> wrote:

> 1. Is there any module initialization and deinitialization concept in Swift 
> (v.3)?

No.

For initialisation, the standard approach in Swift is to exploit the fact that 
globals are initialised lazily on first use.

If you’re interested in some of the background to this, there’s lots of 
interesting points of view on this swift-evolution thread.

<https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20161114/028914.html>

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to