Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Custom Image View #6

Closed
Shubham0812 opened this issue Oct 14, 2021 · 1 comment · Fixed by #15
Closed

Create Custom Image View #6

Shubham0812 opened this issue Oct 14, 2021 · 1 comment · Fixed by #15
Assignees
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest feature or bug UI-related

Comments

@Shubham0812
Copy link
Owner

Requirement

We need an Image View struct that takes in an image, is scalable based on the frame provided by the Parent View.
Display a circular image with a border around the image.

Proposed solution

Create a generic Image View Struct under Code > Support Views.

Add variables that takes in an imageName, lineWidth and borderColor.

The View that you should create should look something similar to this-

Screenshot 2021-10-14 at 2 28 23 PM

Once you're done raise a PR. Good luck :)

@Shubham0812 Shubham0812 added good first issue Good for newcomers hacktoberfest Hacktoberfest feature or bug UI-related labels Oct 14, 2021
@Shubham0812 Shubham0812 changed the title Create Image View SwiftUI View Create Custom Image View Oct 14, 2021
@Shubham0812 Shubham0812 added this to To do in Habit Tracker To Do List via automation Oct 14, 2021
@Shubham0812 Shubham0812 moved this from To do to Done in Habit Tracker To Do List Oct 15, 2021
@JapneetSingh5
Copy link

Can you assign this to me please? Thanks a lot!

@clarkeben clarkeben linked a pull request Oct 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest feature or bug UI-related
Development

Successfully merging a pull request may close this issue.

3 participants