LibraryItem
A single item to add to the Xcode library.
Declaration
struct LibraryItemOverview
Declare a library item to describe an entry in the Xcode library. Xcode discovers and validates library items that you place in the context of a LibraryContentProvider instance.
At a minimum, you provide an expression that Xcode uses when the user chooses the library item. You can provide any expression that compiles in the context of the library item instantiation. However, Xcode only honors items that adhere to certain restrictions, as described in views and modifiers(base:).
You can also provide additional characteristics, like a title and a category, to help you find the item when searching the library.