LinkPreviews
A SwiftUI wrapper around LPLinkView from the Link Presentation framework by Apple.
Install / Use
/learn @DandyLyons/LinkPreviewsREADME
LinkPreviews
A simple SwiftUI-friendly wrapper around the Link Presentation framework by Apple.
Usage
import LinkPreviews
LinkPreview(URL("https://www.google.com")!)
LinkPreview(
URL("https://www.google.com")!,
onFetchError: { error in
print(error)
},
placeholder: {
Text("Fetching preview...")
},
fallback: { url in
Text("\(url)")
}
)
Roadmap
This package has not yet been validated on tvOS, visionOS, macCatalyst. Please create an Issue on GitHub if you find a problem.
Swift 6 Concurrency
A full concurrency audit of this package has not yet been completed. Currently this package uses @preconcurrency import LinkPresentation.
Installation
This package is in beta and is not yet fully released. To use the beta use the beta branch on git.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
