Shubham0812 / DailyTracker_UI

Daily Journal & Mood Tracker using the SwiftUI Framework 🚀
Apache License 2.0
11 stars 5 forks source link

Create a Custom ImageView #5

Closed Shubham0812 closed 10 months ago

Shubham0812 commented 10 months ago

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, should be fully customisable through variables.

Proposed solution

Create a generic Image View Struct under Common > Views > 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 :)

Yashraj49 commented 10 months ago

hello @Shubham0812 I I want to work on this as I am very new to this it will be good challenge for me

Shubham0812 commented 10 months ago

Hey Yash, sure, I'll assign it to you :D

Yashraj49 commented 10 months ago

hey @Shubham0812 I have raised PR #7 you may now review it .