回答編集履歴
1
initはなくても良かったです。
test
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
```swift
|
4
4
|
|
5
|
-
let initalBounds = NSValue
|
5
|
+
let initalBounds = NSValue(cgRect: (navigationController?.view.layer.mask?.bounds)!)
|
6
6
|
|
7
|
-
let secondBounds = NSValue
|
7
|
+
let secondBounds = NSValue(cgRect: CGRect(x: 0, y: 0, width: 50, height: 50))
|
8
8
|
|
9
|
-
let finalBounds = NSValue
|
9
|
+
let finalBounds = NSValue(cgRect: CGRect(x: 0, y: 0, width: 2000, height: 2000))
|
10
10
|
|
11
11
|
```
|