On 9 Jan 2017, at 05:56, Mr Bee <pak.le...@yahoo.com> wrote:

> How to do such a trick?

By calling `dispatchMain()` or one of the various functions that calls 
`dispatchMain()`.  There’s no lower-level interface to this.

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