+
|
|
19
|
+ func activateConstraints() {
|
|
|
20
|
+
|
|
|
21
|
+ }
|
|
|
22
|
+
|
|
|
23
|
+ func activateConstraintsShareView() {
|
|
|
24
|
+ guard let superView = superview else { return }
|
|
|
25
|
+
|
|
|
26
|
+ self.translatesAutoresizingMaskIntoConstraints = false
|
|
|
27
|
+
|
|
|
28
|
+ }
|
|
21
|
29
|
}
|
|
|
|
@@ -1,15 +0,0 @@
|
|
1
|
|
-#!/bin/bash
|
|
2
|
|
-
|
|
3
|
|
-xcrun simctl shutdown all
|
|
4
|
|
-
|
|
5
|
|
-path=$(find ~/Library/Developer/Xcode/DerivedData/Paiai-*/Build/Products/Debug-iphonesimulator -name "Paiai.app" | head -n 1)
|
|
6
|
|
-echo "${path}"
|
|
7
|
|
-
|
|
8
|
|
-filename=MultiSimConfig.txt
|
|
9
|
|
-grep -v '^#' $filename | while read -r line
|
|
10
|
|
-do
|
|
11
|
|
- echo $line
|
|
12
|
|
- xcrun instruments -w "$line"
|
|
13
|
|
- xcrun simctl install booted $path
|
|
14
|
|
- xcrun simctl launch booted com.Paiai.Paiai
|
|
15
|
|
-done
|