public CFMutableString(CFString theString, nint maxLength = default(nint)) { if (theString == null) { throw new ArgumentNullException(nameof(theString)); } // NSMallocException Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save. if (maxLength < 0) { throw new ArgumentException(nameof(maxLength)); } Handle = CFStringCreateMutableCopy(IntPtr.Zero, maxLength, theString.GetHandle()); }
// constant documentation mention it also accept any ICT transform public bool Transform(ref CFRange range, CFString transform, bool reverse) { return(Transform(ref range, transform.GetHandle(), reverse)); }
// constant documentation mention it also accept any ICT transform public bool Transform(CFString transform, bool reverse) { return(Transform(transform.GetHandle(), reverse)); }