Creates a library object containing the functions stored in a binary data object created from a precompiled Metal library.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The data from a precompiled Metal library. For more information, see Creating Libraries During the App Build Process.
An error object that describes the problem, or
nilif the operation succeeded.
A new library object that contains the functions from the
Use this method if your application manages its own archiving system for libraries—for example, if you have a single file that contains several libraries.