Contents

strongMemory

Use strong write-barriers to backing store; use garbage-collected memory on copy-in.

Declaration

static var strongMemory: NSPointerFunctions.Options { get }

Discussion

This is the default memory value.

As a special case, if you do not use garbage collection and specify this value in conjunction with objectPersonality or objectPointerPersonality then the NSPointerFunctions object uses retain and release.

If you do not use garbage collection, and specify this value in conjunction with a valid non-object personality, it is the same as specifying mallocMemory.

See Also

Memory Options