Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add PodUtil.rb. support platform in PodSpec

  • Loading branch information...
commit 9ceedb44ca9fbfe8282c8ba9cb64a936d317bd9c 1 parent be52e95
Watson authored
4 PodCreator.xcodeproj/project.pbxproj
@@ -19,6 +19,7 @@
19 19 A988D42A1477E2F100878C5C /* ButtonBarView.rb in Resources */ = {isa = PBXBuildFile; fileRef = A988D4291477E2F100878C5C /* ButtonBarView.rb */; };
20 20 A994BFA1147BC00900994C85 /* PodSpec.rb in Resources */ = {isa = PBXBuildFile; fileRef = A994BFA0147BC00900994C85 /* PodSpec.rb */; };
21 21 A994BFA3147BC04F00994C85 /* PodFile.rb in Resources */ = {isa = PBXBuildFile; fileRef = A994BFA2147BC04F00994C85 /* PodFile.rb */; };
  22 + A9B73E88147F719F007573B0 /* PodUtil.rb in Resources */ = {isa = PBXBuildFile; fileRef = A9B73E87147F719F007573B0 /* PodUtil.rb */; };
22 23 A9E35580147937F60002A1A3 /* PodCreator.icns in Resources */ = {isa = PBXBuildFile; fileRef = A9E3557F147937F60002A1A3 /* PodCreator.icns */; };
23 24 /* End PBXBuildFile section */
24 25
@@ -48,6 +49,7 @@
48 49 A988D4291477E2F100878C5C /* ButtonBarView.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = ButtonBarView.rb; sourceTree = "<group>"; };
49 50 A994BFA0147BC00900994C85 /* PodSpec.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = PodSpec.rb; sourceTree = "<group>"; };
50 51 A994BFA2147BC04F00994C85 /* PodFile.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = PodFile.rb; sourceTree = "<group>"; };
  52 + A9B73E87147F719F007573B0 /* PodUtil.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = PodUtil.rb; sourceTree = "<group>"; };
51 53 A9E3557F147937F60002A1A3 /* PodCreator.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = PodCreator.icns; sourceTree = "<group>"; };
52 54 /* End PBXFileReference section */
53 55
@@ -98,6 +100,7 @@
98 100 A994BFA2147BC04F00994C85 /* PodFile.rb */,
99 101 A90E74BD1478A7F700493C4C /* PodList.rb */,
100 102 A994BFA0147BC00900994C85 /* PodSpec.rb */,
  103 + A9B73E87147F719F007573B0 /* PodUtil.rb */,
101 104 A988D4181477DFDC00878C5C /* Resources */,
102 105 A988D41C1477DFDC00878C5C /* Other Sources */,
103 106 A988D4101477DFDB00878C5C /* Supporting Files */,
@@ -212,6 +215,7 @@
212 215 A9E35580147937F60002A1A3 /* PodCreator.icns in Resources */,
213 216 A994BFA1147BC00900994C85 /* PodSpec.rb in Resources */,
214 217 A994BFA3147BC04F00994C85 /* PodFile.rb in Resources */,
  218 + A9B73E88147F719F007573B0 /* PodUtil.rb in Resources */,
215 219 );
216 220 runOnlyForDeploymentPostprocessing = 0;
217 221 };
14 PodCreator/PodFile.rb
@@ -17,7 +17,7 @@ def init
17 17
18 18 #----------------------------------------
19 19 def showList(sender)
20   - plat = getSelectedPlatform
  20 + plat = PodUtil::getSelectedPlatform(platformButton.titleOfSelectedItem)
