CGMake in Swift 4

how can I use CGRectMake in swift 4
in swift 2 I used this code

 let strPogressRect = CGRect = CGRectMake

but I don't know how can I use it in swift 4

https://developer.apple.com/documentation/coregraphics/cgrect

CGRect(x: 0, y: 0, width: 1, height: 2)

3 Likes