[swift-users] module (de)-initialization
Quinn "The Eskimo!"
eskimo1 at apple.com
Tue Dec 20 03:13:03 CST 2016
On 19 Dec 2016, at 08:37, Mr Bee via swift-users <swift-users at swift.org> wrote:
> 1. Is there any module initialization and deinitialization concept in Swift (v.3)?
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.
Share and Enjoy
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
More information about the swift-users