Comments (7)
Currently it supports online one image at a time, but adding support for albums/multiple images is on the roadmap.
from swiftui-image-viewer.
Hi, does it support albums now?
from swiftui-image-viewer.
@neodave That makes sense, thanks for taking a look! I will take your advice and try to do it without the GeometryReader.
from swiftui-image-viewer.
@buluoray The feature is currently being developed on the image-album-support branch. It is very buggy right now so I would wait to use it quite yet, but that branch is where you can check out the development.
from swiftui-image-viewer.
@Jake-Short Thanks! I checked it out. I do wish we can have something like an environmentObject to assign the images anywhere in the app to the imageViewer because I won't know what to assign at the NavigationView level but at the child views
from swiftui-image-viewer.
@buluoray For now, would it be possible to have an environmentObject at the root? Then you could use it for the NavigationView and could change/update it from all of the child views.
from swiftui-image-viewer.
Hey Jake I checked out your image album branch. One thing that stood out to me is your use of a GeometryReader. Because this is a framework you might run into a Reader within a Reader. We have had all kinds of problems with GeometryReaders inside of GeometryReaders. You say it is buggy, I would try refactoring the GeometryReader out and require passing in whatever geometry you need. Just a suggestion...
from swiftui-image-viewer.
Related Issues (20)
- TabBar Problem HOT 7
- Print statements in SPM version. HOT 1
- Support of last version of URLImage HOT 6
- Captions for images HOT 1
- ImageViewerRemote wants a valid URL too early HOT 1
- import ImageViewer // <=== File 'ContentView.swift' is part of module 'ImageViewer'; ignoring import HOT 4
- Can we move the close btn to right top? HOT 1
- Ability to disable the automatic zoom out when pinch end. HOT 2
- Resolution difference between simulator and physical device
- Ability to zoom by double tapping?
- How to disable the close button? HOT 1
- Caption text doesnt response change HOT 2
- Can stop rescaling when zooming?
- UIKit Dependency? Not suitable for MacOS HOT 1
- The imageViewer should stay on zoomed scale value and should be closed with zooming when scale is 1
- Support the ability to pass an array of images the user can swipe left and right to view them. HOT 1
- Missing License HOT 1
- Install issues HOT 1
- Portrait images are stretched horizontally HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftui-image-viewer.