{"id":18473418,"url":"https://github.com/0xopenbytes/picture","last_synced_at":"2025-04-08T12:31:51.892Z","repository":{"id":196734266,"uuid":"697023121","full_name":"0xOpenBytes/Picture","owner":"0xOpenBytes","description":"🚧 Under Construction 🚧","archived":false,"fork":false,"pushed_at":"2024-01-24T00:16:09.000Z","size":26,"stargazers_count":3,"open_issues_count":8,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T12:32:49.458Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://0xopenbytes.github.io/Picture/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xOpenBytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-26T22:35:17.000Z","updated_at":"2023-11-28T04:11:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8310ea5b-5550-4067-bb9c-83f3fa64acfb","html_url":"https://github.com/0xOpenBytes/Picture","commit_stats":null,"previous_names":["0xopenbytes/picture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FPicture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FPicture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FPicture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xOpenBytes%2FPicture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xOpenBytes","download_url":"https://codeload.github.com/0xOpenBytes/Picture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842662,"owners_count":21005321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-11-06T10:24:49.881Z","updated_at":"2025-04-08T12:31:51.583Z","avatar_url":"https://github.com/0xOpenBytes.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Picture\n\n*🚧 Under Construction 🚧*\n\nPicture is a useful Swift Package Manager project that simplifies the process of displaying multiple images in SwiftUI. It supports both local and remote images and handles the UI, loading, and caching of images. Picture is an excellent tool for enhancing the visual appeal of apps while reducing the time and effort required for image loading and caching.\n\n## Features\n\n- Display multiple images in SwiftUI with ease\n- Support for both local and remote images\n- Automatic handling of image loading and caching\n- Simplified API for seamless integration\n- Enhanced visual appeal for your apps\n\n## Example Usages\n\n```swift\n// Single Image or UIImage\nvar body: some View {\n    Picture(image: image)\n}\n\n// Single URL\nvar body: some View {\n    Picture(url: imageURL)\n}\n\n// Multiple Images or UIImages\nvar body: some View {\n    Picture(images: images)\n}\n\n// Multiple URLs\nvar body: some View {\n    Picture(urls: imageURLs)\n}\n\n// Multiple URLs or Images\nlet remoteAndLocalImages: [PictureSource] = [\n    .local(image),\n    .remote(url)\n]\n\nvar body: some View {\n    Picture(remoteAndLocalImages)\n}\n```\n\n### Default init\n\n```swift\npublic init(sources: [PictureSource]) {\n    self.sources = sources\n}\n```\n\n## Installation\n\nTo integrate Picture into your project using Swift Package Manager, simply add the following dependency to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"\u003chttps://github.com/0xOpenBytes/Picture.git\u003e\", from: \"1.0.0\")\n]\n\n```\n\n## Requirements\n\n- iOS 17.0+\n\n## License\n\nPicture is available under the MIT license. See the [LICENSE](https://github.com/0xOpenBytes/Picture/blob/main/LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fpicture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xopenbytes%2Fpicture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xopenbytes%2Fpicture/lists"}