[swift] Using a dispatch_once singleton model in Swift