Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrey Radchishin andreyrd

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am andreyrd on github.
  • I am andreyrd (https://keybase.io/andreyrd) on keybase.
  • I have a public key ASCGDaKqHCkPsKkN9zExfA-Y2xuJIdNcu7_EDIfnphDJpwo

To claim this, I am signing this object:

@andreyrd
andreyrd / aframe-ar.js
Created Mar 2, 2019
AR.js Builds Commit 4669d09
View aframe-ar.js
This file has been truncated, but you can view the full file.
@andreyrd
andreyrd / nibs.swift
Created Feb 23, 2018
Doesn't work with Swift4
View nibs.swift
var topLevelObjects = NSArray()
Bundle.main.loadNibNamed(NSNib.Name("MyCustomView"), owner: self, topLevelObjects: &topLevelObjects)
let views = (topLevelObjects as Array).filter { $0 is NSView }
let content = views[0] as! NSView
content.frame = bounds
addSubview(content)
View keybase.md

Keybase proof

I hereby claim:

  • I am andreyrd on github.
  • I am andreyrd (https://keybase.io/andreyrd) on keybase.
  • I have a public key ASCJ9VtFvlTaIQpxduofTFAwTMvPP0pZ_ADTVWqcVN9y_go

To claim this, I am signing this object: