Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

weak support #96

Closed
SAGESSE-CN opened this issue Mar 22, 2015 · 0 comments
Closed

weak support #96

SAGESSE-CN opened this issue Mar 22, 2015 · 0 comments

Comments

@SAGESSE-CN
Copy link

can enhance the support for weak?

Weak Object

as if
class Weak<T: AnyObject> {
weak var value: T?
init (_ value: T) {
self.value = value
}
}

Weak Array

http://stackoverflow.com/questions/24127587/how-do-i-declare-an-array-of-weak-references-in-swift

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant