Skip to content

Instantly share code, notes, and snippets.

@bland328
bland328 / NSWindow+Fade.swift
Created April 3, 2019 18:37 — forked from KyNorthstar/NSWindow+Fade.swift
NSWindow+Fade - Animator proxy based NSWindow fading
//
// NSWindow+Fade.swift
// BH Bezel Notification
//
// Created by Ben Leggiero on 2017-11-09.
// Translated to Swift 4 from the original (ObjC): https://gist.github.com/indragiek/1397050
// Copyright © 2017 Ben Leggiero. All rights reserved.
//
import Foundation
@bland328
bland328 / NSWindow+Fade.h
Created April 3, 2019 18:36 — forked from indragiek/NSWindow+Fade.h
NSWindow+Fade - Animator proxy based NSWindow fading
@interface NSWindow (Fade)
- (IBAction)fadeIn:(id)sender;
- (IBAction)fadeOut:(id)sender;
@end