Sets the layout for weak Ivar
s for a given class.
SDKs
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Objective-C Runtime
Declaration
func class_setWeakIvarLayout(_ cls: Any Class?, _ layout: Unsafe Pointer<UInt8>?)
Parameters
cls
The class to modify.
layout
The layout of the weak
Ivar
s forcls
.