回答編集履歴
1
initはなくても良かったです。
answer
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
こんな感じでどうでしょうか?
|
2
2
|
```swift
|
3
|
-
let initalBounds = NSValue
|
3
|
+
let initalBounds = NSValue(cgRect: (navigationController?.view.layer.mask?.bounds)!)
|
4
|
-
let secondBounds = NSValue
|
4
|
+
let secondBounds = NSValue(cgRect: CGRect(x: 0, y: 0, width: 50, height: 50))
|
5
|
-
let finalBounds = NSValue
|
5
|
+
let finalBounds = NSValue(cgRect: CGRect(x: 0, y: 0, width: 2000, height: 2000))
|
6
6
|
```
|