 //
 //  ---------------------------------------------------------------------------
 //
-//  © 2016-2018 1024jp
+//  © 2016-2019 1024jp
 //
 //  Licensed under the Apache License, Version 2.0 (the "License");
 //  you may not use this file except in compliance with the License.

        
        super.viewWillAppear()
        
        self.view.identifier = .HUD
        self.view.layer?.cornerRadius = self.cornerRadius
        self.view.layer?.opacity = 0.0
        

    func show(in clientView: NSView) {
        
        // remove previous HUD
        for subview in clientView.subviews where subview.identifier == .hud {
            subview.fadeOut(duration: self.fadeDuration / 2.0, delay: 0)  // fade quickly
        }
        
