-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnimationCameraView.swift
3097 lines (2826 loc) · 207 KB
/
AnimationCameraView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// AnimationCameraView.swift
// Generated by Core Animator version 1.5 on 11/15/17.
//
// DO NOT MODIFY THIS FILE. IT IS AUTO-GENERATED AND WILL BE OVERWRITTEN
//
import UIKit
private class _AnimationCameraPassthroughView: UIView {
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
for subview in subviews as [UIView] {
if subview.point(inside: convert(point, to: subview), with: event) { return true }
}
return false
}
}
@IBDesignable
class AnimationCameraView : UIView, CAAnimationDelegate {
var animationCompletions = Dictionary<CAAnimation, (Bool) -> Void>()
var viewsByName: [String : UIView]!
// - MARK: Life Cycle
convenience init() {
self.init(frame: CGRect(x: 0, y: 0, width: 8942, height: 7346))
}
override init(frame: CGRect) {
super.init(frame: frame)
self.setupHierarchy()
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
self.setupHierarchy()
}
// - MARK: Scaling
override func layoutSubviews() {
super.layoutSubviews()
if let scalingView = self.viewsByName["__scaling__"] {
var xScale = self.bounds.size.width / scalingView.bounds.size.width
var yScale = self.bounds.size.height / scalingView.bounds.size.height
switch contentMode {
case .scaleToFill:
break
case .scaleAspectFill:
let scale = max(xScale, yScale)
xScale = scale
yScale = scale
default:
let scale = min(xScale, yScale)
xScale = scale
yScale = scale
}
scalingView.transform = CGAffineTransform(scaleX: xScale, y: yScale)
scalingView.center = CGPoint(x:self.bounds.midX, y:self.bounds.midY)
}
}
// - MARK: Setup
func setupHierarchy() {
var viewsByName: [String : UIView] = [:]
let bundle = Bundle(for:type(of: self))
let __scaling__ = UIView()
__scaling__.bounds = CGRect(x:0, y:0, width:8942, height:7346)
__scaling__.center = CGPoint(x:4471.4, y:3673.3)
__scaling__.clipsToBounds = true
__scaling__.backgroundColor = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1.0)
self.addSubview(__scaling__)
viewsByName["__scaling__"] = __scaling__
let icon02Menu01__root = _AnimationCameraPassthroughView()
let icon02Menu01__xScale = _AnimationCameraPassthroughView()
let icon02Menu01__yScale = _AnimationCameraPassthroughView()
let icon02Menu01 = UIImageView()
let imgIcon02Menu01 = UIImage(named:"icon_02_menu-01.png", in: bundle, compatibleWith: nil)
if imgIcon02Menu01 == nil {
print("** Warning: Could not create image from 'icon_02_menu-01.png'")
}
icon02Menu01.image = imgIcon02Menu01
icon02Menu01.contentMode = .center
icon02Menu01.bounds = CGRect(x:0, y:0, width:2917.0, height:2917.0)
icon02Menu01__root.layer.position = CGPoint(x:1742.771, y:5546.911)
icon02Menu01__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
icon02Menu01__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
icon02Menu01__root.transform = CGAffineTransform(rotationAngle: 0.000)
icon02Menu01__root.addSubview(icon02Menu01__xScale)
icon02Menu01__xScale.addSubview(icon02Menu01__yScale)
icon02Menu01__yScale.addSubview(icon02Menu01)
__scaling__.addSubview(icon02Menu01__root)
viewsByName["icon_02_menu-01__root"] = icon02Menu01__root
viewsByName["icon_02_menu-01__xScale"] = icon02Menu01__xScale
viewsByName["icon_02_menu-01__yScale"] = icon02Menu01__yScale
viewsByName["icon_02_menu-01"] = icon02Menu01
let icon01Power__root = _AnimationCameraPassthroughView()
let icon01Power__xScale = _AnimationCameraPassthroughView()
let icon01Power__yScale = _AnimationCameraPassthroughView()
let icon01Power = UIImageView()
let imgIcon01Power = UIImage(named:"icon_01_power_.png", in: bundle, compatibleWith: nil)
if imgIcon01Power == nil {
print("** Warning: Could not create image from 'icon_01_power_.png'")
}
icon01Power.image = imgIcon01Power
icon01Power.contentMode = .center
icon01Power.bounds = CGRect(x:0, y:0, width:1357.0, height:1391.0)
icon01Power__root.layer.position = CGPoint(x:702.931, y:6597.696)
icon01Power__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
icon01Power__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
icon01Power__root.transform = CGAffineTransform(rotationAngle: 0.000)
icon01Power__root.addSubview(icon01Power__xScale)
icon01Power__xScale.addSubview(icon01Power__yScale)
icon01Power__yScale.addSubview(icon01Power)
__scaling__.addSubview(icon01Power__root)
viewsByName["icon_01_power___root"] = icon01Power__root
viewsByName["icon_01_power___xScale"] = icon01Power__xScale
viewsByName["icon_01_power___yScale"] = icon01Power__yScale
viewsByName["icon_01_power_"] = icon01Power
let menuIcons011__root = _AnimationCameraPassthroughView()
let menuIcons011__xScale = _AnimationCameraPassthroughView()
let menuIcons011__yScale = _AnimationCameraPassthroughView()
let menuIcons011 = UIImageView()
let imgMenuIcons011 = UIImage(named:"menu_icons-01_1.png", in: bundle, compatibleWith: nil)
if imgMenuIcons011 == nil {
print("** Warning: Could not create image from 'menu_icons-01_1.png'")
}
menuIcons011.image = imgMenuIcons011
menuIcons011.contentMode = .center
menuIcons011.bounds = CGRect(x:0, y:0, width:642.0, height:642.0)
menuIcons011__root.layer.position = CGPoint(x:935.863, y:4649.082)
menuIcons011__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons011__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons011__root.transform = CGAffineTransform(rotationAngle: 0.000)
menuIcons011__root.addSubview(menuIcons011__xScale)
menuIcons011__xScale.addSubview(menuIcons011__yScale)
menuIcons011__yScale.addSubview(menuIcons011)
__scaling__.addSubview(menuIcons011__root)
viewsByName["menu_icons-01_1__root"] = menuIcons011__root
viewsByName["menu_icons-01_1__xScale"] = menuIcons011__xScale
viewsByName["menu_icons-01_1__yScale"] = menuIcons011__yScale
viewsByName["menu_icons-01_1"] = menuIcons011
let menuIcons02__root = _AnimationCameraPassthroughView()
let menuIcons02__xScale = _AnimationCameraPassthroughView()
let menuIcons02__yScale = _AnimationCameraPassthroughView()
let menuIcons02 = UIImageView()
let imgMenuIcons02 = UIImage(named:"menu_icons-02.png", in: bundle, compatibleWith: nil)
if imgMenuIcons02 == nil {
print("** Warning: Could not create image from 'menu_icons-02.png'")
}
menuIcons02.image = imgMenuIcons02
menuIcons02.contentMode = .center
menuIcons02.bounds = CGRect(x:0, y:0, width:642.0, height:642.0)
menuIcons02__root.layer.position = CGPoint(x:1724.627, y:4980.394)
menuIcons02__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons02__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons02__root.transform = CGAffineTransform(rotationAngle: 0.000)
menuIcons02__root.addSubview(menuIcons02__xScale)
menuIcons02__xScale.addSubview(menuIcons02__yScale)
menuIcons02__yScale.addSubview(menuIcons02)
__scaling__.addSubview(menuIcons02__root)
viewsByName["menu_icons-02__root"] = menuIcons02__root
viewsByName["menu_icons-02__xScale"] = menuIcons02__xScale
viewsByName["menu_icons-02__yScale"] = menuIcons02__yScale
viewsByName["menu_icons-02"] = menuIcons02
let menuIcons03__root = _AnimationCameraPassthroughView()
let menuIcons03__xScale = _AnimationCameraPassthroughView()
let menuIcons03__yScale = _AnimationCameraPassthroughView()
let menuIcons03 = UIImageView()
let imgMenuIcons03 = UIImage(named:"menu_icons-03.png", in: bundle, compatibleWith: nil)
if imgMenuIcons03 == nil {
print("** Warning: Could not create image from 'menu_icons-03.png'")
}
menuIcons03.image = imgMenuIcons03
menuIcons03.contentMode = .center
menuIcons03.bounds = CGRect(x:0, y:0, width:642.0, height:642.0)
menuIcons03__root.layer.position = CGPoint(x:2328.623, y:5587.245)
menuIcons03__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons03__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons03__root.transform = CGAffineTransform(rotationAngle: 0.000)
menuIcons03__root.addSubview(menuIcons03__xScale)
menuIcons03__xScale.addSubview(menuIcons03__yScale)
menuIcons03__yScale.addSubview(menuIcons03)
__scaling__.addSubview(menuIcons03__root)
viewsByName["menu_icons-03__root"] = menuIcons03__root
viewsByName["menu_icons-03__xScale"] = menuIcons03__xScale
viewsByName["menu_icons-03__yScale"] = menuIcons03__yScale
viewsByName["menu_icons-03"] = menuIcons03
let menuIcons04__root = _AnimationCameraPassthroughView()
let menuIcons04__xScale = _AnimationCameraPassthroughView()
let menuIcons04__yScale = _AnimationCameraPassthroughView()
let menuIcons04 = UIImageView()
let imgMenuIcons04 = UIImage(named:"menu_icons-04.png", in: bundle, compatibleWith: nil)
if imgMenuIcons04 == nil {
print("** Warning: Could not create image from 'menu_icons-04.png'")
}
menuIcons04.image = imgMenuIcons04
menuIcons04.contentMode = .center
menuIcons04.bounds = CGRect(x:0, y:0, width:642.0, height:642.0)
menuIcons04__root.layer.position = CGPoint(x:2644.899, y:6379.566)
menuIcons04__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons04__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
menuIcons04__root.transform = CGAffineTransform(rotationAngle: 0.000)
menuIcons04__root.addSubview(menuIcons04__xScale)
menuIcons04__xScale.addSubview(menuIcons04__yScale)
menuIcons04__yScale.addSubview(menuIcons04)
__scaling__.addSubview(menuIcons04__root)
viewsByName["menu_icons-04__root"] = menuIcons04__root
viewsByName["menu_icons-04__xScale"] = menuIcons04__xScale
viewsByName["menu_icons-04__yScale"] = menuIcons04__yScale
viewsByName["menu_icons-04"] = menuIcons04
let _00012__root = _AnimationCameraPassthroughView()
let _00012__xScale = _AnimationCameraPassthroughView()
let _00012__yScale = _AnimationCameraPassthroughView()
let _00012 = UIImageView()
let img0001 = UIImage(named:"0001.png", in: bundle, compatibleWith: nil)
if img0001 == nil {
print("** Warning: Could not create image from '0001.png'")
}
_00012.image = img0001
_00012.contentMode = .center
_00012.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_00012__root.layer.position = CGPoint(x:1051.997, y:5864.522)
_00012__xScale.transform = CGAffineTransform(scaleX: 0.22, y: 1.00)
_00012__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_00012__root.transform = CGAffineTransform(rotationAngle: 0.597)
_00012__root.addSubview(_00012__xScale)
_00012__xScale.addSubview(_00012__yScale)
_00012__yScale.addSubview(_00012)
__scaling__.addSubview(_00012__root)
viewsByName["0001 2__root"] = _00012__root
viewsByName["0001 2__xScale"] = _00012__xScale
viewsByName["0001 2__yScale"] = _00012__yScale
viewsByName["0001 2"] = _00012
let _000122__root = _AnimationCameraPassthroughView()
let _000122__xScale = _AnimationCameraPassthroughView()
let _000122__yScale = _AnimationCameraPassthroughView()
let _000122 = UIImageView()
_000122.image = img0001
_000122.contentMode = .center
_000122.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000122__root.layer.position = CGPoint(x:1118.583, y:5907.454)
_000122__xScale.transform = CGAffineTransform(scaleX: 0.22, y: 1.00)
_000122__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_000122__root.transform = CGAffineTransform(rotationAngle: 0.597)
_000122__root.addSubview(_000122__xScale)
_000122__xScale.addSubview(_000122__yScale)
_000122__yScale.addSubview(_000122)
__scaling__.addSubview(_000122__root)
viewsByName["0001 2 2__root"] = _000122__root
viewsByName["0001 2 2__xScale"] = _000122__xScale
viewsByName["0001 2 2__yScale"] = _000122__yScale
viewsByName["0001 2 2"] = _000122
let _000126__root = _AnimationCameraPassthroughView()
let _000126__xScale = _AnimationCameraPassthroughView()
let _000126__yScale = _AnimationCameraPassthroughView()
let _000126 = UIImageView()
_000126.image = img0001
_000126.contentMode = .center
_000126.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000126__root.layer.position = CGPoint(x:5412.032, y:2231.239)
_000126__root.alpha = 0.00
_000126__xScale.transform = CGAffineTransform(scaleX: 0.09, y: 1.00)
_000126__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_000126__root.transform = CGAffineTransform(rotationAngle: 0.801)
_000126__root.addSubview(_000126__xScale)
_000126__xScale.addSubview(_000126__yScale)
_000126__yScale.addSubview(_000126)
__scaling__.addSubview(_000126__root)
viewsByName["0001 2 6__root"] = _000126__root
viewsByName["0001 2 6__xScale"] = _000126__xScale
viewsByName["0001 2 6__yScale"] = _000126__yScale
viewsByName["0001 2 6"] = _000126
let _000127__root = _AnimationCameraPassthroughView()
let _000127__xScale = _AnimationCameraPassthroughView()
let _000127__yScale = _AnimationCameraPassthroughView()
let _000127 = UIImageView()
_000127.image = img0001
_000127.contentMode = .center
_000127.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000127__root.layer.position = CGPoint(x:5462.032, y:2281.239)
_000127__root.alpha = 0.00
_000127__xScale.transform = CGAffineTransform(scaleX: 0.09, y: 1.00)
_000127__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_000127__root.transform = CGAffineTransform(rotationAngle: 0.801)
_000127__root.addSubview(_000127__xScale)
_000127__xScale.addSubview(_000127__yScale)
_000127__yScale.addSubview(_000127)
__scaling__.addSubview(_000127__root)
viewsByName["0001 2 7__root"] = _000127__root
viewsByName["0001 2 7__xScale"] = _000127__xScale
viewsByName["0001 2 7__yScale"] = _000127__yScale
viewsByName["0001 2 7"] = _000127
let _000125__root = _AnimationCameraPassthroughView()
let _000125__xScale = _AnimationCameraPassthroughView()
let _000125__yScale = _AnimationCameraPassthroughView()
let _000125 = UIImageView()
_000125.image = img0001
_000125.contentMode = .center
_000125.layer.anchorPoint = CGPoint(x:0.435, y:0.478)
_000125.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000125__root.layer.position = CGPoint(x:4585.755, y:2985.859)
_000125__root.alpha = 0.00
_000125__xScale.transform = CGAffineTransform(scaleX: -0.17, y: 1.00)
_000125__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.89)
_000125__root.transform = CGAffineTransform(rotationAngle: 0.801)
_000125__root.addSubview(_000125__xScale)
_000125__xScale.addSubview(_000125__yScale)
_000125__yScale.addSubview(_000125)
__scaling__.addSubview(_000125__root)
viewsByName["0001 2 5__root"] = _000125__root
viewsByName["0001 2 5__xScale"] = _000125__xScale
viewsByName["0001 2 5__yScale"] = _000125__yScale
viewsByName["0001 2 5"] = _000125
let _000123__root = _AnimationCameraPassthroughView()
let _000123__xScale = _AnimationCameraPassthroughView()
let _000123__yScale = _AnimationCameraPassthroughView()
let _000123 = UIImageView()
_000123.image = img0001
_000123.contentMode = .center
_000123.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000123__root.layer.position = CGPoint(x:3718.641, y:3781.864)
_000123__root.alpha = 0.00
_000123__xScale.transform = CGAffineTransform(scaleX: 0.09, y: 1.00)
_000123__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_000123__root.transform = CGAffineTransform(rotationAngle: 0.801)
_000123__root.addSubview(_000123__xScale)
_000123__xScale.addSubview(_000123__yScale)
_000123__yScale.addSubview(_000123)
__scaling__.addSubview(_000123__root)
viewsByName["0001 2 3__root"] = _000123__root
viewsByName["0001 2 3__xScale"] = _000123__xScale
viewsByName["0001 2 3__yScale"] = _000123__yScale
viewsByName["0001 2 3"] = _000123
let _000124__root = _AnimationCameraPassthroughView()
let _000124__xScale = _AnimationCameraPassthroughView()
let _000124__yScale = _AnimationCameraPassthroughView()
let _000124 = UIImageView()
_000124.image = img0001
_000124.contentMode = .center
_000124.layer.anchorPoint = CGPoint(x:1.436, y:0.485)
_000124.bounds = CGRect(x:0, y:0, width:420.0, height:420.0)
_000124__root.layer.position = CGPoint(x:3791.453, y:3844.922)
_000124__root.alpha = 0.00
_000124__xScale.transform = CGAffineTransform(scaleX: 0.09, y: 1.00)
_000124__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 0.93)
_000124__root.transform = CGAffineTransform(rotationAngle: 0.801)
_000124__root.addSubview(_000124__xScale)
_000124__xScale.addSubview(_000124__yScale)
_000124__yScale.addSubview(_000124)
__scaling__.addSubview(_000124__root)
viewsByName["0001 2 4__root"] = _000124__root
viewsByName["0001 2 4__xScale"] = _000124__xScale
viewsByName["0001 2 4__yScale"] = _000124__yScale
viewsByName["0001 2 4"] = _000124
let untitled2__root = _AnimationCameraPassthroughView()
let untitled2__xScale = _AnimationCameraPassthroughView()
let untitled2__yScale = _AnimationCameraPassthroughView()
let untitled2 = UIImageView()
let imgUntitled2 = UIImage(named:"Untitled-2.png", in: bundle, compatibleWith: nil)
if imgUntitled2 == nil {
print("** Warning: Could not create image from 'Untitled-2.png'")
}
untitled2.image = imgUntitled2
untitled2.contentMode = .center
untitled2.layer.anchorPoint = CGPoint(x:0.469, y:0.687)
untitled2.bounds = CGRect(x:0, y:0, width:110.0, height:36.0)
untitled2__root.layer.position = CGPoint(x:2076.042, y:4996.623)
untitled2__xScale.transform = CGAffineTransform(scaleX: 3.61, y: 1.00)
untitled2__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.89)
untitled2__root.transform = CGAffineTransform(rotationAngle: 4.745)
untitled2__root.addSubview(untitled2__xScale)
untitled2__xScale.addSubview(untitled2__yScale)
untitled2__yScale.addSubview(untitled2)
__scaling__.addSubview(untitled2__root)
viewsByName["Untitled-2__root"] = untitled2__root
viewsByName["Untitled-2__xScale"] = untitled2__xScale
viewsByName["Untitled-2__yScale"] = untitled2__yScale
viewsByName["Untitled-2"] = untitled2
let untitled22__root = _AnimationCameraPassthroughView()
let untitled22__xScale = _AnimationCameraPassthroughView()
let untitled22__yScale = _AnimationCameraPassthroughView()
let untitled22 = UIImageView()
untitled22.image = imgUntitled2
untitled22.contentMode = .center
untitled22.layer.anchorPoint = CGPoint(x:0.469, y:0.687)
untitled22.bounds = CGRect(x:0, y:0, width:110.0, height:36.0)
untitled22__root.layer.position = CGPoint(x:1604.432, y:4667.357)
untitled22__xScale.transform = CGAffineTransform(scaleX: 3.61, y: 1.00)
untitled22__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.89)
untitled22__root.transform = CGAffineTransform(rotationAngle: 2.735)
untitled22__root.addSubview(untitled22__xScale)
untitled22__xScale.addSubview(untitled22__yScale)
untitled22__yScale.addSubview(untitled22)
__scaling__.addSubview(untitled22__root)
viewsByName["Untitled-2 2__root"] = untitled22__root
viewsByName["Untitled-2 2__xScale"] = untitled22__xScale
viewsByName["Untitled-2 2__yScale"] = untitled22__yScale
viewsByName["Untitled-2 2"] = untitled22
let camera1__root = _AnimationCameraPassthroughView()
let camera1__xScale = _AnimationCameraPassthroughView()
let camera1__yScale = _AnimationCameraPassthroughView()
let camera1 = UIImageView()
let imgCamera1 = UIImage(named:"camera_1.jpeg", in: bundle, compatibleWith: nil)
if imgCamera1 == nil {
print("** Warning: Could not create image from 'camera_1.jpeg'")
}
camera1.image = imgCamera1
camera1.contentMode = .center
camera1.bounds = CGRect(x:0, y:0, width:760.0, height:568.0)
camera1__root.layer.position = CGPoint(x:4576.689, y:3783.900)
camera1__root.alpha = 0.58
camera1__xScale.transform = CGAffineTransform(scaleX: 11.14, y: 1.00)
camera1__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 11.14)
camera1__root.transform = CGAffineTransform(rotationAngle: 0.000)
camera1__root.addSubview(camera1__xScale)
camera1__xScale.addSubview(camera1__yScale)
camera1__yScale.addSubview(camera1)
__scaling__.addSubview(camera1__root)
viewsByName["camera_1__root"] = camera1__root
viewsByName["camera_1__xScale"] = camera1__xScale
viewsByName["camera_1__yScale"] = camera1__yScale
viewsByName["camera_1"] = camera1
let homeArrows01__root = _AnimationCameraPassthroughView()
let homeArrows01__xScale = _AnimationCameraPassthroughView()
let homeArrows01__yScale = _AnimationCameraPassthroughView()
let homeArrows01 = UIImageView()
let imgHomeArrows01 = UIImage(named:"Home_Arrows-01.png", in: bundle, compatibleWith: nil)
if imgHomeArrows01 == nil {
print("** Warning: Could not create image from 'Home_Arrows-01.png'")
}
homeArrows01.image = imgHomeArrows01
homeArrows01.contentMode = .center
homeArrows01.bounds = CGRect(x:0, y:0, width:946.0, height:946.0)
homeArrows01__root.layer.position = CGPoint(x:2834.609, y:3084.327)
homeArrows01__root.alpha = 0.00
homeArrows01__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows01__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows01__root.transform = CGAffineTransform(rotationAngle: 0.000)
homeArrows01__root.addSubview(homeArrows01__xScale)
homeArrows01__xScale.addSubview(homeArrows01__yScale)
homeArrows01__yScale.addSubview(homeArrows01)
__scaling__.addSubview(homeArrows01__root)
viewsByName["Home_Arrows-01__root"] = homeArrows01__root
viewsByName["Home_Arrows-01__xScale"] = homeArrows01__xScale
viewsByName["Home_Arrows-01__yScale"] = homeArrows01__yScale
viewsByName["Home_Arrows-01"] = homeArrows01
let homeArrows05__root = _AnimationCameraPassthroughView()
let homeArrows05__xScale = _AnimationCameraPassthroughView()
let homeArrows05__yScale = _AnimationCameraPassthroughView()
let homeArrows05 = UIImageView()
let imgHomeArrows05 = UIImage(named:"Home_Arrows-05.png", in: bundle, compatibleWith: nil)
if imgHomeArrows05 == nil {
print("** Warning: Could not create image from 'Home_Arrows-05.png'")
}
homeArrows05.image = imgHomeArrows05
homeArrows05.contentMode = .center
homeArrows05.bounds = CGRect(x:0, y:0, width:946.0, height:946.0)
homeArrows05__root.layer.position = CGPoint(x:4471.406, y:4874.473)
homeArrows05__root.alpha = 0.00
homeArrows05__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows05__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows05__root.transform = CGAffineTransform(rotationAngle: 0.000)
homeArrows05__root.addSubview(homeArrows05__xScale)
homeArrows05__xScale.addSubview(homeArrows05__yScale)
homeArrows05__yScale.addSubview(homeArrows05)
__scaling__.addSubview(homeArrows05__root)
viewsByName["Home_Arrows-05__root"] = homeArrows05__root
viewsByName["Home_Arrows-05__xScale"] = homeArrows05__xScale
viewsByName["Home_Arrows-05__yScale"] = homeArrows05__yScale
viewsByName["Home_Arrows-05"] = homeArrows05
let homeIcon__root = _AnimationCameraPassthroughView()
let homeIcon__xScale = _AnimationCameraPassthroughView()
let homeIcon__yScale = _AnimationCameraPassthroughView()
let homeIcon = UIImageView()
let imgHomeIcon = UIImage(named:"home_icon.png", in: bundle, compatibleWith: nil)
if imgHomeIcon == nil {
print("** Warning: Could not create image from 'home_icon.png'")
}
homeIcon.image = imgHomeIcon
homeIcon.contentMode = .center
homeIcon.bounds = CGRect(x:0, y:0, width:545.0, height:545.0)
homeIcon__root.layer.position = CGPoint(x:776.380, y:1145.749)
homeIcon__root.alpha = 0.00
homeIcon__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeIcon__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeIcon__root.transform = CGAffineTransform(rotationAngle: 0.000)
homeIcon__root.addSubview(homeIcon__xScale)
homeIcon__xScale.addSubview(homeIcon__yScale)
homeIcon__yScale.addSubview(homeIcon)
__scaling__.addSubview(homeIcon__root)
viewsByName["home_icon__root"] = homeIcon__root
viewsByName["home_icon__xScale"] = homeIcon__xScale
viewsByName["home_icon__yScale"] = homeIcon__yScale
viewsByName["home_icon"] = homeIcon
let homeArrows04__root = _AnimationCameraPassthroughView()
let homeArrows04__xScale = _AnimationCameraPassthroughView()
let homeArrows04__yScale = _AnimationCameraPassthroughView()
let homeArrows04 = UIImageView()
let imgHomeArrows04 = UIImage(named:"Home_Arrows-04.png", in: bundle, compatibleWith: nil)
if imgHomeArrows04 == nil {
print("** Warning: Could not create image from 'Home_Arrows-04.png'")
}
homeArrows04.image = imgHomeArrows04
homeArrows04.contentMode = .center
homeArrows04.bounds = CGRect(x:0, y:0, width:946.0, height:946.0)
homeArrows04__root.layer.position = CGPoint(x:4471.406, y:1400.718)
homeArrows04__root.alpha = 0.00
homeArrows04__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows04__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows04__root.transform = CGAffineTransform(rotationAngle: 0.000)
homeArrows04__root.addSubview(homeArrows04__xScale)
homeArrows04__xScale.addSubview(homeArrows04__yScale)
homeArrows04__yScale.addSubview(homeArrows04)
__scaling__.addSubview(homeArrows04__root)
viewsByName["Home_Arrows-04__root"] = homeArrows04__root
viewsByName["Home_Arrows-04__xScale"] = homeArrows04__xScale
viewsByName["Home_Arrows-04__yScale"] = homeArrows04__yScale
viewsByName["Home_Arrows-04"] = homeArrows04
let homeArrows03__root = _AnimationCameraPassthroughView()
let homeArrows03__xScale = _AnimationCameraPassthroughView()
let homeArrows03__yScale = _AnimationCameraPassthroughView()
let homeArrows03 = UIImageView()
let imgHomeArrows03 = UIImage(named:"Home_Arrows-03.png", in: bundle, compatibleWith: nil)
if imgHomeArrows03 == nil {
print("** Warning: Could not create image from 'Home_Arrows-03.png'")
}
homeArrows03.image = imgHomeArrows03
homeArrows03.contentMode = .center
homeArrows03.bounds = CGRect(x:0, y:0, width:946.0, height:946.0)
homeArrows03__root.layer.position = CGPoint(x:6069.422, y:3124.327)
homeArrows03__root.alpha = 0.00
homeArrows03__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows03__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
homeArrows03__root.transform = CGAffineTransform(rotationAngle: 0.000)
homeArrows03__root.addSubview(homeArrows03__xScale)
homeArrows03__xScale.addSubview(homeArrows03__yScale)
homeArrows03__yScale.addSubview(homeArrows03)
__scaling__.addSubview(homeArrows03__root)
viewsByName["Home_Arrows-03__root"] = homeArrows03__root
viewsByName["Home_Arrows-03__xScale"] = homeArrows03__xScale
viewsByName["Home_Arrows-03__yScale"] = homeArrows03__yScale
viewsByName["Home_Arrows-03"] = homeArrows03
let cameraPlus__root = _AnimationCameraPassthroughView()
let cameraPlus__xScale = _AnimationCameraPassthroughView()
let cameraPlus__yScale = _AnimationCameraPassthroughView()
let cameraPlus = UIImageView()
let imgCameraPlus = UIImage(named:"Camera_plus.png", in: bundle, compatibleWith: nil)
if imgCameraPlus == nil {
print("** Warning: Could not create image from 'Camera_plus.png'")
}
cameraPlus.image = imgCameraPlus
cameraPlus.contentMode = .center
cameraPlus.bounds = CGRect(x:0, y:0, width:470.0, height:638.0)
cameraPlus__root.layer.position = CGPoint(x:7555.816, y:1780.656)
cameraPlus__root.alpha = 0.00
cameraPlus__xScale.transform = CGAffineTransform(scaleX: 1.95, y: 1.00)
cameraPlus__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.95)
cameraPlus__root.transform = CGAffineTransform(rotationAngle: 0.000)
cameraPlus__root.addSubview(cameraPlus__xScale)
cameraPlus__xScale.addSubview(cameraPlus__yScale)
cameraPlus__yScale.addSubview(cameraPlus)
__scaling__.addSubview(cameraPlus__root)
viewsByName["Camera_plus__root"] = cameraPlus__root
viewsByName["Camera_plus__xScale"] = cameraPlus__xScale
viewsByName["Camera_plus__yScale"] = cameraPlus__yScale
viewsByName["Camera_plus"] = cameraPlus
let cameraMinus__root = _AnimationCameraPassthroughView()
let cameraMinus__xScale = _AnimationCameraPassthroughView()
let cameraMinus__yScale = _AnimationCameraPassthroughView()
let cameraMinus = UIImageView()
let imgCameraMinus = UIImage(named:"Camera_minus.png", in: bundle, compatibleWith: nil)
if imgCameraMinus == nil {
print("** Warning: Could not create image from 'Camera_minus.png'")
}
cameraMinus.image = imgCameraMinus
cameraMinus.contentMode = .center
cameraMinus.bounds = CGRect(x:0, y:0, width:470.0, height:638.0)
cameraMinus__root.layer.position = CGPoint(x:7565.122, y:3742.016)
cameraMinus__root.alpha = 0.00
cameraMinus__xScale.transform = CGAffineTransform(scaleX: 1.99, y: 1.00)
cameraMinus__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.99)
cameraMinus__root.transform = CGAffineTransform(rotationAngle: 0.000)
cameraMinus__root.addSubview(cameraMinus__xScale)
cameraMinus__xScale.addSubview(cameraMinus__yScale)
cameraMinus__yScale.addSubview(cameraMinus)
__scaling__.addSubview(cameraMinus__root)
viewsByName["Camera_minus__root"] = cameraMinus__root
viewsByName["Camera_minus__xScale"] = cameraMinus__xScale
viewsByName["Camera_minus__yScale"] = cameraMinus__yScale
viewsByName["Camera_minus"] = cameraMinus
let zoom__root = _AnimationCameraPassthroughView()
let zoom__xScale = _AnimationCameraPassthroughView()
let zoom__yScale = _AnimationCameraPassthroughView()
let zoom = UIImageView()
let imgZoom = UIImage(named:"zoom.png", in: bundle, compatibleWith: nil)
if imgZoom == nil {
print("** Warning: Could not create image from 'zoom.png'")
}
zoom.image = imgZoom
zoom.contentMode = .center
zoom.bounds = CGRect(x:0, y:0, width:225.0, height:77.0)
zoom__root.layer.position = CGPoint(x:7561.963, y:2773.815)
zoom__root.alpha = 0.00
zoom__xScale.transform = CGAffineTransform(scaleX: 3.35, y: 1.00)
zoom__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 3.35)
zoom__root.transform = CGAffineTransform(rotationAngle: 0.000)
zoom__root.addSubview(zoom__xScale)
zoom__xScale.addSubview(zoom__yScale)
zoom__yScale.addSubview(zoom)
__scaling__.addSubview(zoom__root)
viewsByName["zoom__root"] = zoom__root
viewsByName["zoom__xScale"] = zoom__xScale
viewsByName["zoom__yScale"] = zoom__yScale
viewsByName["zoom"] = zoom
let info__root = _AnimationCameraPassthroughView()
let info__xScale = _AnimationCameraPassthroughView()
let info__yScale = _AnimationCameraPassthroughView()
let info = UIImageView()
let imgInfo = UIImage(named:"info.png", in: bundle, compatibleWith: nil)
if imgInfo == nil {
print("** Warning: Could not create image from 'info.png'")
}
info.image = imgInfo
info.contentMode = .center
info.bounds = CGRect(x:0, y:0, width:552.0, height:552.0)
info__root.layer.position = CGPoint(x:8349.140, y:1036.061)
info__root.alpha = 0.00
info__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
info__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
info__root.transform = CGAffineTransform(rotationAngle: 0.000)
info__root.addSubview(info__xScale)
info__xScale.addSubview(info__yScale)
info__yScale.addSubview(info)
__scaling__.addSubview(info__root)
viewsByName["info__root"] = info__root
viewsByName["info__xScale"] = info__xScale
viewsByName["info__yScale"] = info__yScale
viewsByName["info"] = info
let numpad__root = _AnimationCameraPassthroughView()
let numpad__xScale = _AnimationCameraPassthroughView()
let numpad__yScale = _AnimationCameraPassthroughView()
let numpad = UIImageView()
let imgNumpad = UIImage(named:"numpad.png", in: bundle, compatibleWith: nil)
if imgNumpad == nil {
print("** Warning: Could not create image from 'numpad.png'")
}
numpad.image = imgNumpad
numpad.contentMode = .center
numpad.bounds = CGRect(x:0, y:0, width:637.0, height:845.0)
numpad__root.layer.position = CGPoint(x:8234.648, y:5417.741)
numpad__root.alpha = 0.00
numpad__xScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
numpad__yScale.transform = CGAffineTransform(scaleX: 1.00, y: 1.00)
numpad__root.transform = CGAffineTransform(rotationAngle: 0.000)
numpad__root.addSubview(numpad__xScale)
numpad__xScale.addSubview(numpad__yScale)
numpad__yScale.addSubview(numpad)
__scaling__.addSubview(numpad__root)
viewsByName["numpad__root"] = numpad__root
viewsByName["numpad__xScale"] = numpad__xScale
viewsByName["numpad__yScale"] = numpad__yScale
viewsByName["numpad"] = numpad
self.viewsByName = viewsByName
}
// - MARK: Camera Animation
func addCameraAnimation() {
addCameraAnimation(beginTime: 0, fillMode: kCAFillModeBoth, removedOnCompletion: false, completion: nil)
}
func addCameraAnimation(completion: ((Bool) -> Void)?) {
addCameraAnimation(beginTime: 0, fillMode: kCAFillModeBoth, removedOnCompletion: false, completion: completion)
}
func addCameraAnimation(removedOnCompletion: Bool) {
addCameraAnimation(beginTime: 0, fillMode: removedOnCompletion ? kCAFillModeRemoved : kCAFillModeBoth, removedOnCompletion: removedOnCompletion, completion: nil)
}
func addCameraAnimation(removedOnCompletion: Bool, completion: ((Bool) -> Void)?) {
addCameraAnimation(beginTime: 0, fillMode: removedOnCompletion ? kCAFillModeRemoved : kCAFillModeBoth, removedOnCompletion: removedOnCompletion, completion: completion)
}
func addCameraAnimation(beginTime: CFTimeInterval, fillMode: String, removedOnCompletion: Bool, completion: ((Bool) -> Void)?) {
let linearTiming = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear)
let instantTiming = CAMediaTimingFunction(name: kCAMediaTimingFunctionDefault)
let easeOutTiming = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut)
if let complete = completion {
let representativeAnimation = CABasicAnimation(keyPath: "not.a.real.key")
representativeAnimation.duration = 2.150
representativeAnimation.delegate = self
self.layer.add(representativeAnimation, forKey: "CameraAnimation")
self.animationCompletions[layer.animation(forKey: "CameraAnimation")!] = complete
}
let _000124RotationAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z")
_000124RotationAnimation.duration = 2.150
_000124RotationAnimation.values = [0.801, 0.801, 0.897, 0.897, 0.897] as [Float]
_000124RotationAnimation.keyTimes = [0.000, 0.512, 0.547, 0.826, 1.000] as [NSNumber]
_000124RotationAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming]
_000124RotationAnimation.beginTime = beginTime
_000124RotationAnimation.fillMode = fillMode
_000124RotationAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 4__root"]?.layer.add(_000124RotationAnimation, forKey:"Camera Animation_Rotation")
let _000124OpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
_000124OpacityAnimation.duration = 2.150
_000124OpacityAnimation.values = [0.000, 0.000, 1.000, 1.000, 0.000, 0.000, 1.000, 1.000, 1.000] as [Float]
_000124OpacityAnimation.keyTimes = [0.000, 0.511, 0.512, 0.593, 0.593, 0.709, 0.709, 0.826, 1.000] as [NSNumber]
_000124OpacityAnimation.timingFunctions = [instantTiming, instantTiming, instantTiming, instantTiming, instantTiming, instantTiming, linearTiming, linearTiming]
_000124OpacityAnimation.beginTime = beginTime
_000124OpacityAnimation.fillMode = fillMode
_000124OpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 4__root"]?.layer.add(_000124OpacityAnimation, forKey:"Camera Animation_Opacity")
let _000124ScaleXAnimation = CAKeyframeAnimation(keyPath: "transform.scale.x")
_000124ScaleXAnimation.duration = 2.150
_000124ScaleXAnimation.values = [0.091, 0.091, 0.745, 0.006, -0.109, -0.477, -0.016, -0.016] as [Float]
_000124ScaleXAnimation.keyTimes = [0.000, 0.512, 0.547, 0.593, 0.709, 0.756, 0.826, 1.000] as [NSNumber]
_000124ScaleXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_000124ScaleXAnimation.beginTime = beginTime
_000124ScaleXAnimation.fillMode = fillMode
_000124ScaleXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 4__xScale"]?.layer.add(_000124ScaleXAnimation, forKey:"Camera Animation_ScaleX")
let _000124TranslationXAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
_000124TranslationXAnimation.duration = 2.150
_000124TranslationXAnimation.values = [0.000, 0.000, 531.013, 446.529, 3023.814, 3224.388, 3398.451, 3398.451] as [Float]
_000124TranslationXAnimation.keyTimes = [0.000, 0.512, 0.547, 0.593, 0.709, 0.756, 0.826, 1.000] as [NSNumber]
_000124TranslationXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_000124TranslationXAnimation.beginTime = beginTime
_000124TranslationXAnimation.fillMode = fillMode
_000124TranslationXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 4__root"]?.layer.add(_000124TranslationXAnimation, forKey:"Camera Animation_TranslationX")
let _000124TranslationYAnimation = CAKeyframeAnimation(keyPath: "transform.translation.y")
_000124TranslationYAnimation.duration = 2.150
_000124TranslationYAnimation.values = [0.000, 0.000, 684.258, 578.474, -2874.650, -2647.407, -2430.518, -2430.518] as [Float]
_000124TranslationYAnimation.keyTimes = [0.000, 0.512, 0.547, 0.593, 0.709, 0.756, 0.826, 1.000] as [NSNumber]
_000124TranslationYAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_000124TranslationYAnimation.beginTime = beginTime
_000124TranslationYAnimation.fillMode = fillMode
_000124TranslationYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 4__root"]?.layer.add(_000124TranslationYAnimation, forKey:"Camera Animation_TranslationY")
let homeArrows03OpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
homeArrows03OpacityAnimation.duration = 2.150
homeArrows03OpacityAnimation.values = [0.000, 0.000, 1.000, 1.000, 1.000] as [Float]
homeArrows03OpacityAnimation.keyTimes = [0.000, 0.674, 0.744, 0.837, 1.000] as [NSNumber]
homeArrows03OpacityAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming]
homeArrows03OpacityAnimation.beginTime = beginTime
homeArrows03OpacityAnimation.fillMode = fillMode
homeArrows03OpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["Home_Arrows-03__root"]?.layer.add(homeArrows03OpacityAnimation, forKey:"Camera Animation_Opacity")
let menuIcons011ScaleXAnimation = CAKeyframeAnimation(keyPath: "transform.scale.x")
menuIcons011ScaleXAnimation.duration = 2.150
menuIcons011ScaleXAnimation.values = [0.962, 0.809, 0.809] as [Float]
menuIcons011ScaleXAnimation.keyTimes = [0.000, 0.163, 1.000] as [NSNumber]
menuIcons011ScaleXAnimation.timingFunctions = [linearTiming, linearTiming]
menuIcons011ScaleXAnimation.beginTime = beginTime
menuIcons011ScaleXAnimation.fillMode = fillMode
menuIcons011ScaleXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-01_1__xScale"]?.layer.add(menuIcons011ScaleXAnimation, forKey:"Camera Animation_ScaleX")
let menuIcons011ScaleYAnimation = CAKeyframeAnimation(keyPath: "transform.scale.y")
menuIcons011ScaleYAnimation.duration = 2.150
menuIcons011ScaleYAnimation.values = [0.961, 0.804, 0.804] as [Float]
menuIcons011ScaleYAnimation.keyTimes = [0.000, 0.163, 1.000] as [NSNumber]
menuIcons011ScaleYAnimation.timingFunctions = [linearTiming, linearTiming]
menuIcons011ScaleYAnimation.beginTime = beginTime
menuIcons011ScaleYAnimation.fillMode = fillMode
menuIcons011ScaleYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-01_1__yScale"]?.layer.add(menuIcons011ScaleYAnimation, forKey:"Camera Animation_ScaleY")
let menuIcons011TranslationXAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
menuIcons011TranslationXAnimation.duration = 2.150
menuIcons011TranslationXAnimation.values = [3.055, -234.360, -234.360] as [Float]
menuIcons011TranslationXAnimation.keyTimes = [0.000, 0.163, 1.000] as [NSNumber]
menuIcons011TranslationXAnimation.timingFunctions = [linearTiming, linearTiming]
menuIcons011TranslationXAnimation.beginTime = beginTime
menuIcons011TranslationXAnimation.fillMode = fillMode
menuIcons011TranslationXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-01_1__root"]?.layer.add(menuIcons011TranslationXAnimation, forKey:"Camera Animation_TranslationX")
let menuIcons011TranslationYAnimation = CAKeyframeAnimation(keyPath: "transform.translation.y")
menuIcons011TranslationYAnimation.duration = 2.150
menuIcons011TranslationYAnimation.values = [-2.948, 951.095, 951.095] as [Float]
menuIcons011TranslationYAnimation.keyTimes = [0.000, 0.163, 1.000] as [NSNumber]
menuIcons011TranslationYAnimation.timingFunctions = [linearTiming, linearTiming]
menuIcons011TranslationYAnimation.beginTime = beginTime
menuIcons011TranslationYAnimation.fillMode = fillMode
menuIcons011TranslationYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-01_1__root"]?.layer.add(menuIcons011TranslationYAnimation, forKey:"Camera Animation_TranslationY")
let _00012RotationAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z")
_00012RotationAnimation.duration = 2.150
_00012RotationAnimation.values = [0.597, 0.597, -1.026, -1.026, 0.663, 0.744, 0.744, -0.717, -0.717] as [Float]
_00012RotationAnimation.keyTimes = [0.000, 0.104, 0.105, 0.325, 0.326, 0.372, 0.407, 0.407, 1.000] as [NSNumber]
_00012RotationAnimation.timingFunctions = [instantTiming, instantTiming, instantTiming, instantTiming, linearTiming, instantTiming, instantTiming, linearTiming]
_00012RotationAnimation.beginTime = beginTime
_00012RotationAnimation.fillMode = fillMode
_00012RotationAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2__root"]?.layer.add(_00012RotationAnimation, forKey:"Camera Animation_Rotation")
let _00012OpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
_00012OpacityAnimation.duration = 2.150
_00012OpacityAnimation.values = [1.000, 1.000, 0.000, 0.000, 1.000, 1.000, 0.000, 0.000] as [Float]
_00012OpacityAnimation.keyTimes = [0.000, 0.197, 0.198, 0.256, 0.256, 0.767, 0.767, 1.000] as [NSNumber]
_00012OpacityAnimation.timingFunctions = [instantTiming, instantTiming, instantTiming, instantTiming, instantTiming, instantTiming, linearTiming]
_00012OpacityAnimation.beginTime = beginTime
_00012OpacityAnimation.fillMode = fillMode
_00012OpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2__root"]?.layer.add(_00012OpacityAnimation, forKey:"Camera Animation_Opacity")
let _00012ScaleXAnimation = CAKeyframeAnimation(keyPath: "transform.scale.x")
_00012ScaleXAnimation.duration = 2.150
_00012ScaleXAnimation.values = [0.224, 0.224, 0.115, 0.012, 0.206, 0.534, 0.128, 0.295, 0.026, 0.347, 0.023, 1.806, 2.874, 0.046, 0.046] as [Float]
_00012ScaleXAnimation.keyTimes = [0.000, 0.081, 0.081, 0.105, 0.151, 0.198, 0.256, 0.291, 0.326, 0.372, 0.407, 0.465, 0.570, 0.756, 1.000] as [NSNumber]
_00012ScaleXAnimation.timingFunctions = [instantTiming, instantTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_00012ScaleXAnimation.beginTime = beginTime
_00012ScaleXAnimation.fillMode = fillMode
_00012ScaleXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2__xScale"]?.layer.add(_00012ScaleXAnimation, forKey:"Camera Animation_ScaleX")
let _00012TranslationXAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
_00012TranslationXAnimation.duration = 2.150
_00012TranslationXAnimation.values = [155.641, -57.180, -90.872, -69.768, 96.184, 335.294, 918.683, 983.424, 1012.670, 1394.708, 1444.707, 1724.806, 3541.615, 5833.829, 6112.456, 6112.456] as [Float]
_00012TranslationXAnimation.keyTimes = [0.000, 0.047, 0.081, 0.105, 0.151, 0.198, 0.256, 0.291, 0.326, 0.372, 0.407, 0.465, 0.570, 0.721, 0.756, 1.000] as [NSNumber]
_00012TranslationXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_00012TranslationXAnimation.beginTime = beginTime
_00012TranslationXAnimation.fillMode = fillMode
_00012TranslationXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2__root"]?.layer.add(_00012TranslationXAnimation, forKey:"Camera Animation_TranslationX")
let _00012TranslationYAnimation = CAKeyframeAnimation(keyPath: "transform.translation.y")
_00012TranslationYAnimation.duration = 2.150
_00012TranslationYAnimation.values = [114.695, -32.344, -61.284, -96.147, -578.168, -995.278, -1158.547, -1244.859, -1293.171, -966.870, -920.829, -1175.819, -2855.192, -4944.686, -5187.479, -5187.479] as [Float]
_00012TranslationYAnimation.keyTimes = [0.000, 0.047, 0.081, 0.105, 0.151, 0.198, 0.256, 0.291, 0.326, 0.372, 0.407, 0.465, 0.570, 0.721, 0.756, 1.000] as [NSNumber]
_00012TranslationYAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming, linearTiming]
_00012TranslationYAnimation.beginTime = beginTime
_00012TranslationYAnimation.fillMode = fillMode
_00012TranslationYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2__root"]?.layer.add(_00012TranslationYAnimation, forKey:"Camera Animation_TranslationY")
let infoOpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
infoOpacityAnimation.duration = 2.150
infoOpacityAnimation.values = [0.000, 0.000, 1.000, 1.000] as [Float]
infoOpacityAnimation.keyTimes = [0.000, 0.767, 0.814, 1.000] as [NSNumber]
infoOpacityAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
infoOpacityAnimation.beginTime = beginTime
infoOpacityAnimation.fillMode = fillMode
infoOpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["info__root"]?.layer.add(infoOpacityAnimation, forKey:"Camera Animation_Opacity")
let menuIcons03ScaleXAnimation = CAKeyframeAnimation(keyPath: "transform.scale.x")
menuIcons03ScaleXAnimation.duration = 2.150
menuIcons03ScaleXAnimation.values = [1.000, 1.000, 0.800, 0.800] as [Float]
menuIcons03ScaleXAnimation.keyTimes = [0.000, 0.163, 0.326, 1.000] as [NSNumber]
menuIcons03ScaleXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
menuIcons03ScaleXAnimation.beginTime = beginTime
menuIcons03ScaleXAnimation.fillMode = fillMode
menuIcons03ScaleXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-03__xScale"]?.layer.add(menuIcons03ScaleXAnimation, forKey:"Camera Animation_ScaleX")
let menuIcons03ScaleYAnimation = CAKeyframeAnimation(keyPath: "transform.scale.y")
menuIcons03ScaleYAnimation.duration = 2.150
menuIcons03ScaleYAnimation.values = [1.000, 1.000, 0.800, 0.800] as [Float]
menuIcons03ScaleYAnimation.keyTimes = [0.000, 0.163, 0.326, 1.000] as [NSNumber]
menuIcons03ScaleYAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
menuIcons03ScaleYAnimation.beginTime = beginTime
menuIcons03ScaleYAnimation.fillMode = fillMode
menuIcons03ScaleYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-03__yScale"]?.layer.add(menuIcons03ScaleYAnimation, forKey:"Camera Animation_ScaleY")
let menuIcons03TranslationXAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
menuIcons03TranslationXAnimation.duration = 2.150
menuIcons03TranslationXAnimation.values = [0.000, 0.000, -702.993, -702.993] as [Float]
menuIcons03TranslationXAnimation.keyTimes = [0.000, 0.163, 0.326, 1.000] as [NSNumber]
menuIcons03TranslationXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
menuIcons03TranslationXAnimation.beginTime = beginTime
menuIcons03TranslationXAnimation.fillMode = fillMode
menuIcons03TranslationXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-03__root"]?.layer.add(menuIcons03TranslationXAnimation, forKey:"Camera Animation_TranslationX")
let menuIcons03TranslationYAnimation = CAKeyframeAnimation(keyPath: "transform.translation.y")
menuIcons03TranslationYAnimation.duration = 2.150
menuIcons03TranslationYAnimation.values = [0.000, 0.000, 507.814, 507.814] as [Float]
menuIcons03TranslationYAnimation.keyTimes = [0.000, 0.163, 0.326, 1.000] as [NSNumber]
menuIcons03TranslationYAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
menuIcons03TranslationYAnimation.beginTime = beginTime
menuIcons03TranslationYAnimation.fillMode = fillMode
menuIcons03TranslationYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["menu_icons-03__root"]?.layer.add(menuIcons03TranslationYAnimation, forKey:"Camera Animation_TranslationY")
let camera1OpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
camera1OpacityAnimation.duration = 2.150
camera1OpacityAnimation.values = [0.000, 0.000] as [Float]
camera1OpacityAnimation.keyTimes = [0.000, 1.000] as [NSNumber]
camera1OpacityAnimation.timingFunctions = [linearTiming]
camera1OpacityAnimation.beginTime = beginTime
camera1OpacityAnimation.fillMode = fillMode
camera1OpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["camera_1__root"]?.layer.add(camera1OpacityAnimation, forKey:"Camera Animation_Opacity")
let _000122RotationAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z")
_000122RotationAnimation.duration = 2.150
_000122RotationAnimation.values = [-0.815, -0.815, -0.815] as [Float]
_000122RotationAnimation.keyTimes = [0.000, 0.512, 1.000] as [NSNumber]
_000122RotationAnimation.timingFunctions = [linearTiming, linearTiming]
_000122RotationAnimation.beginTime = beginTime
_000122RotationAnimation.fillMode = fillMode
_000122RotationAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 2__root"]?.layer.add(_000122RotationAnimation, forKey:"Camera Animation_Rotation")
let _000122OpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
_000122OpacityAnimation.duration = 2.150
_000122OpacityAnimation.values = [1.000, 1.000, 0.000, 0.000, 0.000] as [Float]
_000122OpacityAnimation.keyTimes = [0.000, 0.197, 0.198, 0.512, 1.000] as [NSNumber]
_000122OpacityAnimation.timingFunctions = [instantTiming, instantTiming, linearTiming, linearTiming]
_000122OpacityAnimation.beginTime = beginTime
_000122OpacityAnimation.fillMode = fillMode
_000122OpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 2__root"]?.layer.add(_000122OpacityAnimation, forKey:"Camera Animation_Opacity")
let _000122ScaleXAnimation = CAKeyframeAnimation(keyPath: "transform.scale.x")
_000122ScaleXAnimation.duration = 2.150
_000122ScaleXAnimation.values = [0.224, 0.440, 0.440, 0.440] as [Float]
_000122ScaleXAnimation.keyTimes = [0.000, 0.198, 0.465, 1.000] as [NSNumber]
_000122ScaleXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming]
_000122ScaleXAnimation.beginTime = beginTime
_000122ScaleXAnimation.fillMode = fillMode
_000122ScaleXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 2__xScale"]?.layer.add(_000122ScaleXAnimation, forKey:"Camera Animation_ScaleX")
let _000122TranslationXAnimation = CAKeyframeAnimation(keyPath: "transform.translation.x")
_000122TranslationXAnimation.duration = 2.150
_000122TranslationXAnimation.values = [148.203, 374.453, 871.774, 871.774, 871.774] as [Float]
_000122TranslationXAnimation.keyTimes = [0.000, 0.105, 0.198, 0.465, 1.000] as [NSNumber]
_000122TranslationXAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming]
_000122TranslationXAnimation.beginTime = beginTime
_000122TranslationXAnimation.fillMode = fillMode
_000122TranslationXAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 2__root"]?.layer.add(_000122TranslationXAnimation, forKey:"Camera Animation_TranslationX")
let _000122TranslationYAnimation = CAKeyframeAnimation(keyPath: "transform.translation.y")
_000122TranslationYAnimation.duration = 2.150
_000122TranslationYAnimation.values = [64.648, -158.672, -695.271, -695.271, -695.271] as [Float]
_000122TranslationYAnimation.keyTimes = [0.000, 0.105, 0.198, 0.465, 1.000] as [NSNumber]
_000122TranslationYAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming]
_000122TranslationYAnimation.beginTime = beginTime
_000122TranslationYAnimation.fillMode = fillMode
_000122TranslationYAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["0001 2 2__root"]?.layer.add(_000122TranslationYAnimation, forKey:"Camera Animation_TranslationY")
let cameraPlusOpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
cameraPlusOpacityAnimation.duration = 2.150
cameraPlusOpacityAnimation.values = [0.000, 0.000, 1.000, 1.000, 1.000] as [Float]
cameraPlusOpacityAnimation.keyTimes = [0.000, 0.744, 0.791, 0.814, 1.000] as [NSNumber]
cameraPlusOpacityAnimation.timingFunctions = [linearTiming, linearTiming, linearTiming, linearTiming]
cameraPlusOpacityAnimation.beginTime = beginTime
cameraPlusOpacityAnimation.fillMode = fillMode
cameraPlusOpacityAnimation.isRemovedOnCompletion = removedOnCompletion
self.viewsByName["Camera_plus__root"]?.layer.add(cameraPlusOpacityAnimation, forKey:"Camera Animation_Opacity")
let numpadOpacityAnimation = CAKeyframeAnimation(keyPath: "opacity")
numpadOpacityAnimation.duration = 2.150