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

How to Create Half Circle #16

Open
alipishvaee opened this issue Sep 23, 2018 · 3 comments
Open

How to Create Half Circle #16

alipishvaee opened this issue Sep 23, 2018 · 3 comments

Comments

@alipishvaee
Copy link

hi.i've used this library a lot but unfortunately I can not make the table view curved like a half circle although I've changed lot's of things in library files.please guide me.

@knutigro
Copy link
Owner

knutigro commented Oct 1, 2018

Hi, @alipishvaee. Cool that you use the control.

You should only have to change one of the four params

        UIView.BezierPoints.p1 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p2 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p3 = CGPoint(x: 0, y: 0)
        UIView.BezierPoints.p4 = CGPoint(x: 0, y: 0)

Did you try to use the editor?

@alipishvaee
Copy link
Author

I tried these value but it did not worked.also my half circle is positioned on the right of the screen.

@alipishvaee
Copy link
Author

I think it would be nice if you add more points.i mean maybe 8 point may solve the problem.also it would be nice if you consider the RTL in the library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants