An iOS/tvOS view that automatically fetches, caches, and displays Open Graph metadata from URLs.
URLEmbeddedView is an iOS and tvOS library that automatically fetches Open Graph metadata from URLs and displays them as rich link previews. It solves the problem of manually parsing and caching URL metadata by providing a ready-to-use view component with built-in caching and customization options.
iOS and tvOS developers who need to display URL previews in their apps, such as in chat applications, social feeds, or content browsers.
Developers choose URLEmbeddedView for its out-of-the-box functionality, automatic caching to reduce network overhead, and high customizability—all while maintaining a simple API that integrates seamlessly into Swift and Objective-C projects.
URLEmbeddedView automatically caches the object that is confirmed the Open Graph Protocol.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
With just `embeddedView.loadURL(urlString)`, developers can fetch and display URL previews, as shown in the basic usage example—minimizing boilerplate code.
Caches both Open Graph data and images by default with a configurable update interval (e.g., 10 days), reducing network overhead and improving app performance.
Allows deep UI customization via text providers for properties like .Title and .Description, and supports pluggable cache managers through `OGDataCacheManagerProtocol`.
Compatible with iOS 8.0+, tvOS 10.0+, and multiple Swift versions (3.2 to 5), ensuring it works across a wide range of Apple projects.
The default cache implementation uses CoreData, which can add unnecessary complexity and overhead for apps not already leveraging this framework.
Only fetches Open Graph metadata, so URLs without OG tags may result in incomplete previews, requiring manual fallback handling not provided by the library.
Built on UIKit, making integration into SwiftUI projects non-trivial and requiring additional wrapper code like UIViewRepresentable.