From dcba327d21a27cb73655c7bb184a7c83bb623a8a Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 22 Nov 2011 16:39:50 +0900 Subject: [PATCH] implement PodSpec --- PodCreator.xcodeproj/project.pbxproj | 8 + PodCreator/AppDelegate.rb | 56 - PodCreator/PodFile.rb | 65 + PodCreator/PodSpec.rb | 85 + PodCreator/en.lproj/MainMenu.xib | 4086 ++++++++++++++++++-------- 5 files changed, 3094 insertions(+), 1206 deletions(-) create mode 100644 PodCreator/PodFile.rb create mode 100644 PodCreator/PodSpec.rb diff --git a/PodCreator.xcodeproj/project.pbxproj b/PodCreator.xcodeproj/project.pbxproj index 4c5b5dd..9c18064 100644 --- a/PodCreator.xcodeproj/project.pbxproj +++ b/PodCreator.xcodeproj/project.pbxproj @@ -17,6 +17,8 @@ A988D41E1477DFDC00878C5C /* rb_main.rb in Resources */ = {isa = PBXBuildFile; fileRef = A988D41D1477DFDC00878C5C /* rb_main.rb */; }; A988D4201477DFDC00878C5C /* AppDelegate.rb in Resources */ = {isa = PBXBuildFile; fileRef = A988D41F1477DFDC00878C5C /* AppDelegate.rb */; }; A988D42A1477E2F100878C5C /* ButtonBarView.rb in Resources */ = {isa = PBXBuildFile; fileRef = A988D4291477E2F100878C5C /* ButtonBarView.rb */; }; + A994BFA1147BC00900994C85 /* PodSpec.rb in Resources */ = {isa = PBXBuildFile; fileRef = A994BFA0147BC00900994C85 /* PodSpec.rb */; }; + A994BFA3147BC04F00994C85 /* PodFile.rb in Resources */ = {isa = PBXBuildFile; fileRef = A994BFA2147BC04F00994C85 /* PodFile.rb */; }; A9E35580147937F60002A1A3 /* PodCreator.icns in Resources */ = {isa = PBXBuildFile; fileRef = A9E3557F147937F60002A1A3 /* PodCreator.icns */; }; /* End PBXBuildFile section */ @@ -44,6 +46,8 @@ A988D41D1477DFDC00878C5C /* rb_main.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = rb_main.rb; sourceTree = ""; }; A988D41F1477DFDC00878C5C /* AppDelegate.rb */ = {isa = PBXFileReference; lastKnownFileType = text.script.ruby; path = AppDelegate.rb; sourceTree = ""; }; A988D4291477E2F100878C5C /* ButtonBarView.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = ButtonBarView.rb; sourceTree = ""; }; + A994BFA0147BC00900994C85 /* PodSpec.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = PodSpec.rb; sourceTree = ""; }; + A994BFA2147BC04F00994C85 /* PodFile.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = PodFile.rb; sourceTree = ""; }; A9E3557F147937F60002A1A3 /* PodCreator.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = PodCreator.icns; sourceTree = ""; }; /* End PBXFileReference section */ @@ -91,7 +95,9 @@ children = ( A988D4291477E2F100878C5C /* ButtonBarView.rb */, A988D41F1477DFDC00878C5C /* AppDelegate.rb */, + A994BFA2147BC04F00994C85 /* PodFile.rb */, A90E74BD1478A7F700493C4C /* PodList.rb */, + A994BFA0147BC00900994C85 /* PodSpec.rb */, A988D4181477DFDC00878C5C /* Resources */, A988D41C1477DFDC00878C5C /* Other Sources */, A988D4101477DFDB00878C5C /* Supporting Files */, @@ -204,6 +210,8 @@ A90E74BB1478A7CC00493C4C /* PodList.xib in Resources */, A90E74BE1478A7F700493C4C /* PodList.rb in Resources */, A9E35580147937F60002A1A3 /* PodCreator.icns in Resources */, + A994BFA1147BC00900994C85 /* PodSpec.rb in Resources */, + A994BFA3147BC04F00994C85 /* PodFile.rb in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/PodCreator/AppDelegate.rb b/PodCreator/AppDelegate.rb index 34a40a1..d055f3f 100644 --- a/PodCreator/AppDelegate.rb +++ b/PodCreator/AppDelegate.rb @@ -4,68 +4,12 @@ # class AppDelegate - attr_accessor :window - attr_accessor :platformButton - attr_accessor :bridgeSupportCheckBox - attr_accessor :tableView - attr_accessor :arrayController - - PLATFORM = {'iOS' => ":ios", 'Mac' => ":osx" } def applicationDidFinishLaunching(a_notification) - @podList = PodList.alloc.init - @podList.delegate = self end def windowWillClose(a_notification) NSApp.terminate(self) end - - #---------------------------------------- - def showList(sender) - NSApp.beginSheet(@podList.window, - modalForWindow:window, - modalDelegate:self, - didEndSelector:nil, - contextInfo:nil) - - NSApp.endSheet(@podList.window) - end - - def remove(sender) - index = arrayController.selectionIndexes - arrayController.removeObjectsAtArrangedObjectIndexes(index) - end - - def create(sender) - panel = NSSavePanel.savePanel - panel.setCanChooseDirectories(true) - result = panel.runModalForDirectory(NSHomeDirectory(), - file:"Podfile") - if(result == NSOKButton) - path = panel.filename - plat = platformButton.titleOfSelectedItem - - File.open(path, "w") {|f| - f.puts "platform #{PLATFORM[plat]}" - ary = arrayController.arrangedObjects - ary.each do |item| - f.puts "dependency '#{item['name']}'" - end - - if bridgeSupportCheckBox.state == NSOnState - f.puts "generate_bridge_support!" - end - } - - system "open -a TextEdit '#{path}'" - end - end - - #---------------------------------------- - def addPod(pod) - arrayController.addObject(pod.dup) - end - end diff --git a/PodCreator/PodFile.rb b/PodCreator/PodFile.rb new file mode 100644 index 0000000..8c92857 --- /dev/null +++ b/PodCreator/PodFile.rb @@ -0,0 +1,65 @@ +# +# Podfile.rb +# PodCreator +# + +class PodFile + attr_accessor :window + attr_accessor :platformButton + attr_accessor :bridgeSupportCheckBox + attr_accessor :tableView + attr_accessor :arrayController + + PLATFORM = {'iOS' => ":ios", 'Mac' => ":osx" } + + def init + @podList = PodList.alloc.init + @podList.delegate = self + end + + #---------------------------------------- + def showList(sender) + NSApp.beginSheet(@podList.window, + modalForWindow:window, + modalDelegate:self, + didEndSelector:nil, + contextInfo:nil) + + NSApp.endSheet(@podList.window) + end + + def remove(sender) + index = arrayController.selectionIndexes + arrayController.removeObjectsAtArrangedObjectIndexes(index) + end + + def create(sender) + panel = NSSavePanel.savePanel + panel.setCanChooseDirectories(true) + result = panel.runModalForDirectory(NSHomeDirectory(), + file:"Podfile") + if(result == NSOKButton) + path = panel.filename + plat = platformButton.titleOfSelectedItem + + File.open(path, "w") {|f| + f.puts "platform #{PLATFORM[plat]}" + ary = arrayController.arrangedObjects + ary.each do |item| + f.puts "dependency '#{item['name']}'" + end + + if bridgeSupportCheckBox.state == NSOnState + f.puts "generate_bridge_support!" + end + } + + system "open -a TextEdit '#{path}'" + end + end + + #---------------------------------------- + def addPod(pod) + arrayController.addObject(pod.dup) + end +end diff --git a/PodCreator/PodSpec.rb b/PodCreator/PodSpec.rb new file mode 100644 index 0000000..906e4b9 --- /dev/null +++ b/PodCreator/PodSpec.rb @@ -0,0 +1,85 @@ +# +# PodSpec.rb +# PodCreator +# + +class PodSpec + attr_accessor :repoButton + attr_accessor :repoTagCombo + attr_accessor :objectController + + def create(sender) + objectController.commitEditing + content = objectController.content + + panel = NSSavePanel.savePanel + panel.setAllowedFileTypes(["podspec"]) + panel.setExtensionHidden(false) + result = panel.runModalForDirectory(NSHomeDirectory(), + file:"") + if(result == NSOKButton) + path = panel.filename + File.open(path, "w") {|f| + @io = f + f.puts "Pod::Spec.new do |s|" + + content.keys.each do |k| + case k + + when "author_name" + str = "{ '#{content[k]}' " + str += "=> '#{content['author_mail']}' " if content['author_mail'].length > 0 + str += "}" + out_spec("author", str) + + when "repo_url" + type = repoButton.titleOfSelectedItem + str = "{ :#{type} => '#{content[k]}'" + i = repoTagCombo.indexOfSelectedItem + str += ", :#{repoTagCombo.itemObjectValueAtIndex(i)} => '#{content['repo_tag']}'" if i >= 0 + str += " }" + out_spec("source", str) + + when "dep_framework" + out_specs("framework", "frameworks", content[k]) + + when "dep_library" + out_specs("library", "libraries", content[k]) + + when "source_files" + out_specs("source_files", "source_files", content[k]) + + when "require_arc" + out_spec(k, content[k].to_s) + + when "author_mail", "repo_tag" + # ignore + + else + out_spec(k, "'#{content[k]}'") + end + end + + f.puts "end" + } + + system "open -a TextEdit '#{path}'" + end + end + + def out_specs(key_s, key_m, data) + ary = data.split(',') + if ary.size > 1 + data = ary.map{ |x| "'#{x.strip}'" }.join(', ') + out_spec(key_m, data) + else + out_spec(key_s, "'#{data.strip}'") + end + end + + def out_spec(key, data) + @io.puts " s.#{key} = #{data}" + end + +end + diff --git a/PodCreator/en.lproj/MainMenu.xib b/PodCreator/en.lproj/MainMenu.xib index 0379588..4af649d 100755 --- a/PodCreator/en.lproj/MainMenu.xib +++ b/PodCreator/en.lproj/MainMenu.xib @@ -21,13 +21,17 @@ NSArrayController NSTableView NSCustomView + NSComboBox NSTextField + NSComboBoxCell NSWindowTemplate NSTextFieldCell NSButtonCell NSTableColumn + NSBox NSPopUpButtonCell NSView + NSObjectController NSScrollView NSTabViewItem NSPopUpButton @@ -339,7 +343,7 @@ 15 2 - {{109, 132}, {448, 424}} + {{109, 132}, {450, 531}} 611845120 PodCreator NSWindow @@ -353,16 +357,16 @@ 18 - {{13, 10}, {422, 404}} + {{-13, -10}, {476, 535}} - + _NS:608 YES 1 - + 256 YES @@ -430,7 +434,7 @@ - {{17, 96}, {368, 20}} + {{30, 165}, {390, 20}} _NS:1192 @@ -438,8 +442,8 @@ - 290 - {{17, 16}, {368, 33}} + 258 + {{30, 16}, {390, 33}} _NS:2466 @@ -462,7 +466,7 @@ 270 - {{91, 323}, {166, 26}} + {{97, 452}, {167, 26}} _NS:868 @@ -518,7 +522,7 @@ 268 - {{14, 329}, {62, 17}} + {{27, 458}, {62, 17}} _NS:3944 @@ -527,7 +531,11 @@ 68288064 272630784 Platform: - + + LucidaGrande + 12 + 16 + _NS:3944 @@ -563,7 +571,7 @@ 4352 - {366, 199} + {388, 259} _NS:1828 @@ -577,7 +585,7 @@ YES - 363 + 385 40 1000 @@ -626,7 +634,7 @@ 3 MQA - + 6 System gridColor @@ -647,7 +655,7 @@ 1 - {{1, 1}, {366, 199}} + {{1, 1}, {388, 259}} _NS:1826 @@ -680,7 +688,7 @@ 0.78032786885245897 - {{17, 115}, {368, 201}} + {{30, 184}, {390, 261}} _NS:1824 @@ -692,8 +700,8 @@ - 294 - {{15, 67}, {332, 18}} + 290 + {{28, 123}, {334, 18}} _NS:771 @@ -702,20 +710,16 @@ 67239424 0 Generate BridgeSupport (for MacRuby, Nu, JSCocoa) - - LucidaGrande - 12 - 16 - + _NS:771 1211912703 2 - + NSImage NSSwitch - + NSSwitch @@ -725,8 +729,7 @@ - {{10, 33}, {402, 358}} - + {{10, 33}, {456, 489}} _NS:610 @@ -737,1506 +740,3067 @@ 2 - + 256 - {{10, 33}, {402, 358}} - - _NS:620 - - PodSpec - - - - - - - 0 - YES - YES - - YES - - - - - {448, 424} - - - _NS:224 - - {{0, 0}, {1280, 778}} - {10000000000000, 10000000000000} - YES - - - - 256 - - YES - - - 266 - {{10, 121}, {280, 22}} - - - - _NS:903 - YES - - -2072904127 - 272634880 - - - LucidaGrande - 11 - 16 - - _NS:903 - - YES - - 6 - System - textBackgroundColor - - - - 6 - System - textColor - - - - - - - 268 - {{7, 142}, {55, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - License: - - _NS:3944 - - - - - - - - 266 - {{10, 167}, {280, 22}} - - - - _NS:903 - YES - - -2072904127 - 272634880 - - - _NS:903 - - YES - - - - - - - 268 - {{7, 188}, {76, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - Homepage: - - _NS:3944 - - - - - - - - 266 - {{10, 213}, {280, 22}} - - - - _NS:903 - YES - - -2072904127 - 272634880 - - - _NS:903 - - YES - - - - - - - 268 - {{7, 234}, {56, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - Version: - - _NS:3944 - - - - - - - - 266 - - YES - - - 2304 - - YES - - - 2322 - {278, 42} - - - - _NS:1480 - - - - - - - + + YES + + + 268 + {{32, 421}, {45, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Name: + + _NS:3944 + + + - - YES - + + + + 268 + {{27, 459}, {153, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Library Basic Information: + + _NS:3944 + + + - 134 - - - 278 - 1 - - - 2305 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor + + + 268 + {{27, 282}, {102, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Library Location: + + _NS:3944 + + + - - YES - + + + + 268 + {{27, 158}, {82, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Dependency: + + _NS:3944 + + + + + + + + 266 + {{105, 420}, {315, 19}} + + + _NS:903 + YES + + -1804468671 + 272630784 + + + LucidaGrande + 11 + 16 + + + _NS:903 + + YES + 6 System - selectedTextBackgroundColor - + textBackgroundColor + - + 6 System - selectedTextColor + textColor - - - YES - - YES - NSColor - NSCursor - NSUnderline + + + 266 + {{105, 402}, {315, 19}} + + + _NS:903 + 1 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + - - YES - - 1 - MCAwIDEAA + + + + 268 + {{32, 403}, {59, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Summary: + + _NS:3944 + + + + + + + + 268 + {{32, 385}, {52, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Version: + + _NS:3944 + + + + + + + + 268 + {{32, 367}, {52, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + License: + + _NS:3944 + + + + + + + + 268 + {{32, 331}, {54, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Author: + + _NS:3944 + + + + + + + + 268 + {{62, 312}, {47, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Name: + + _NS:3944 + + + + + + + + 264 + {{245, 312}, {32, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Mail: + + _NS:3944 + + + + + + + + 266 + {{105, 384}, {315, 19}} + + + _NS:903 + 2 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + + + + + + 266 + {{105, 366}, {315, 19}} + + + _NS:903 + 4 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + + + + + + 268 + {{32, 349}, {71, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Homepage: + + _NS:3944 + + + + + + + + 266 + {{105, 348}, {315, 19}} + + + _NS:903 + 5 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + + + + + + 264 + {{105, 311}, {120, 19}} + + + _NS:903 + 6 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + + + + + + 266 + {{278, 312}, {142, 19}} + + + _NS:903 + 7 + YES + + -1804468671 + 272630784 + + + _NS:903 + + YES + + + + + + + 268 + {{40, 238}, {88, 26}} + + + _NS:868 + 8 + YES + + -2076049856 + 2048 + + _NS:868 + + 109199615 + 129 + + + 400 + 75 + + + git + + 2147483647 + 1 + + + _popUpItemAction: + - - {8, -8} - 13 + YES + + OtherViews + + YES + + + + svn + + 2147483647 + + + _popUpItemAction: + + + + + hg + + 2147483647 + + + _popUpItemAction: + + + + - + 1 + YES + YES + 2 - - - 0 - - 6 - {463, 10000000} - {238, 42} - - - - {{1, 1}, {278, 42}} - - - - _NS:1478 - - - - {4, 5} - - 12582912 - - YES - - YES - - - - TU0AKgAAAHCAFUqgBVKsAAAAwdVQUqwaEQeIRGJRGFlYqwWLQ+JxuOQpVRmEx2RROKwOQyOUQSPyaUym -SxqWyKXyeYxyZzWbSuJTScRCbz2Nz+gRKhUOfTqeUai0OSxiWTiBQSHSGFquGwekxyAgAAAOAQAAAwAA -AAEAEAAAAQEAAwAAAAEAEAAAAQIAAwAAAAIACAAIAQMAAwAAAAEABQAAAQYAAwAAAAEAAQAAAREABAAA -AAEAAAAIARIAAwAAAAEAAQAAARUAAwAAAAEAAgAAARYAAwAAAAEAEAAAARcABAAAAAEAAABnARwAAwAA -AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA + + + 266 + {{140, 216}, {280, 19}} + + + _NS:903 + 11 + YES + + -1804468671 + 272630784 + + + specify tag or revision (optional) + _NS:903 + + YES + + + + + + + 266 + {{140, 243}, {280, 19}} + + + _NS:903 + 11 + YES + + -1804468671 + 272630784 + + + http://foo.com/bar.git + _NS:903 + + YES + + + + + + + 266 + {{140, 189}, {280, 19}} + + + _NS:903 + 11 + YES + + -1804468671 + 272630784 + + + specify files (comma separated) + _NS:903 + + YES + + + + + + + 268 + {{41, 212}, {87, 26}} + + + _NS:708 + 10 + YES + + 343014976 + 272630784 + + + _NS:708 + + YES + + + 5 + YES + + YES + tag + revision + commit + + + + + 274 + {13, 42} + + + _NS:738 + YES + + YES + + 10 + 10 + 1000 + + 75628032 + 0 + + + + 3 + MC4zMzMzMzI5ODU2AA + + + + + 338820672 + 1024 + + + YES + + + + 3 + YES + + + + 3 + 2 + + + 19 + tableViewAction: + -765427712 + + + + 1 + 15 + 0 + YES + 0 + 1 - - - 3 - MCAwAA - - - - 4 - - - - -2147483392 - {{264, 1}, {15, 42}} - - - - _NS:1494 - - _doScroller: - 1 - 0.85256409645080566 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - - - _NS:1482 - 1 - - _doScroller: - 1 - 0.94565218687057495 + + + 268 + {{38, 189}, {71, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Source File: + + _NS:3944 + + + + + + + + 266 + {{30, 16}, {390, 33}} + + + _NS:2466 + YES + + -2080244224 + 134217728 + Create PodSpec + + _NS:2466 + + -2033434369 + 162 + + + 400 + 75 + + + + + 268 + {{33, 76}, {100, 18}} + + + _NS:771 + YES + + 67239424 + 0 + Require ARC + + _NS:771 + + 1211912703 + 2 + + + + + 200 + 25 + + + + + 10 + {{25, 449}, {395, 5}} + + + _NS:2411 + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + 3 + 2 + 0 + NO + + + + 10 + {{25, 271}, {395, 5}} + + + _NS:2411 + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + 3 + 2 + 0 + NO + + + + 10 + {{25, 147}, {395, 5}} + + + _NS:2411 + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + 3 + 2 + 0 + NO + + + + 268 + {{32, 119}, {73, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Framework: + + _NS:3944 + + + + + + + + 266 + {{105, 118}, {315, 19}} + + + _NS:903 + YES + + -1804468671 + 272630784 + + + (optional) (comma separated) + _NS:903 + + YES + + + + + + + 266 + {{105, 100}, {315, 19}} + + + _NS:903 + 1 + YES + + -1804468671 + 272630784 + + + (optional) (comma separated) + _NS:903 + + YES + + + + + + + 268 + {{32, 101}, {59, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Library: + + _NS:3944 + + + + + + + {{10, 33}, {456, 489}} + + + _NS:620 + + PodSpec + + + + + + + 0 + YES + + YES + + + + + {450, 531} + + + _NS:224 + + {{0, 0}, {1280, 778}} + {10000000000000, 10000000000000} + YES + + + + 256 + + YES + + + 266 + {{10, 121}, {280, 22}} + + _NS:903 + YES + + -2072904127 + 272634880 + + + _NS:903 + + YES + + + + + + + 268 + {{7, 142}, {55, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + License: + + _NS:3944 + + + + + + + + 266 + {{10, 167}, {280, 22}} + + + _NS:903 + YES + + -2072904127 + 272634880 + + + _NS:903 + + YES + + + + + + + 268 + {{7, 188}, {76, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Homepage: + + _NS:3944 + + + + + + + + 266 + {{10, 213}, {280, 22}} + + + _NS:903 + YES + + -2072904127 + 272634880 + + + _NS:903 + + YES + + + + + + + 268 + {{7, 234}, {56, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Version: + + _NS:3944 + + + + + + + + 266 + + YES + + + 2304 + + YES + + + 2322 + {278, 42} + + + _NS:1480 + + + + + + + + + + YES + + + 134 + + + + 278 + 1 + + + 2305 + 0 + + + + YES + + YES + NSBackgroundColor + NSColor + + + YES + + 6 + System + selectedTextBackgroundColor + + + + 6 + System + selectedTextColor + + + + + + + YES + + YES + NSColor + NSCursor + NSUnderline + + + YES + + 1 + MCAwIDEAA + + + {8, -8} + 13 + + + + + + + 0 + + 6 + {463, 10000000} + {238, 42} + + + + {{1, 1}, {278, 42}} + + + _NS:1478 + + + + {4, 5} + + 12582912 + + YES + + YES + + + + TU0AKgAAAHCAFUqgBVKsAAAAwdVQUqwaEQeIRGJRGFlYqwWLQ+JxuOQpVRmEx2RROKwOQyOUQSPyaUym +SxqWyKXyeYxyZzWbSuJTScRCbz2Nz+gRKhUOfTqeUai0OSxiWTiBQSHSGFquGwekxyAgAAAOAQAAAwAA +AAEAEAAAAQEAAwAAAAEAEAAAAQIAAwAAAAIACAAIAQMAAwAAAAEABQAAAQYAAwAAAAEAAQAAAREABAAA +AAEAAAAIARIAAwAAAAEAAQAAARUAAwAAAAEAAgAAARYAAwAAAAEAEAAAARcABAAAAAEAAABnARwAAwAA +AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA + + + + + + 3 + MCAwAA + + + + 4 + + + + -2147483392 + {{264, 1}, {15, 42}} + + + _NS:1494 + + _doScroller: + 1 + 0.85256409645080566 + + + + -2147483392 + {{-100, -100}, {87, 18}} + + + _NS:1482 + 1 + + _doScroller: + 1 + 0.94565218687057495 + + + {{10, 259}, {280, 44}} + + + _NS:940 + 133650 + + + + + + + 268 + {{7, 300}, {81, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Description: + + _NS:3944 + + + + + + + + 266 + {{10, 325}, {280, 22}} + + + _NS:903 + YES + + -2072904127 + 272634880 + + + _NS:903 + + YES + + + + + + + 268 + {{7, 346}, {59, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Authors: + + _NS:3944 + + + + + + + + 266 + {{10, 371}, {280, 22}} + + + _NS:903 + YES + + -2072904127 + 272634880 + + + _NS:903 + + YES + + + + + + + 268 + {{7, 392}, {45, 17}} + + + _NS:3944 + YES + + 68288064 + 272630784 + Name: + + _NS:3944 + + + + + + + {300, 420} + + + NSView + + + AppDelegate + + + PodFile + + + PodSpec + + + + {100, 100} + {0, 0} + {10000, 10000} + 2 + 0.0 + 15 + + + + + NSFontManager + + + YES + + YES + YES + YES + YES + YES + + + YES + YES + + + + + + YES + + + terminate: + + + + 449 + + + + orderFrontStandardAboutPanel: + + + + 142 + + + + delegate + + + + 495 + + + + performMiniaturize: + + + + 37 + + + + arrangeInFront: + + + + 39 + + + + performClose: + + + + 193 + + + + performZoom: + + + + 240 + + + + saveDocument: + + + + 362 + + + + hide: + + + + 367 + + + + hideOtherApplications: + + + + 368 + + + + unhideAllApplications: + + + + 370 + + + + showHelp: + + + + 493 + + + + window + + + + 634 + + + + delegate + + + + 635 + + + + parentWindow + + + + 603 + + + + contentView + + + + 604 + + + + toggle: + + + + 690 + + + + value: arrangedObjects.name + + + + + + value: arrangedObjects.name + value + arrangedObjects.name + 2 + + + 631 + + + + value: selection.name + + + + + + value: selection.name + value + selection.name + 2 + + + 669 + + + + value: selection.authors + + + + + + value: selection.authors + value + selection.authors + 2 + + + 673 + + + + value: selection.version + + + + + + value: selection.version + value + selection.version + 2 + + + 681 + + + + value: selection.homepage + + + + + + value: selection.homepage + value + selection.homepage + 2 + + + 685 + + + + value: selection.license + + + + + + value: selection.license + value + selection.license + 2 + + + 689 + + + + attributedString: selection.description + + + + + + attributedString: selection.description + attributedString + selection.description + 2 + + + 729 + + + + value: selection.name + + + + + + value: selection.name + value + selection.name + 2 + + + 948 + + + + value: selection.summary + + + + + + value: selection.summary + value + selection.summary + 2 + + + 910 + + + + value: selection.version + + + + + + value: selection.version + value + selection.version + 2 + + + 943 + + + + value: selection.license + + + + + + value: selection.license + value + selection.license + 2 + + + 914 + + + + value: selection.author_name + + + + + + value: selection.author_name + value + selection.author_name + 2 + + + 918 + + + + value: selection.author_mail + + + + + + value: selection.author_mail + value + selection.author_mail + 2 + + + 920 + + + + value: selection.repo_tag + + + + + + value: selection.repo_tag + value + selection.repo_tag + + NSNullPlaceholder + specify tag or revision (optional) + + 2 + + + 957 + + + + value: selection.homepage + + + + + + value: selection.homepage + value + selection.homepage + 2 + + + 916 + + + + value: selection.require_arc + + + + + + value: selection.require_arc + value + selection.require_arc + 2 + + + 941 + + + + value: selection.source_files + + + + + + value: selection.source_files + value + selection.source_files + + NSNullPlaceholder + specify files (comma separated) + + 2 + + + 958 + + + + value: selection.dep_framework + + + + + + value: selection.dep_framework + value + selection.dep_framework + + NSNullPlaceholder + (optional) (comma separated) + + 2 + + + 959 + + + + value: selection.dep_library + + + + + + value: selection.dep_library + value + selection.dep_library + + NSNullPlaceholder + (optional) (comma separated) + + 2 + + + 960 + + + + arrayController + + + + 862 + + + + platformButton + + + + 863 + + + + bridgeSupportCheckBox + + + + 864 + + + + tableView + + + + 865 + + + + showList: + + + + 866 + + + + remove: + + + + 867 + + + + create: + + + + 868 + + + + window + + + + 869 + + + + create: + + + + 871 + + + + objectController + + + + 875 + + + + repoButton + + + + 945 + + + + repoTagCombo + + + + 946 + + + + value: selection.repo_url + + + + + + value: selection.repo_url + value + selection.repo_url + + NSNullPlaceholder + http://foo.com/bar.git + 2 - {{10, 259}, {280, 44}} - - - - _NS:940 - 133650 - - - - - - 268 - {{7, 300}, {81, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - Description: - - _NS:3944 - - - + 956 + + + + + YES + + 0 + + YES + + - - - 266 - {{10, 325}, {280, 22}} - - - - _NS:903 - YES - - -2072904127 - 272634880 - - - _NS:903 - - YES - - + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 29 + + + YES + + + + + + - - - 268 - {{7, 346}, {59, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - Authors: - - _NS:3944 - - - + + 19 + + + YES + + - - - 266 - {{10, 371}, {280, 22}} - - - - _NS:903 - YES - - -2072904127 - 272634880 - - - _NS:903 - - YES - - + + 56 + + + YES + + - - - 268 - {{7, 392}, {45, 17}} - - - - _NS:3944 - YES - - 68288064 - 272630784 - Name: - - _NS:3944 - - - + + 83 + + + YES + + - - {300, 420} - - - - NSView - - - AppDelegate - - - - {100, 100} - {0, 0} - {10000, 10000} - 2 - 0.0 - 15 - - - - - NSFontManager - - - YES - - YES - YES - YES - YES - YES - - - - - YES - - - terminate: - - + + 81 + + + YES + + + + + + + 75 + + + + + 73 + + + + + 57 + + + YES + + + + + + + + + + + + + - 449 - - - - orderFrontStandardAboutPanel: - - + + 58 + + - 142 - - - - delegate - - + + 134 + + - 495 - - - - performMiniaturize: - - + + 150 + + - 37 - - - - arrangeInFront: - - + + 136 + + - 39 - - - - performClose: - - + + 144 + + - 193 - - - - performZoom: - - + + 129 + + - 240 - - - - saveDocument: - - + + 143 + + - 362 - - - - hide: - - + + 236 + + - 367 - - - - hideOtherApplications: - - + + 131 + + + YES + + + - 368 - - - - unhideAllApplications: - - + + 149 + + - 370 - - - - showHelp: - - + + 145 + + - 493 - - - - arrayController - - + + 130 + + - 596 - - - - window - - + + 24 + + + YES + + + + + + - 634 - - - - remove: - - + + 92 + + - 626 - - - - showList: - - + + 5 + + - 628 - - - - create: - - + + 239 + + - 627 - - - - platformButton - - + + 23 + + - 632 - - - - tableView - - + + 295 + + + YES + + + - 633 - - - - bridgeSupportCheckBox - - + + 296 + + + YES + + + + + + 298 + + + + + 420 + + + + + 490 + + + YES + + + + + + 491 + + + YES + + + - 698 - - - - delegate - - + + 492 + + - 635 - - - - parentWindow - - + + 494 + + - 603 - - - - contentView - - + + 593 + + + PodFileArrayController - 604 - - - - toggle: - - + + 599 + + + YES + + + - 690 - - - - dataSource - - + + 600 + + + YES + + + + + + + + + + + + + + + Drawer Content View - 636 - - - - delegate - - + + 601 + + - 637 - - - - value: arrangedObjects.name - - - - - - value: arrangedObjects.name - value - arrangedObjects.name - 2 + + 602 + + + YES + + - 631 - - - - value: selection.name - - - - - - value: selection.name - value - selection.name - 2 + + 641 + + + YES + + - 669 - - - - value: selection.authors - - - - - - value: selection.authors - value - selection.authors - 2 + + 642 + + + + + 666 + + + YES + + - 673 - - - - value: selection.version - - - - - - value: selection.version - value - selection.version - 2 + + 667 + + + + + 691 + + + YES + + + - 681 - - - - value: selection.homepage - - - - - - value: selection.homepage - value - selection.homepage - 2 + + 692 + + + YES + + - 685 - - - - value: selection.license - - - - - - value: selection.license - value - selection.license - 2 + + 695 + + + YES + + + + + + + - 689 - - - - attributedString: selection.description - - - - - - attributedString: selection.description - attributedString - selection.description - 2 + + 609 + + + YES + + + - 729 - - - - - YES - 0 - + 610 + + YES + - - + - -2 - - - File's Owner + 611 + + + YES + + + - -1 - - - First Responder + 612 + + - -3 - - - Application + 613 + + - 29 - + 608 + YES - - - - - + - + - 19 - - - YES - - - + 614 + + - 56 - + 606 + YES - + - + - 83 - + 621 + YES - + - + - 81 - + 622 + YES - - + + - + - 75 - - + 623 + + - 73 - - + 624 + + - 57 - + 605 + YES - - - - - - - - - - - + - + - 58 - - + 625 + + - 134 - - + 607 + + + YES + + + + + - 150 - - + 615 + + - 136 - - + 617 + + - 144 - - + 618 + + + YES + + + - 129 - - + 619 + + + YES + + + - 143 - - + 620 + + - 236 - - + 696 + + + YES + + + - 131 - + 697 + + + + + 670 + YES - + - + - 149 - - + 671 + + - 145 - - + 643 + + + YES + + + - 130 - - + 644 + + - 24 - + 645 + YES - - - - + - + - 92 - - + 646 + + - 5 - - + 678 + + + YES + + + - 239 - - + 679 + + - 23 - - + 647 + + + YES + + + + + + 648 + + - 295 - + 682 + YES - + - + - 296 - + 683 + + + + + 649 + YES - + - + - 298 - - + 650 + + - 420 - - + 686 + + + YES + + + - 490 - + 687 + + + + + 651 + YES - + - + - 491 - + 652 + + + + + 724 + YES - + + + - + - 492 - - + 725 + + - 494 - - + 726 + + - 593 - - + 727 + + - 599 - + 693 + YES - + - + - 600 - + 694 + YES - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - Drawer Content View - - - 601 - - + - 602 - + 743 + YES - + - + - 641 - + 744 + + + + + 745 + YES - + - + - 642 - - + 746 + + - 666 - + 748 + YES - + - + - 667 - - + 751 + + - 691 - + 752 + YES - - + - + - 692 - + 755 + + + + + 756 + YES - + - + - 693 - + 757 + + + + + 758 + YES - + - + - 694 - - + 759 + + - 695 - + 760 + YES - - - - - - + - + - 609 - + 761 + + + + + 762 + YES - - + - + - 610 - + 763 + + + + + 764 + + + + + 765 + YES - + - + - 611 - + 766 + + + + + 767 + YES - + - - - - 612 - - + - 613 - - + 768 + + - 608 - + 771 + YES - + - + - 614 - - + 772 + + - 606 - + 769 + YES - + - + - 621 - + 770 + + + + + 773 + YES - + - + - 622 - + 774 + + + + + 777 + YES - - + - + - 623 - - + 778 + + - 624 - - + 780 + + - 605 - + 781 + YES - + - + - 625 - - + 782 + + - 607 - + 785 + YES - - - + - + - 615 - - + 786 + + + YES + + + - 617 - - + 787 + + + YES + + + + + + + + 788 + + + + + 789 + + + + + 790 + + - 618 - + 791 + YES - + - + - 619 - + 798 + + + + + 799 + YES - + - + - 620 - - + 800 + + - 696 - + 801 + YES - + - - - - 697 - - + - 670 - + 802 + YES - + - + - 671 - - + 803 + + - 643 - + 804 + + + + + 805 + YES - + - + - 644 - - + 806 + + - 645 - + 809 + YES - + - + - 646 - - + 810 + + - 678 - + 814 + YES - + - + - 679 - - + 815 + + - 647 - + 816 + + + + + 837 + YES - + - + - 648 - - + 838 + + - 682 - + 839 + YES - + - + - 683 - - + 840 + + - 649 - + 849 + YES - + - - - - 650 - - + - 686 - + 850 + YES - + - + - 687 - - + 851 + + + YES + + + - 651 - + 852 + YES - + - + - 652 - - + 853 + + - 724 - - - YES - - - - - + 854 + + - 725 - - + 855 + + - 726 - - + 856 + + - 727 - - + 857 + + + + + 870 + + + + + 872 + + + PodSpecObjectController + + + 952 + + + YES + + + + + + 953 + + @@ -2323,6 +3887,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA 683.IBPluginDependency 686.IBPluginDependency 687.IBPluginDependency + 691.IBAttributePlaceholdersKey 691.IBPluginDependency 692.IBPluginDependency 693.IBPluginDependency @@ -2335,10 +3900,81 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA 726.IBPluginDependency 727.IBPluginDependency 73.IBPluginDependency + 743.IBPluginDependency + 744.IBPluginDependency + 745.IBPluginDependency + 746.IBPluginDependency + 748.IBPluginDependency 75.IBPluginDependency + 751.IBPluginDependency + 752.IBPluginDependency + 755.IBPluginDependency + 756.IBPluginDependency + 757.IBPluginDependency + 758.IBPluginDependency + 759.IBPluginDependency + 760.IBPluginDependency + 761.IBPluginDependency + 762.IBPluginDependency + 763.IBPluginDependency + 764.IBPluginDependency + 765.IBPluginDependency + 766.IBPluginDependency + 767.IBPluginDependency + 768.IBPluginDependency + 769.IBPluginDependency + 770.IBPluginDependency + 771.IBPluginDependency + 772.IBPluginDependency + 773.IBPluginDependency + 774.IBPluginDependency + 777.IBPluginDependency + 778.IBPluginDependency + 780.IBPluginDependency + 781.IBPluginDependency + 782.IBPluginDependency + 785.IBPluginDependency + 786.IBPluginDependency + 787.IBPluginDependency + 788.IBPluginDependency + 789.IBPluginDependency + 790.IBPluginDependency + 791.IBPluginDependency + 798.IBPluginDependency + 799.IBPluginDependency + 800.IBComboBoxObjectValuesKey.objectValues + 800.IBPluginDependency + 801.IBPluginDependency + 802.IBPluginDependency + 803.IBPluginDependency + 804.IBPluginDependency + 805.IBPluginDependency + 806.IBPluginDependency + 809.IBPluginDependency 81.IBPluginDependency + 810.IBPluginDependency + 814.IBPluginDependency + 815.IBPluginDependency + 816.IBPluginDependency 83.IBPluginDependency + 837.IBPluginDependency + 838.IBPluginDependency + 839.IBPluginDependency + 840.IBPluginDependency + 849.IBPluginDependency + 850.IBPluginDependency + 851.IBPluginDependency + 852.IBPluginDependency + 853.IBPluginDependency + 854.IBPluginDependency + 855.IBPluginDependency + 856.IBPluginDependency + 857.IBPluginDependency + 870.IBPluginDependency + 872.IBPluginDependency 92.IBPluginDependency + 952.IBPluginDependency + 953.IBPluginDependency YES @@ -2421,6 +4057,90 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + InitialTabViewItem + + InitialTabViewItem + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + YES + tag + revision + commit + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -2451,7 +4171,7 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA - 729 + 960 @@ -2459,6 +4179,22 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA AppDelegate NSObject + + IBProjectSource + ./Classes/AppDelegate.h + + + + ButtonBarView + NSView + + IBProjectSource + ./Classes/ButtonBarView.h + + + + PodFile + NSObject YES @@ -2553,15 +4289,65 @@ AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA IBProjectSource - ./Classes/AppDelegate.h + ./Classes/PodFile.h - ButtonBarView - NSView + PodSpec + NSObject + + create: + id + + + create: + + create: + id + + + + YES + + YES + objectController + repoButton + repoTagCombo + + + YES + id + id + id + + + + YES + + YES + objectController + repoButton + repoTagCombo + + + YES + + objectController + id + + + repoButton + id + + + repoTagCombo + id + + + IBProjectSource - ./Classes/ButtonBarView.h + ./Classes/PodSpec.h