takeUnretainedValue()
Gets the value of this unmanaged reference as a managed reference without consuming an unbalanced retain of it.
Declaration
func takeUnretainedValue() -> InstanceReturn Value
The object referenced by this Unmanaged instance.
Discussion
This is useful when a function returns an unmanaged reference and you know that you’re not responsible for releasing the result.