You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have convenience constructors to support toll-free bridging, rather than having to extract and cast pointers. E.g., an NSString(ffi.Pointer<__CFString> cf) for strings, and similarly for other common bridged types.
String is especially useful since there are a bunch of constants that are only defined as CFStrings in Apple's headers, and the standard Obj-C idiom is to just cast them as you use them.
The text was updated successfully, but these errors were encountered:
It would be nice to have convenience constructors to support toll-free bridging, rather than having to extract and cast pointers. E.g., an
NSString(ffi.Pointer<__CFString> cf)
for strings, and similarly for other common bridged types.String is especially useful since there are a bunch of constants that are only defined as
CFString
s in Apple's headers, and the standard Obj-C idiom is to just cast them as you use them.The text was updated successfully, but these errors were encountered: