git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

Cocoa/GBOptionalVisualEffectView.m

      1 #import <Cocoa/Cocoa.h>
      2 
      3 @interface GBOptionalVisualEffectView : NSView
      4 
      5 @end
      6 
      7 @implementation GBOptionalVisualEffectView
      8 
      9 + (instancetype)allocWithZone:(struct _NSZone *)zone
     10 {
     11     Class NSVisualEffectView = NSClassFromString(@"NSVisualEffectView");
     12     if (NSVisualEffectView) {
     13         return (id)[NSVisualEffectView alloc];
     14     }
     15     return [super allocWithZone:zone];
     16 }
     17 
     18 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.