cocoapods-aomi-bin 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cocoapods-lhj-bin/command/bin/view.rb +12 -1
- data/lib/cocoapods-lhj-bin/gem_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49133e2b9dbd7b9dc71db8acab55373cdff0edc852c389d77807af522c1626dd
|
|
4
|
+
data.tar.gz: 42f7f78c46513a26710835aa834d1e05b67e7ada7b524c87bda676e0912dd348
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e71bf10b411685698e9f2f42ae0d4d252112cba5c63c245395aa30a66cafa44e81a8984ab67b9a31ad68aabf9a52c11f7056590bd9f6e7898c2281fef6c6a658
|
|
7
|
+
data.tar.gz: 158c7b60ee4561488d8ad22c5e4a01bc6bdecc79cf4a37e87a3ca8362e6c541506edc29b3cbd07e98eb707990017036eccd71169e206be5680e7e27054a32c4c
|
|
@@ -19,6 +19,8 @@ module Pod
|
|
|
19
19
|
print_instance
|
|
20
20
|
puts "\n\n"
|
|
21
21
|
print_layout
|
|
22
|
+
puts "\n\n"
|
|
23
|
+
print_value
|
|
22
24
|
end
|
|
23
25
|
|
|
24
26
|
def print_declare
|
|
@@ -37,7 +39,7 @@ module Pod
|
|
|
37
39
|
puts " _#{name}.translatesAutoresizingMaskIntoConstraints = NO;"
|
|
38
40
|
print_property(name)
|
|
39
41
|
puts " }"
|
|
40
|
-
puts " return _#{name}"
|
|
42
|
+
puts " return _#{name};"
|
|
41
43
|
puts "}"
|
|
42
44
|
puts "\n"
|
|
43
45
|
end
|
|
@@ -56,6 +58,7 @@ module Pod
|
|
|
56
58
|
def print_property(name)
|
|
57
59
|
if @type.eql?('UILabel')
|
|
58
60
|
puts " _#{name}.textColor = kSetCOLOR(0x333333);"
|
|
61
|
+
puts " _#{name}.text = @\"xxxxxxxx\";"
|
|
59
62
|
puts " _#{name}.font = [UIFont systemFontOfSize:12.0 weight:UIFontWeightRegular];"
|
|
60
63
|
puts " _#{name}.textAlignment = NSTextAlignmentCenter;"
|
|
61
64
|
elsif @type.eql?('UIImageView')
|
|
@@ -91,6 +94,14 @@ module Pod
|
|
|
91
94
|
end
|
|
92
95
|
end
|
|
93
96
|
|
|
97
|
+
def print_value
|
|
98
|
+
names.each do |name|
|
|
99
|
+
if @type.eql?('UILabel')
|
|
100
|
+
puts "self.#{name}.text = @\"xxxxx\";"
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
94
105
|
end
|
|
95
106
|
end
|
|
96
107
|
end
|