Skip to content

swift_bridgeObjectRelease_n(____)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_bridgeObjectRelease_n(_:_:)

Decrements the strong retain count of a bridged object by n, or frees the memory if there are no longer any retains.

@_silgen_name("swift_bridgeObjectRelease_n")
public func swift_bridgeObjectRelease_n(
    _ value: AnyObject,
    _ n: Int32
)

Parameters

  • value: A bridged object (Any objective-c object).
  • n: The number of retain counts to remove.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally