JSStringCopyCFString(_:_:)
Creates a Core Foundation string from a JavaScript string.
Declaration
func JSStringCopyCFString(_ alloc: CFAllocator!, _ string: JSStringRef!) -> CFString!Parameters
- alloc:
The
allocparameter to pass toCFStringCreate. - string:
The Jsstringref to copy into the new Cfstring.
Return Value
A CFString that contains string. Ownership follows The Create Rule.