-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
For example,
//EXAMPLE 1:
let rectangle: CGRect = with(.init(x: 0, y: 0, width: 100, height: 100)) {
$0 = $0.offsetBy(dx: 20, dy: 20)
$0 = $0.insetBy(dx: 10, dy: 10)
}
Actual, it's better for syntax support.
let rectangle: CGRect = with(CGRect.init(x: 0, y: 0, width: 100, height: 100)) {
$0 = $0.offsetBy(dx: 20, dy: 20)
$0 = $0.insetBy(dx: 10, dy: 10)
}
Is there any way to support it?
Metadata
Metadata
Assignees
Labels
No labels