NSAttributedString.fromPointer constructor
NSAttributedString.fromPointer(
- Pointer<
ObjCObjectImpl> other, { - bool retain = false,
- bool release = false,
Constructs a NSAttributedString that wraps the given raw object pointer.
Implementation
NSAttributedString.fromPointer(
ffi.Pointer<objc.ObjCObjectImpl> other, {
bool retain = false,
bool release = false,
}) : object$ = objc.ObjCObject(other, retain: retain, release: release) {
objc.checkOsVersionInternal(
'NSAttributedString',
iOS: (false, (3, 2, 0)),
macOS: (false, (10, 0, 0)),
);
assert(isA(object$));
}