I have a small issue. I want to set a view from CGRect(10,60,1,1) to CGRect(10,60,100,100), the size is good but the origin wrong. I print object and that is new origin of view:
▿ CGRect
▿ origin : CGPoint
- x : -39.5
- y : 10.5 { ... }
▿ size : CGSize
- width : 100.0
- height : 100.0 { ... }
I use makeFram(rect: CGRect) in your lib. Please help me resolve this issue
I have a small issue. I want to set a view from CGRect(10,60,1,1) to CGRect(10,60,100,100), the size is good but the origin wrong. I print object and that is new origin of view:
▿ CGRect
▿ origin : CGPoint
▿ size : CGSize
I use makeFram(rect: CGRect) in your lib. Please help me resolve this issue