21 21 @podList.setPlatform(plat[1..-1].to_sym)
22 22
23 23 NSApp.beginSheet(@podList.window,
@@ -43,7 +43,8 @@ def create(sender)
43 43 path = panel.filename
44 44
45 45 File.open(path, "w") {|f|
46   - f.puts "platform #{getSelectedPlatform}"
  46 + plat = PodUtil::getSelectedPlatform(platformButton.titleOfSelectedItem)
  47 + f.puts "platform #{plat}"
47 48 ary = arrayController.arrangedObjects
48 49 ary.each do |item|
49 50 f.puts "dependency '#{item['name']}'"
@@ -62,13 +63,4 @@ def create(sender)
62 63 def addPod(pod)
63 64 arrayController.addObject(pod.dup)
64 65 end
65   -
66   - #----------------------------------------
67   - PLATFORM = {'iOS' => ":ios", 'Mac' => ":osx" }
68   -
69   - def getSelectedPlatform
70   - plat = platformButton.titleOfSelectedItem
71   - PLATFORM[plat]
72   - end
73   -
74 66 end
32 PodCreator/PodList.rb
@@ -3,35 +3,6 @@
3 3 # PodCreator
4 4 #
5 5
6   -module Spec
7   - module_function
8   - def list
9   - result = []
10   -
11   - pods = Pod::Source::search_by_name("", false)
12   - pods.each do |pod|
13   - h = {}
14   - ['name', 'homepage', 'version', 'license', 'platform'].each do |item|
15   - h[item] = eval("pod.specification.#{item}") || ""
16   - end
17   -
18   - h['description'] = pod.specification.summary || ""
19   -
20   - ary = []
21   - authors = pod.specification.authors
22   - authors.keys.each do |k|
23   - author = k
24   - author += " <#{authors[k]}>" if authors[k]
25   - ary << author
26   - end
27   - h['authors'] = ary.join(', ')
28   -
29   - result << h
30   - end
31   - result
32   - end
33   -end
34   -
35 6 class PodList < NSWindowController
36 7 attr_accessor :delegate
37 8 attr_accessor :tableView
@@ -39,7 +10,7 @@ class PodList < NSWindowController
39 10
40 11 def init
41 12 @platform = ""
42   - @pods = Spec::list
  13 + @pods = PodUtil::list
43 14
44 15 super
45 16 self.initWithWindowNibName("PodList")
@@ -80,6 +51,5 @@ def selectPods(sender)
80 51 def setPlatform(platform)
81 52 @platform = platform
82 53 end
83   -
84 54 end
85 55
8 PodCreator/PodSpec.rb
@@ -6,6 +6,7 @@
6 6 class PodSpec
7 7 attr_accessor :repoButton
8 8 attr_accessor :repoTagCombo
  9 + attr_accessor :platformButton
9 10 attr_accessor :objectController
10 11
11 12 def create(sender)
@@ -50,7 +51,7 @@ def create(sender)
50 51
51 52 when "source_files"
52 53 out_specs("source_files", "source_files", content[k])
53   -
  54 +
54 55 when "requires_arc"
55 56 out_spec(k, content[k].to_s)
56 57
@@ -62,6 +63,9 @@ def create(sender)
62 63 end
63 64 end
64 65
  66 + plat = PodUtil::getSelectedPlatform(platformButton.titleOfSelectedItem)
  67 + out_spec("platform", plat) if plat
  68 +
65 69 f.puts "end"
66 70 }
67 71
@@ -69,6 +73,7 @@ def create(sender)
69 73 end
70 74 end
71 75
  76 + #----------------------------------------
72 77 def make_hash_str(key, value)
73 78 ":#{key} => '#{value}'"
74 79 end
@@ -90,5 +95,4 @@ def out_specs(key_s, key_m, data)
90 95 def out_spec(key, data)
91 96 @io.puts " s.#{key} = #{data}"
92 97 end
93   -
94 98 end
39 PodCreator/PodUtil.rb
... ... @@ -0,0 +1,39 @@
  1 +#
  2 +# PodUtil.rb
  3 +# PodCreator
  4 +#
  5 +
  6 +module PodUtil
  7 + module_function
  8 + def list
  9 + result = []
  10 +
  11 + pods = Pod::Source::search_by_name("", false)
  12 + pods.each do |pod|
  13 + h = {}
  14 + ['name', 'homepage', 'version', 'license', 'platform'].each do |item|
  15 + h[item] = eval("pod.specification.#{item}") || ""
  16 + end
  17 +
  18 + h['description'] = pod.specification.summary || ""
  19 +
  20 + ary = []
  21 + authors = pod.specification.authors
  22 + authors.keys.each do |k|
  23 + author = k
  24 + author += " <#{authors[k]}>" if authors[k]
  25 + ary << author
  26 + end
  27 + h['authors'] = ary.join(', ')
  28 +
  29 + result << h
  30 + end
  31 + result
  32 + end
  33 +
  34 + #----------------------------------------
  35 + PLATFORM = {'iOS' => ":ios", 'Mac' => ":osx" }
  36 + def getSelectedPlatform(str)
  37 + PLATFORM[str]
  38 + end
  39 +end
276 PodCreator/en.lproj/MainMenu.xib
@@ -439,7 +439,7 @@
439 439 <object class="NSWindowTemplate" id="824301203">
440 440 <int key="NSWindowStyleMask">7</int>
441 441 <int key="NSWindowBacking">2</int>
442   - <string key="NSWindowRect">{{109, 132}, {450, 531}}</string>
  442 + <string key="NSWindowRect">{{109, 132}, {449, 551}}</string>
443 443 <int key="NSWTFlags">611845120</int>
444 444 <string key="NSWindowTitle">PodCreator</string>
445 445 <string key="NSWindowClass">NSWindow</string>
@@ -455,9 +455,10 @@
455 455 <object class="NSTabView" id="179543284">
456 456 <reference key="NSNextResponder" ref="871071338"/>
457 457 <int key="NSvFlags">18</int>
458   - <string key="NSFrame">{{-13, -10}, {476, 535}}</string>
  458 + <string key="NSFrame">{{-13, -10}, {476, 555}}</string>
459 459 <reference key="NSSuperview" ref="871071338"/>
460 460 <reference key="NSWindow"/>
  461 + <reference key="NSNextKeyView" ref="473126570"/>
461 462 <string key="NSReuseIdentifierKey">_NS:608</string>
462 463 <object class="NSMutableArray" key="NSTabViewItems">
463 464 <bool key="EncodedWithXMLCoder">YES</bool>
@@ -532,7 +533,7 @@
532 533 </object>
533 534 </object>
534 535 </object>
535   - <string key="NSFrame">{{30, 165}, {390, 20}}</string>
  536 + <string key="NSFrame">{{30, 185}, {390, 20}}</string>
536 537 <reference key="NSSuperview" ref="623156592"/>
537 538 <reference key="NSNextKeyView" ref="37546187"/>
538 539 <string key="NSReuseIdentifierKey">_NS:1192</string>
@@ -543,6 +544,7 @@
543 544 <int key="NSvFlags">258</int>
544 545 <string key="NSFrame">{{30, 16}, {390, 33}}</string>
545 546 <reference key="NSSuperview" ref="623156592"/>
  547 + <reference key="NSNextKeyView" ref="179543284"/>
546 548 <string key="NSReuseIdentifierKey">_NS:2466</string>
547 549 <bool key="NSEnabled">YES</bool>
548 550 <object class="NSButtonCell" key="NSCell" id="362349492">
@@ -563,7 +565,7 @@
563 565 <object class="NSPopUpButton" id="44058425">
564 566 <reference key="NSNextResponder" ref="623156592"/>
565 567 <int key="NSvFlags">270</int>
566   - <string key="NSFrame">{{97, 452}, {167, 26}}</string>
  568 + <string key="NSFrame">{{97, 472}, {167, 26}}</string>
567 569 <reference key="NSSuperview" ref="623156592"/>
568 570 <reference key="NSNextKeyView" ref="444247504"/>
569 571 <string key="NSReuseIdentifierKey">_NS:868</string>
@@ -619,7 +621,7 @@
619 621 <object class="NSTextField" id="679156467">
620 622 <reference key="NSNextResponder" ref="623156592"/>
621 623 <int key="NSvFlags">268</int>
622   - <string key="NSFrame">{{27, 458}, {62, 17}}</string>
  624 + <string key="NSFrame">{{27, 478}, {62, 17}}</string>
623 625 <reference key="NSSuperview" ref="623156592"/>
624 626 <reference key="NSNextKeyView" ref="44058425"/>
625 627 <string key="NSReuseIdentifierKey">_NS:3944</string>
@@ -785,7 +787,7 @@
785 787 <double key="NSPercent">0.78032786885245897</double>
786 788 </object>
787 789 </object>
788   - <string key="NSFrame">{{30, 184}, {390, 261}}</string>
  790 + <string key="NSFrame">{{30, 204}, {390, 261}}</string>
789 791 <reference key="NSSuperview" ref="623156592"/>
790 792 <reference key="NSNextKeyView" ref="951650354"/>
791 793 <string key="NSReuseIdentifierKey">_NS:1824</string>
@@ -798,7 +800,7 @@
798 800 <object class="NSButton" id="554527207">
799 801 <reference key="NSNextResponder" ref="623156592"/>
800 802 <int key="NSvFlags">290</int>
801   - <string key="NSFrame">{{28, 123}, {334, 18}}</string>
  803 + <string key="NSFrame">{{28, 143}, {334, 18}}</string>
802 804 <reference key="NSSuperview" ref="623156592"/>
803 805 <reference key="NSNextKeyView" ref="1062292860"/>
804 806 <string key="NSReuseIdentifierKey">_NS:771</string>
@@ -826,7 +828,7 @@
826 828 </object>
827 829 </object>
828 830 </object>
829   - <string key="NSFrame">{{10, 33}, {456, 489}}</string>
  831 + <string key="NSFrame">{{10, 33}, {456, 509}}</string>
830 832 <reference key="NSNextKeyView" ref="679156467"/>
831 833 <string key="NSReuseIdentifierKey">_NS:610</string>
832 834 </object>
@@ -844,7 +846,7 @@
844 846 <object class="NSTextField" id="69287311">
845 847 <reference key="NSNextResponder" ref="473126570"/>
846 848 <int key="NSvFlags">268</int>
847   - <string key="NSFrame">{{32, 421}, {45, 17}}</string>
  849 + <string key="NSFrame">{{32, 441}, {45, 17}}</string>
848 850 <reference key="NSSuperview" ref="473126570"/>
849 851 <reference key="NSWindow"/>
850 852 <reference key="NSNextKeyView" ref="944307059"/>
@@ -864,7 +866,7 @@
864 866 <object class="NSTextField" id="519250109">
865 867 <reference key="NSNextResponder" ref="473126570"/>
866 868 <int key="NSvFlags">268</int>
867   - <string key="NSFrame">{{27, 459}, {153, 17}}</string>
  869 + <string key="NSFrame">{{27, 479}, {153, 17}}</string>
868 870 <reference key="NSSuperview" ref="473126570"/>
869 871 <reference key="NSWindow"/>
870 872 <reference key="NSNextKeyView" ref="747844930"/>
@@ -884,7 +886,7 @@
884 886 <object class="NSTextField" id="350596948">
885 887 <reference key="NSNextResponder" ref="473126570"/>
886 888 <int key="NSvFlags">268</int>
887   - <string key="NSFrame">{{27, 282}, {102, 17}}</string>
  889 + <string key="NSFrame">{{27, 302}, {102, 17}}</string>
888 890 <reference key="NSSuperview" ref="473126570"/>
889 891 <reference key="NSWindow"/>
890 892 <reference key="NSNextKeyView" ref="922278999"/>
@@ -904,7 +906,7 @@
904 906 <object class="NSTextField" id="80354747">
905 907 <reference key="NSNextResponder" ref="473126570"/>
906 908 <int key="NSvFlags">268</int>
907   - <string key="NSFrame">{{27, 158}, {82, 17}}</string>
  909 + <string key="NSFrame">{{27, 178}, {82, 17}}</string>
908 910 <reference key="NSSuperview" ref="473126570"/>
909 911 <reference key="NSWindow"/>
910 912 <reference key="NSNextKeyView" ref="650914076"/>
@@ -924,7 +926,7 @@
924 926 <object class="NSTextField" id="944307059">
925 927 <reference key="NSNextResponder" ref="473126570"/>
926 928 <int key="NSvFlags">266</int>
927   - <string key="NSFrame">{{105, 420}, {315, 19}}</string>
  929 + <string key="NSFrame">{{105, 440}, {315, 19}}</string>
928 930 <reference key="NSSuperview" ref="473126570"/>
929 931 <reference key="NSWindow"/>
930 932 <reference key="NSNextKeyView" ref="400988799"/>
@@ -960,7 +962,7 @@
960 962 <object class="NSTextField" id="896009206">
961 963 <reference key="NSNextResponder" ref="473126570"/>
962 964 <int key="NSvFlags">266</int>
963   - <string key="NSFrame">{{105, 402}, {315, 19}}</string>
  965 + <string key="NSFrame">{{105, 422}, {315, 19}}</string>
964 966 <reference key="NSSuperview" ref="473126570"/>
965 967 <reference key="NSWindow"/>
966 968 <reference key="NSNextKeyView" ref="759893850"/>
@@ -982,7 +984,7 @@
982 984 <object class="NSTextField" id="400988799">
983 985 <reference key="NSNextResponder" ref="473126570"/>
984 986 <int key="NSvFlags">268</int>
985   - <string key="NSFrame">{{32, 403}, {59, 17}}</string>
  987 + <string key="NSFrame">{{32, 423}, {59, 17}}</string>
986 988 <reference key="NSSuperview" ref="473126570"/>
987 989 <reference key="NSWindow"/>
988 990 <reference key="NSNextKeyView" ref="896009206"/>
@@ -1002,7 +1004,7 @@
1002 1004 <object class="NSTextField" id="759893850">
1003 1005 <reference key="NSNextResponder" ref="473126570"/>
1004 1006 <int key="NSvFlags">268</int>
1005   - <string key="NSFrame">{{32, 385}, {52, 17}}</string>
  1007 + <string key="NSFrame">{{32, 405}, {52, 17}}</string>
1006 1008 <reference key="NSSuperview" ref="473126570"/>
1007 1009 <reference key="NSWindow"/>
1008 1010 <reference key="NSNextKeyView" ref="927201280"/>
@@ -1022,7 +1024,7 @@
1022 1024 <object class="NSTextField" id="639771468">
1023 1025 <reference key="NSNextResponder" ref="473126570"/>
1024 1026 <int key="NSvFlags">268</int>
1025   - <string key="NSFrame">{{32, 367}, {52, 17}}</string>
  1027 + <string key="NSFrame">{{32, 387}, {52, 17}}</string>
1026 1028 <reference key="NSSuperview" ref="473126570"/>
1027 1029 <reference key="NSWindow"/>
1028 1030 <reference key="NSNextKeyView" ref="63488521"/>
@@ -1042,7 +1044,7 @@
1042 1044 <object class="NSTextField" id="870370932">
1043 1045 <reference key="NSNextResponder" ref="473126570"/>
1044 1046 <int key="NSvFlags">268</int>
1045   - <string key="NSFrame">{{32, 331}, {54, 17}}</string>
  1047 + <string key="NSFrame">{{32, 351}, {54, 17}}</string>
1046 1048 <reference key="NSSuperview" ref="473126570"/>
1047 1049 <reference key="NSWindow"/>
1048 1050 <reference key="NSNextKeyView" ref="1060198038"/>
@@ -1062,7 +1064,7 @@
1062 1064 <object class="NSTextField" id="1060198038">
1063 1065 <reference key="NSNextResponder" ref="473126570"/>
1064 1066 <int key="NSvFlags">268</int>
1065   - <string key="NSFrame">{{62, 312}, {47, 17}}</string>
  1067 + <string key="NSFrame">{{62, 332}, {47, 17}}</string>
1066 1068 <reference key="NSSuperview" ref="473126570"/>
1067 1069 <reference key="NSWindow"/>
1068 1070 <reference key="NSNextKeyView" ref="506633251"/>
@@ -1082,7 +1084,7 @@
1082 1084 <object class="NSTextField" id="975876952">
1083 1085 <reference key="NSNextResponder" ref="473126570"/>
1084 1086 <int key="NSvFlags">264</int>
1085   - <string key="NSFrame">{{245, 312}, {32, 17}}</string>
  1087 + <string key="NSFrame">{{245, 332}, {32, 17}}</string>
1086 1088 <reference key="NSSuperview" ref="473126570"/>
1087 1089 <reference key="NSWindow"/>
1088 1090 <reference key="NSNextKeyView" ref="121329703"/>
@@ -1102,7 +1104,7 @@
1102 1104 <object class="NSTextField" id="927201280">
1103 1105 <reference key="NSNextResponder" ref="473126570"/>
1104 1106 <int key="NSvFlags">266</int>
1105   - <string key="NSFrame">{{105, 384}, {315, 19}}</string>
  1107 + <string key="NSFrame">{{105, 404}, {315, 19}}</string>
1106 1108 <reference key="NSSuperview" ref="473126570"/>
1107 1109 <reference key="NSWindow"/>
1108 1110 <reference key="NSNextKeyView" ref="639771468"/>
@@ -1124,7 +1126,7 @@
1124 1126 <object class="NSTextField" id="63488521">
1125 1127 <reference key="NSNextResponder" ref="473126570"/>
1126 1128 <int key="NSvFlags">266</int>
1127   - <string key="NSFrame">{{105, 366}, {315, 19}}</string>
  1129 + <string key="NSFrame">{{105, 386}, {315, 19}}</string>
1128 1130 <reference key="NSSuperview" ref="473126570"/>
1129 1131 <reference key="NSWindow"/>
1130 1132 <reference key="NSNextKeyView" ref="1065177940"/>
@@ -1146,7 +1148,7 @@
1146 1148 <object class="NSTextField" id="1065177940">
1147 1149 <reference key="NSNextResponder" ref="473126570"/>
1148 1150 <int key="NSvFlags">268</int>
1149   - <string key="NSFrame">{{32, 349}, {71, 17}}</string>
  1151 + <string key="NSFrame">{{32, 369}, {71, 17}}</string>
1150 1152 <reference key="NSSuperview" ref="473126570"/>
1151 1153 <reference key="NSWindow"/>
1152 1154 <reference key="NSNextKeyView" ref="696191013"/>
@@ -1166,7 +1168,7 @@
1166 1168 <object class="NSTextField" id="696191013">
1167 1169 <reference key="NSNextResponder" ref="473126570"/>
1168 1170 <int key="NSvFlags">266</int>
1169   - <string key="NSFrame">{{105, 348}, {315, 19}}</string>
  1171 + <string key="NSFrame">{{105, 368}, {315, 19}}</string>
1170 1172 <reference key="NSSuperview" ref="473126570"/>
1171 1173 <reference key="NSWindow"/>
1172 1174 <reference key="NSNextKeyView" ref="870370932"/>
@@ -1188,7 +1190,7 @@
1188 1190 <object class="NSTextField" id="506633251">
1189 1191 <reference key="NSNextResponder" ref="473126570"/>
1190 1192 <int key="NSvFlags">264</int>
1191   - <string key="NSFrame">{{105, 311}, {120, 19}}</string>
  1193 + <string key="NSFrame">{{105, 331}, {120, 19}}</string>
1192 1194 <reference key="NSSuperview" ref="473126570"/>
1193 1195 <reference key="NSWindow"/>
1194 1196 <reference key="NSNextKeyView" ref="975876952"/>
@@ -1210,7 +1212,7 @@
1210 1212 <object class="NSTextField" id="121329703">
1211 1213 <reference key="NSNextResponder" ref="473126570"/>
1212 1214 <int key="NSvFlags">266</int>
1213   - <string key="NSFrame">{{278, 312}, {142, 19}}</string>
  1215 + <string key="NSFrame">{{278, 332}, {142, 19}}</string>
1214 1216 <reference key="NSSuperview" ref="473126570"/>
1215 1217 <reference key="NSWindow"/>
1216 1218 <reference key="NSNextKeyView" ref="350596948"/>
@@ -1232,7 +1234,7 @@
1232 1234 <object class="NSPopUpButton" id="589131895">
1233 1235 <reference key="NSNextResponder" ref="473126570"/>
1234 1236 <int key="NSvFlags">268</int>
1235   - <string key="NSFrame">{{40, 238}, {88, 26}}</string>
  1237 + <string key="NSFrame">{{40, 258}, {88, 26}}</string>
1236 1238 <reference key="NSSuperview" ref="473126570"/>
1237 1239 <reference key="NSWindow"/>
1238 1240 <reference key="NSNextKeyView" ref="1058829190"/>
@@ -1300,7 +1302,7 @@
1300 1302 <object class="NSTextField" id="1042148668">
1301 1303 <reference key="NSNextResponder" ref="473126570"/>
1302 1304 <int key="NSvFlags">266</int>
1303   - <string key="NSFrame">{{140, 216}, {280, 19}}</string>
  1305 + <string key="NSFrame">{{140, 236}, {280, 19}}</string>
1304 1306 <reference key="NSSuperview" ref="473126570"/>
1305 1307 <reference key="NSWindow"/>
1306 1308 <reference key="NSNextKeyView" ref="861755492"/>
@@ -1323,7 +1325,7 @@
1323 1325 <object class="NSTextField" id="1058829190">
1324 1326 <reference key="NSNextResponder" ref="473126570"/>
1325 1327 <int key="NSvFlags">266</int>
1326   - <string key="NSFrame">{{140, 243}, {280, 19}}</string>
  1328 + <string key="NSFrame">{{140, 263}, {280, 19}}</string>
1327 1329 <reference key="NSSuperview" ref="473126570"/>
1328 1330 <reference key="NSWindow"/>
1329 1331 <reference key="NSNextKeyView" ref="836820855"/>
@@ -1346,7 +1348,7 @@
1346 1348 <object class="NSTextField" id="607725242">
1347 1349 <reference key="NSNextResponder" ref="473126570"/>
1348 1350 <int key="NSvFlags">266</int>
1349   - <string key="NSFrame">{{140, 189}, {280, 19}}</string>
  1351 + <string key="NSFrame">{{140, 209}, {280, 19}}</string>
1350 1352 <reference key="NSSuperview" ref="473126570"/>
1351 1353 <reference key="NSWindow"/>
1352 1354 <reference key="NSNextKeyView" ref="80354747"/>
@@ -1369,7 +1371,7 @@
1369 1371 <object class="NSComboBox" id="836820855">
1370 1372 <reference key="NSNextResponder" ref="473126570"/>
1371 1373 <int key="NSvFlags">268</int>
1372   - <string key="NSFrame">{{41, 212}, {87, 26}}</string>
  1374 + <string key="NSFrame">{{41, 232}, {87, 26}}</string>
1373 1375 <reference key="NSSuperview" ref="473126570"/>
1374 1376 <reference key="NSWindow"/>
1375 1377 <reference key="NSNextKeyView" ref="1042148668"/>
@@ -1456,7 +1458,7 @@
1456 1458 <object class="NSTextField" id="861755492">
1457 1459 <reference key="NSNextResponder" ref="473126570"/>
1458 1460 <int key="NSvFlags">268</int>
1459   - <string key="NSFrame">{{38, 189}, {71, 17}}</string>
  1461 + <string key="NSFrame">{{38, 209}, {71, 17}}</string>
1460 1462 <reference key="NSSuperview" ref="473126570"/>
1461 1463 <reference key="NSWindow"/>
1462 1464 <reference key="NSNextKeyView" ref="607725242"/>
@@ -1479,6 +1481,7 @@
1479 1481 <string key="NSFrame">{{30, 16}, {390, 33}}</string>
1480 1482 <reference key="NSSuperview" ref="473126570"/>
1481 1483 <reference key="NSWindow"/>
  1484 + <reference key="NSNextKeyView"/>
1482 1485 <string key="NSReuseIdentifierKey">_NS:2466</string>
1483 1486 <bool key="NSEnabled">YES</bool>
1484 1487 <object class="NSButtonCell" key="NSCell" id="595238273">
@@ -1499,7 +1502,7 @@
1499 1502 <object class="NSButton" id="338393540">
1500 1503 <reference key="NSNextResponder" ref="473126570"/>
1501 1504 <int key="NSvFlags">268</int>
1502   - <string key="NSFrame">{{33, 76}, {100, 18}}</string>
  1505 + <string key="NSFrame">{{33, 66}, {100, 18}}</string>
1503 1506 <reference key="NSSuperview" ref="473126570"/>
1504 1507 <reference key="NSWindow"/>
1505 1508 <reference key="NSNextKeyView" ref="441398605"/>
@@ -1525,7 +1528,7 @@
1525 1528 <object class="NSBox" id="747844930">
1526 1529 <reference key="NSNextResponder" ref="473126570"/>
1527 1530 <int key="NSvFlags">10</int>
1528   - <string key="NSFrame">{{25, 449}, {395, 5}}</string>
  1531 + <string key="NSFrame">{{25, 469}, {395, 5}}</string>
1529 1532 <reference key="NSSuperview" ref="473126570"/>
1530 1533 <reference key="NSWindow"/>
1531 1534 <reference key="NSNextKeyView" ref="69287311"/>
@@ -1550,7 +1553,7 @@
1550 1553 <object class="NSBox" id="922278999">
1551 1554 <reference key="NSNextResponder" ref="473126570"/>
1552 1555 <int key="NSvFlags">10</int>
1553   - <string key="NSFrame">{{25, 271}, {395, 5}}</string>
  1556 + <string key="NSFrame">{{25, 291}, {395, 5}}</string>
1554 1557 <reference key="NSSuperview" ref="473126570"/>
1555 1558 <reference key="NSWindow"/>
1556 1559 <reference key="NSNextKeyView" ref="589131895"/>
@@ -1575,7 +1578,7 @@
1575 1578 <object class="NSBox" id="650914076">
1576 1579 <reference key="NSNextResponder" ref="473126570"/>
1577 1580 <int key="NSvFlags">10</int>
1578   - <string key="NSFrame">{{25, 147}, {395, 5}}</string>
  1581 + <string key="NSFrame">{{25, 167}, {395, 5}}</string>
1579 1582 <reference key="NSSuperview" ref="473126570"/>
1580 1583 <reference key="NSWindow"/>
1581 1584 <reference key="NSNextKeyView" ref="293670081"/>
@@ -1600,7 +1603,7 @@
1600 1603 <object class="NSTextField" id="293670081">
1601 1604 <reference key="NSNextResponder" ref="473126570"/>
1602 1605 <int key="NSvFlags">268</int>
1603   - <string key="NSFrame">{{32, 119}, {73, 17}}</string>
  1606 + <string key="NSFrame">{{32, 139}, {73, 17}}</string>
1604 1607 <reference key="NSSuperview" ref="473126570"/>
1605 1608 <reference key="NSWindow"/>
1606 1609 <reference key="NSNextKeyView" ref="814728923"/>
@@ -1620,7 +1623,7 @@
1620 1623 <object class="NSTextField" id="814728923">
1621 1624 <reference key="NSNextResponder" ref="473126570"/>
1622 1625 <int key="NSvFlags">266</int>
1623   - <string key="NSFrame">{{105, 118}, {315, 19}}</string>
  1626 + <string key="NSFrame">{{105, 138}, {315, 19}}</string>
1624 1627 <reference key="NSSuperview" ref="473126570"/>
1625 1628 <reference key="NSWindow"/>
1626 1629 <reference key="NSNextKeyView" ref="944249476"/>
@@ -1642,10 +1645,10 @@
1642 1645 <object class="NSTextField" id="712182183">
1643 1646 <reference key="NSNextResponder" ref="473126570"/>
1644 1647 <int key="NSvFlags">266</int>
1645   - <string key="NSFrame">{{105, 100}, {315, 19}}</string>
  1648 + <string key="NSFrame">{{105, 120}, {315, 19}}</string>
1646 1649 <reference key="NSSuperview" ref="473126570"/>
1647 1650 <reference key="NSWindow"/>
1648   - <reference key="NSNextKeyView" ref="338393540"/>
  1651 + <reference key="NSNextKeyView" ref="662127164"/>
1649 1652 <string key="NSReuseIdentifierKey">_NS:903</string>
1650 1653 <int key="NSTag">1</int>
1651 1654 <bool key="NSEnabled">YES</bool>
@@ -1665,7 +1668,7 @@
1665 1668 <object class="NSTextField" id="944249476">
1666 1669 <reference key="NSNextResponder" ref="473126570"/>
1667 1670 <int key="NSvFlags">268</int>
1668   - <string key="NSFrame">{{32, 101}, {59, 17}}</string>
  1671 + <string key="NSFrame">{{32, 121}, {59, 17}}</string>
1669 1672 <reference key="NSSuperview" ref="473126570"/>
1670 1673 <reference key="NSWindow"/>
1671 1674 <reference key="NSNextKeyView" ref="712182183"/>
@@ -1682,8 +1685,98 @@
1682 1685 <reference key="NSTextColor" ref="848635780"/>
1683 1686 </object>
1684 1687 </object>
  1688 + <object class="NSTextField" id="662127164">
  1689 + <reference key="NSNextResponder" ref="473126570"/>
  1690 + <int key="NSvFlags">268</int>
  1691 + <string key="NSFrame">{{32, 94}, {59, 17}}</string>
  1692 + <reference key="NSSuperview" ref="473126570"/>
  1693 + <reference key="NSWindow"/>
  1694 + <reference key="NSNextKeyView" ref="705456656"/>
  1695 + <string key="NSReuseIdentifierKey">_NS:3944</string>
  1696 + <bool key="NSEnabled">YES</bool>
  1697 + <object class="NSTextFieldCell" key="NSCell" id="470782717">
  1698 + <int key="NSCellFlags">68288064</int>
  1699 + <int key="NSCellFlags2">272630784</int>
  1700 + <string key="NSContents">Platform:</string>
  1701 + <reference key="NSSupport" ref="258853576"/>
  1702 + <string key="NSCellIdentifier">_NS:3944</string>
  1703 + <reference key="NSControlView" ref="662127164"/>
  1704 + <reference key="NSBackgroundColor" ref="685088760"/>
  1705 + <reference key="NSTextColor" ref="848635780"/>
  1706 + </object>
  1707 + </object>
  1708 + <object class="NSPopUpButton" id="705456656">
  1709 + <reference key="NSNextResponder" ref="473126570"/>
  1710 + <int key="NSvFlags">268</int>
  1711 + <string key="NSFrame">{{102, 88}, {100, 26}}</string>
  1712 + <reference key="NSSuperview" ref="473126570"/>
  1713 + <reference key="NSWindow"/>
  1714 + <reference key="NSNextKeyView" ref="338393540"/>
  1715 + <string key="NSReuseIdentifierKey">_NS:868</string>
  1716 + <bool key="NSEnabled">YES</bool>
  1717 + <object class="NSPopUpButtonCell" key="NSCell" id="224564145">
  1718 + <int key="NSCellFlags">-2076049856</int>
  1719 + <int key="NSCellFlags2">2048</int>
  1720 + <reference key="NSSupport" ref="19798554"/>
  1721 + <string key="NSCellIdentifier">_NS:868</string>
  1722 + <reference key="NSControlView" ref="705456656"/>
  1723 + <int key="NSButtonFlags">109199615</int>
  1724 + <int key="NSButtonFlags2">129</int>
  1725 + <string key="NSAlternateContents"/>
  1726 + <string key="NSKeyEquivalent"/>
  1727 + <int key="NSPeriodicDelay">400</int>
  1728 + <int key="NSPeriodicInterval">75</int>
  1729 + <object class="NSMenuItem" key="NSMenuItem" id="66799703">
  1730 + <reference key="NSMenu" ref="112825641"/>
  1731 + <string key="NSTitle">Universal</string>
  1732 + <string key="NSKeyEquiv"/>
  1733 + <int key="NSKeyEquivModMask">1048576</int>
  1734 + <int key="NSMnemonicLoc">2147483647</int>
  1735 + <int key="NSState">1</int>
  1736 + <reference key="NSOnImage" ref="35465992"/>
  1737 + <reference key="NSMixedImage" ref="502551668"/>
  1738 + <string key="NSAction">_popUpItemAction:</string>
  1739 + <reference key="NSTarget" ref="224564145"/>
  1740 + </object>
  1741 + <bool key="NSMenuItemRespectAlignment">YES</bool>
  1742 + <object class="NSMenu" key="NSMenu" id="112825641">
  1743 + <string key="NSTitle">OtherViews</string>
  1744 + <object class="NSMutableArray" key="NSMenuItems">
  1745 + <bool key="EncodedWithXMLCoder">YES</bool>
  1746 + <reference ref="66799703"/>
  1747 + <object class="NSMenuItem" id="184739023">
  1748 + <reference key="NSMenu" ref="112825641"/>
  1749 + <string key="NSTitle">iOS</string>
  1750 + <string key="NSKeyEquiv"/>
  1751 + <int key="NSKeyEquivModMask">1048576</int>
  1752 + <int key="NSMnemonicLoc">2147483647</int>
  1753 + <reference key="NSOnImage" ref="35465992"/>
  1754 + <reference key="NSMixedImage" ref="502551668"/>
  1755 + <string key="NSAction">_popUpItemAction:</string>
  1756 + <reference key="NSTarget" ref="224564145"/>
  1757 + </object>
  1758 + <object class="NSMenuItem" id="16476713">
  1759 + <reference key="NSMenu" ref="112825641"/>
  1760 + <string key="NSTitle">Mac</string>
  1761 + <string key="NSKeyEquiv"/>
  1762 + <int key="NSKeyEquivModMask">1048576</int>
  1763 + <int key="NSMnemonicLoc">2147483647</int>
  1764 + <reference key="NSOnImage" ref="35465992"/>
  1765 + <reference key="NSMixedImage" ref="502551668"/>
  1766 + <string key="NSAction">_popUpItemAction:</string>
  1767 + <reference key="NSTarget" ref="224564145"/>
  1768 + </object>
  1769 + </object>
  1770 + <reference key="NSMenuFont" ref="19798554"/>
  1771 + </object>
  1772 + <int key="NSPreferredEdge">1</int>
  1773 + <bool key="NSUsesItemFromMenu">YES</bool>
  1774 + <bool key="NSAltersState">YES</bool>
  1775 + <int key="NSArrowPosition">2</int>
  1776 + </object>
  1777 + </object>
1685 1778 </object>
1686   - <string key="NSFrame">{{10, 33}, {456, 489}}</string>
  1779 + <string key="NSFrame">{{10, 33}, {456, 509}}</string>
1687 1780 <reference key="NSSuperview" ref="179543284"/>
1688 1781 <reference key="NSWindow"/>
1689 1782 <reference key="NSNextKeyView" ref="519250109"/>
@@ -1704,7 +1797,7 @@
1704 1797 </object>
1705 1798 </object>
1706 1799 </object>
1707   - <string key="NSFrameSize">{450, 531}</string>
  1800 + <string key="NSFrameSize">{449, 551}</string>
1708 1801 <reference key="NSSuperview"/>
1709 1802 <reference key="NSWindow"/>
1710 1803 <reference key="NSNextKeyView" ref="179543284"/>
@@ -2761,6 +2854,14 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
2761 2854 <int key="connectionID">946</int>
2762 2855 </object>
2763 2856 <object class="IBConnectionRecord">
  2857 + <object class="IBOutletConnection" key="connection">
  2858 + <string key="label">platformButton</string>
  2859 + <reference key="source" ref="112448278"/>
  2860 + <reference key="destination" ref="705456656"/>
  2861 + </object>
  2862 + <int key="connectionID">1059</int>
  2863 + </object>
  2864 + <object class="IBConnectionRecord">
2764 2865 <object class="IBBindingConnection" key="connection">
2765 2866 <string key="label">value: selection.repo_url</string>
2766 2867 <reference key="source" ref="1058829190"/>
@@ -3502,8 +3603,6 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
3502 3603 <reference ref="747844930"/>
3503 3604 <reference ref="922278999"/>
3504 3605 <reference ref="650914076"/>
3505   - <reference ref="441398605"/>
3506   - <reference ref="338393540"/>
3507 3606 <reference ref="293670081"/>
3508 3607 <reference ref="814728923"/>
3509 3608 <reference ref="944249476"/>
@@ -3514,6 +3613,10 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
3514 3613 <reference ref="944307059"/>
3515 3614 <reference ref="63488521"/>
3516 3615 <reference ref="1058829190"/>
  3616 + <reference ref="441398605"/>
  3617 + <reference ref="338393540"/>
  3618 + <reference ref="662127164"/>
  3619 + <reference ref="705456656"/>
3517 3620 </object>
3518 3621 <reference key="parent" ref="325097005"/>
3519 3622 </object>
@@ -4069,6 +4172,64 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4069 4172 <reference key="object" ref="133997425"/>
4070 4173 <reference key="parent" ref="705724131"/>
4071 4174 </object>
  4175 + <object class="IBObjectRecord">
  4176 + <int key="objectID">1046</int>
  4177 + <reference key="object" ref="662127164"/>
  4178 + <object class="NSMutableArray" key="children">
  4179 + <bool key="EncodedWithXMLCoder">YES</bool>
  4180 + <reference ref="470782717"/>
  4181 + </object>
  4182 + <reference key="parent" ref="473126570"/>
  4183 + </object>
  4184 + <object class="IBObjectRecord">
  4185 + <int key="objectID">1047</int>
  4186 + <reference key="object" ref="470782717"/>
  4187 + <reference key="parent" ref="662127164"/>
  4188 + </object>
  4189 + <object class="IBObjectRecord">
  4190 + <int key="objectID">1048</int>
  4191 + <reference key="object" ref="705456656"/>
  4192 + <object class="NSMutableArray" key="children">
  4193 + <bool key="EncodedWithXMLCoder">YES</bool>
  4194 + <reference ref="224564145"/>
  4195 + </object>
  4196 + <reference key="parent" ref="473126570"/>
  4197 + </object>
  4198 + <object class="IBObjectRecord">
  4199 + <int key="objectID">1049</int>
  4200 + <reference key="object" ref="224564145"/>
  4201 + <object class="NSMutableArray" key="children">
  4202 + <bool key="EncodedWithXMLCoder">YES</bool>
  4203 + <reference ref="112825641"/>
  4204 + </object>
  4205 + <reference key="parent" ref="705456656"/>
  4206 + </object>
  4207 + <object class="IBObjectRecord">
  4208 + <int key="objectID">1050</int>
  4209 + <reference key="object" ref="112825641"/>
  4210 + <object class="NSMutableArray" key="children">
  4211 + <bool key="EncodedWithXMLCoder">YES</bool>
  4212 + <reference ref="66799703"/>
  4213 + <reference ref="184739023"/>
  4214 + <reference ref="16476713"/>
  4215 + </object>
  4216 + <reference key="parent" ref="224564145"/>
  4217 + </object>
  4218 + <object class="IBObjectRecord">
  4219 + <int key="objectID">1051</int>
  4220 + <reference key="object" ref="66799703"/>
  4221 + <reference key="parent" ref="112825641"/>
  4222 + </object>
  4223 + <object class="IBObjectRecord">
  4224 + <int key="objectID">1052</int>
  4225 + <reference key="object" ref="184739023"/>
  4226 + <reference key="parent" ref="112825641"/>
  4227 + </object>
  4228 + <object class="IBObjectRecord">
  4229 + <int key="objectID">1053</int>
  4230 + <reference key="object" ref="16476713"/>
  4231 + <reference key="parent" ref="112825641"/>
  4232 + </object>
4072 4233 </object>
4073 4234 </object>
4074 4235 <object class="NSMutableDictionary" key="flattenedProperties">
@@ -4078,6 +4239,14 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4078 4239 <string>-1.IBPluginDependency</string>
4079 4240 <string>-2.IBPluginDependency</string>
4080 4241 <string>-3.IBPluginDependency</string>
  4242 + <string>1046.IBPluginDependency</string>
  4243 + <string>1047.IBPluginDependency</string>
  4244 + <string>1048.IBPluginDependency</string>
  4245 + <string>1049.IBPluginDependency</string>
  4246 + <string>1050.IBPluginDependency</string>
  4247 + <string>1051.IBPluginDependency</string>
  4248 + <string>1052.IBPluginDependency</string>
  4249 + <string>1053.IBPluginDependency</string>
4081 4250 <string>129.IBPluginDependency</string>
4082 4251 <string>130.IBPluginDependency</string>
4083 4252 <string>131.IBPluginDependency</string>
@@ -4289,6 +4458,14 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4289 4458 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
4290 4459 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
4291 4460 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4461 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4462 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4463 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4464 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4465 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4466 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4467 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
  4468 + <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
4292 4469 <boolean value="YES"/>
4293 4470 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
4294 4471 <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4460,7 +4637,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4460 4637 <reference key="dict.values" ref="0"/>
4461 4638 </object>
4462 4639 <nil key="sourceID"/>
4463   - <int key="maxID">1045</int>
  4640 + <int key="maxID">1059</int>
4464 4641 </object>
4465 4642 <object class="IBClassDescriber" key="IBDocument.Classes">
4466 4643 <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -4600,6 +4777,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4600 4777 <object class="NSArray" key="dict.sortedKeys">
4601 4778 <bool key="EncodedWithXMLCoder">YES</bool>
4602 4779 <string>objectController</string>
  4780 + <string>platformButton</string>
4603 4781 <string>repoButton</string>
4604 4782 <string>repoTagCombo</string>
4605 4783 </object>
@@ -4608,6 +4786,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4608 4786 <string>id</string>
4609 4787 <string>id</string>
4610 4788 <string>id</string>
  4789 + <string>id</string>
4611 4790 </object>
4612 4791 </object>
4613 4792 <object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -4615,6 +4794,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4615 4794 <object class="NSArray" key="dict.sortedKeys">
4616 4795 <bool key="EncodedWithXMLCoder">YES</bool>
4617 4796 <string>objectController</string>
  4797 + <string>platformButton</string>
4618 4798 <string>repoButton</string>
4619 4799 <string>repoTagCombo</string>
4620 4800 </object>
@@ -4625,6 +4805,10 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
4625 4805 <string key="candidateClassName">id</string>
4626 4806 </object>
4627 4807 <object class="IBToOneOutletInfo">
  4808 + <string key="name">platformButton</string>
  4809 + <string key="candidateClassName">id</string>
  4810 + </object>
  4811 + <object class="IBToOneOutletInfo">
4628 4812 <string key="name">repoButton</string>
4629 4813 <string key="candidateClassName">id</string>
4630 4814 </object>

0 comments on commit 9ceedb4

Please sign in to comment.
Something went wrong with that request. Please try again.