Skip to content

Instantly share code, notes, and snippets.

@zeeshankhan
Last active March 5, 2016 03:23
Show Gist options
  • Save zeeshankhan/8264de79175519551216 to your computer and use it in GitHub Desktop.
Save zeeshankhan/8264de79175519551216 to your computer and use it in GitHub Desktop.
isUniquelyReferenced
class A {
var x = "a"
}
var a: A = A()
isUniquelyReferencedNonObjC(&a)
var b = a
isUniquelyReferencedNonObjC(&a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment