Add explanation to LibraryItem

Is there any way to add a detail or explanation to LibraryItem?

Thanks in advance

Accepted Reply

No there is not currently a way to pick the image or a description. Please file a bug, we'd love to hear your use case!

Replies

Also is it possible to choose a predetermined image to set them? I mean, I have a custom view that acts like a button. The image that I can see on the Xcode library is not a button.

No there is not currently a way to pick the image or a description. Please file a bug, we'd love to hear your use case!

@kcathey This would be great to have. Just as Apple has documentation for their own LibraryItems, the SwiftUI views in my framework can be quite complex and providing similar doc for users of my views would be great. In fact - I just expected this would be supported out of the box by adding DocC style doc to my library items.

Having no way to add details and leaving users with this screen is not a great developer experience: