https://github.com/dmytro-anokhin/url-image-app
URL image view with SwiftUI
https://github.com/dmytro-anokhin/url-image-app
Last synced: 3 months ago
JSON representation
URL image view with SwiftUI
- Host: GitHub
- URL: https://github.com/dmytro-anokhin/url-image-app
- Owner: dmytro-anokhin
- Created: 2019-06-07T18:23:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T20:53:16.000Z (about 5 years ago)
- Last Synced: 2024-12-29T05:26:26.868Z (5 months ago)
- Language: Swift
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URLImageApp
**URLImageApp** is a demo app that show how use [URLImage](https://github.com/dmytro-anokhin/url-image) package. `URLImage` is a SwiftUI view that displays an image downloaded from provided URL
`ImageListView` is an example of using `URLImage` with lists inside the `ListView`.
`ImageDetailView` shows how to use `URLImage` standalone.
This is also a demo app for my blog post [URL Image view in SwiftUI](https://medium.com/@dmytro.anokhin/url-image-view-in-swiftui-f08f85d942d8).
## Running URLImageApp
You need Xcode 11 to run this code. `URLImage` is a package so you must have github account setup. Swift Package Manager should handle everything. Also you need to fill in your Bundle identifier to run the app.
## Images
**URLImageApp** uses images from [Unsplash](https://unsplash.com) via [picsum.photos](https://picsum.photos) API.