Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

THIS REPO HAS BEEN MOVED!

  • Loading branch information...
commit b797ffc5913f7bf6514be2ec63d82a0928994ff1 1 parent 2ab89bd
@alloy authored
Showing with 2 additions and 27,550 deletions.
  1. +0 −15 .gitignore
  2. +0 −18 .gitmodules
  3. +0 −14 .kick
  4. +0 −19 LICENSE
  5. +2 −88 README.md
  6. +0 −131 Rakefile
  7. +0 −1  TODO
  8. +0 −10 bin/pod
  9. +0 −40 cocoapods.gemspec
  10. +0 −371 examples/AFNetworking Mac Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
  11. +0 −10 examples/AFNetworking Mac Example/AFNetworking Mac Example.xcworkspace/contents.xcworkspacedata
  12. +0 −32 examples/AFNetworking Mac Example/AppDelegate.h
  13. +0 −33 examples/AFNetworking Mac Example/AppDelegate.m
  14. +0 −31 examples/AFNetworking Mac Example/Classes/AFGowallaAPIClient.h
  15. +0 −64 examples/AFNetworking Mac Example/Classes/AFGowallaAPIClient.m
  16. +0 −30 examples/AFNetworking Mac Example/Classes/Controllers/NearbySpotsController.h
  17. +0 −124 examples/AFNetworking Mac Example/Classes/Controllers/NearbySpotsController.m
  18. +0 −43 examples/AFNetworking Mac Example/Classes/Models/Spot.h
  19. +0 −76 examples/AFNetworking Mac Example/Classes/Models/Spot.m
  20. BIN  examples/AFNetworking Mac Example/Images/placeholder-stamp.png
  21. +0 −36 examples/AFNetworking Mac Example/Info.plist
  22. +0 −4 examples/AFNetworking Mac Example/Podfile
  23. +0 −7 examples/AFNetworking Mac Example/Prefix.pch
  24. +0 −13 examples/AFNetworking Mac Example/en.lproj/Credits.rtf
  25. +0 −1,042 examples/AFNetworking Mac Example/en.lproj/MainMenu.xib
  26. +0 −29 examples/AFNetworking Mac Example/main.m
  27. +0 −372 examples/AFNetworking iOS Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
  28. +0 −1  examples/AFNetworking iOS Example/AFNetworking iOS Example.xcworkspace/contents.xcworkspacedata
  29. +0 −32 examples/AFNetworking iOS Example/AppDelegate.h
  30. +0 −55 examples/AFNetworking iOS Example/AppDelegate.m
  31. +0 −31 examples/AFNetworking iOS Example/Classes/AFGowallaAPIClient.h
  32. +0 −67 examples/AFNetworking iOS Example/Classes/AFGowallaAPIClient.m
  33. +0 −32 examples/AFNetworking iOS Example/Classes/Controllers/NearbySpotsViewController.h
  34. +0 −191 examples/AFNetworking iOS Example/Classes/Controllers/NearbySpotsViewController.m
  35. +0 −43 examples/AFNetworking iOS Example/Classes/Models/Spot.h
  36. +0 −84 examples/AFNetworking iOS Example/Classes/Models/Spot.m
  37. +0 −31 examples/AFNetworking iOS Example/Classes/Views/SpotTableViewCell.h
  38. +0 −97 examples/AFNetworking iOS Example/Classes/Views/SpotTableViewCell.m
  39. BIN  examples/AFNetworking iOS Example/Images/placeholder-stamp.png
  40. BIN  examples/AFNetworking iOS Example/Images/placeholder-stamp@2x.png
  41. +0 −34 examples/AFNetworking iOS Example/Info.plist
  42. +0 −4 examples/AFNetworking iOS Example/Podfile
  43. +0 −10 examples/AFNetworking iOS Example/Prefix.pch
  44. +0 −30 examples/AFNetworking iOS Example/main.m
  45. +0 −656 examples/ConfigureTest/ConfigureTest.xcodeproj/project.pbxproj
  46. +0 −1  examples/ConfigureTest/ConfigureTest.xcworkspace/contents.xcworkspacedata
  47. +0 −15 examples/ConfigureTest/ConfigureTest/AppDelegate.h
  48. +0 −25 examples/ConfigureTest/ConfigureTest/AppDelegate.m
  49. +0 −34 examples/ConfigureTest/ConfigureTest/ConfigureTest-Info.plist
  50. +0 −7 examples/ConfigureTest/ConfigureTest/ConfigureTest-Prefix.pch
  51. +0 −29 examples/ConfigureTest/ConfigureTest/en.lproj/Credits.rtf
  52. +0 −2  examples/ConfigureTest/ConfigureTest/en.lproj/InfoPlist.strings
  53. +0 −4,582 examples/ConfigureTest/ConfigureTest/en.lproj/MainMenu.xib
  54. +0 −14 examples/ConfigureTest/ConfigureTest/main.m
  55. +0 −3  examples/ConfigureTest/Podfile
  56. +0 −128 examples/IdeasExample.podspec
  57. +0 −4 examples/MGSplitViewController/.gitignore
  58. +0 −34 examples/MGSplitViewController/Classes/DetailViewController.h
  59. +0 −186 examples/MGSplitViewController/Classes/DetailViewController.m
  60. +0 −28 examples/MGSplitViewController/Classes/MGSplitViewAppDelegate.h
  61. +0 −48 examples/MGSplitViewController/Classes/MGSplitViewAppDelegate.m
  62. +0 −21 examples/MGSplitViewController/Classes/RootViewController.h
  63. +0 −105 examples/MGSplitViewController/Classes/RootViewController.m
  64. +0 −790 examples/MGSplitViewController/DetailView.xib
  65. +0 −37 examples/MGSplitViewController/MGSplitView-Info.plist
  66. +0 −291 examples/MGSplitViewController/MGSplitView.xcodeproj/project.pbxproj
  67. +0 −7 examples/MGSplitViewController/MGSplitView.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  68. +0 −5,409 ...roller/MGSplitView.xcodeproj/project.xcworkspace/xcuserdata/eloy.xcuserdatad/UserInterfaceState.xcuserstate
  69. +0 −10 examples/MGSplitViewController/MGSplitView.xcworkspace/contents.xcworkspacedata
  70. +0 −14 examples/MGSplitViewController/MGSplitView_Prefix.pch
  71. +0 −731 examples/MGSplitViewController/MainWindow.xib
  72. +0 −3  examples/MGSplitViewController/Podfile
  73. +0 −76 examples/MGSplitViewController/README.markdown
  74. +0 −104 examples/MGSplitViewController/Source Code License.rtf
  75. +0 −8 examples/MGSplitViewController/TODO.markdown
  76. +0 −17 examples/MGSplitViewController/main.m
  77. +0 −334 examples/MacRubySample/MacRubySample.xcodeproj/project.pbxproj
  78. +0 −10 examples/MacRubySample/MacRubySample.xcworkspace/contents.xcworkspacedata
  79. +0 −47 examples/MacRubySample/MacRubySample/AppDelegate.rb
  80. +0 −30 examples/MacRubySample/MacRubySample/MacRubySample-Info.plist
  81. +0 −7 examples/MacRubySample/MacRubySample/MacRubySample-Prefix.pch
  82. +0 −2  examples/MacRubySample/MacRubySample/en.lproj/InfoPlist.strings
  83. +0 −3,861 examples/MacRubySample/MacRubySample/en.lproj/MainMenu.xib
  84. +0 −16 examples/MacRubySample/MacRubySample/main.m
  85. +0 −23 examples/MacRubySample/MacRubySample/rb_main.rb
  86. +0 −14 examples/MacRubySample/Podfile
  87. +0 −5 examples/MacRubySample/README
  88. +0 −56 examples/RKTwitter/Classes/RKTStatus.h
  89. +0 −36 examples/RKTwitter/Classes/RKTStatus.m
  90. +0 −19 examples/RKTwitter/Classes/RKTUser.h
  91. +0 −25 examples/RKTwitter/Classes/RKTUser.m
  92. +0 −16 examples/RKTwitter/Classes/RKTwitterAppDelegate.h
  93. +0 −71 examples/RKTwitter/Classes/RKTwitterAppDelegate.m
  94. +0 −17 examples/RKTwitter/Classes/RKTwitterViewController.h
  95. +0 −107 examples/RKTwitter/Classes/RKTwitterViewController.m
  96. +0 −202 examples/RKTwitter/LICENSE
  97. +0 −4 examples/RKTwitter/Podfile
  98. +0 −334 examples/RKTwitter/RKTwitter.xcodeproj/project.pbxproj
  99. +0 −7 examples/RKTwitter/RKTwitter.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  100. +0 −10 examples/RKTwitter/RKTwitter.xcworkspace/contents.xcworkspacedata
  101. +0 −8 examples/RKTwitter/RKTwitter_Prefix.pch
  102. BIN  examples/RKTwitter/Resources/BG.png
  103. BIN  examples/RKTwitter/Resources/BG@2x.png
  104. BIN  examples/RKTwitter/Resources/Default.png
  105. BIN  examples/RKTwitter/Resources/Default@2x.png
  106. +0 −28 examples/RKTwitter/Resources/RKTwitter-Info.plist
  107. BIN  examples/RKTwitter/Resources/listbg.png
  108. BIN  examples/RKTwitter/Resources/listbg@2x.png
  109. +0 −17 examples/RKTwitter/main.m
  110. +0 −13 examples/SSCatalog/Classes/SCAddressBarDemoViewController.h
  111. +0 −157 examples/SSCatalog/Classes/SCAddressBarDemoViewController.m
  112. +0 −14 examples/SSCatalog/Classes/SCAppDelegate.h
  113. +0 −51 examples/SSCatalog/Classes/SCAppDelegate.m
  114. +0 −13 examples/SSCatalog/Classes/SCBadgeTableViewCellDemoViewController.h
  115. +0 −116 examples/SSCatalog/Classes/SCBadgeTableViewCellDemoViewController.m
  116. +0 −13 examples/SSCatalog/Classes/SCCollectionViewDemoViewController.h
  117. +0 −100 examples/SSCatalog/Classes/SCCollectionViewDemoViewController.m
  118. +0 −16 examples/SSCatalog/Classes/SCGradientViewDemoViewController.h
  119. +0 −102 examples/SSCatalog/Classes/SCGradientViewDemoViewController.m
  120. +0 −16 examples/SSCatalog/Classes/SCHUDViewDemoViewController.h
  121. +0 −71 examples/SSCatalog/Classes/SCHUDViewDemoViewController.m
  122. +0 −15 examples/SSCatalog/Classes/SCImageCollectionViewItem.h
  123. +0 −54 examples/SSCatalog/Classes/SCImageCollectionViewItem.m
  124. +0 −13 examples/SSCatalog/Classes/SCLineViewDemoViewController.h
  125. +0 −57 examples/SSCatalog/Classes/SCLineViewDemoViewController.m
  126. +0 −13 examples/SSCatalog/Classes/SCLoadingViewDemoViewController.h
  127. +0 −43 examples/SSCatalog/Classes/SCLoadingViewDemoViewController.m
  128. +0 −15 examples/SSCatalog/Classes/SCPickerDemoViewController.h
  129. +0 −99 examples/SSCatalog/Classes/SCPickerDemoViewController.m
  130. +0 −10 examples/SSCatalog/Classes/SCPickerDetailViewController.h
  131. +0 −54 examples/SSCatalog/Classes/SCPickerDetailViewController.m
  132. +0 −15 examples/SSCatalog/Classes/SCPieProgressViewDemoViewController.h
  133. +0 −102 examples/SSCatalog/Classes/SCPieProgressViewDemoViewController.m
  134. +0 −11 examples/SSCatalog/Classes/SCRootViewController.h
  135. +0 −125 examples/SSCatalog/Classes/SCRootViewController.m
  136. +0 −15 examples/SSCatalog/Classes/SCSegmentedControlDemoViewController.h
  137. +0 −100 examples/SSCatalog/Classes/SCSegmentedControlDemoViewController.m
  138. +0 −14 examples/SSCatalog/Classes/SCSwitchDemoViewController.h
  139. +0 −97 examples/SSCatalog/Classes/SCSwitchDemoViewController.m
  140. +0 −13 examples/SSCatalog/Classes/SSRatingDemoViewController.h
  141. +0 −27 examples/SSCatalog/Classes/SSRatingDemoViewController.m
  142. +0 −14 examples/SSCatalog/Other Sources/SSCatalog_Prefix.pch
  143. +0 −15 examples/SSCatalog/Other Sources/main.m
  144. +0 −34 examples/SSCatalog/Podfile
  145. BIN  examples/SSCatalog/Resources/Default-Landscape~ipad.png
  146. BIN  examples/SSCatalog/Resources/Default-Portrait~ipad.png
  147. BIN  examples/SSCatalog/Resources/Default.png
  148. BIN  examples/SSCatalog/Resources/Default@2x.png
  149. BIN  examples/SSCatalog/Resources/Icon-114.png
  150. BIN  examples/SSCatalog/Resources/Icon-29.png
  151. BIN  examples/SSCatalog/Resources/Icon-48.png
  152. BIN  examples/SSCatalog/Resources/Icon-72.png
  153. BIN  examples/SSCatalog/Resources/Icon.png
  154. +0 −59 examples/SSCatalog/Resources/SSCatalog-Info.plist
  155. BIN  examples/SSCatalog/Resources/SamLogo.png
  156. BIN  examples/SSCatalog/Resources/SamLogo@2x.png
  157. BIN  examples/SSCatalog/Resources/iTunesArtwork
  158. +0 −450 examples/SSCatalog/SSCatalog.xcodeproj/project.pbxproj
  159. +0 −10 examples/SSCatalog/SSCatalog.xcworkspace/contents.xcworkspacedata
  160. +0 −10 examples/TestLib.podspec
  161. +0 −1  external/xcodeproj
  162. +0 −34 lib/cocoapods.rb
  163. +0 −23 lib/cocoapods/bridge_support_generator.rb
  164. +0 −93 lib/cocoapods/command.rb
  165. +0 −50 lib/cocoapods/command/install.rb
  166. +0 −60 lib/cocoapods/command/repo.rb
  167. +0 −35 lib/cocoapods/command/search.rb
  168. +0 −32 lib/cocoapods/command/setup.rb
  169. +0 −63 lib/cocoapods/command/spec.rb
  170. +0 −71 lib/cocoapods/config.rb
  171. +0 −87 lib/cocoapods/dependency.rb
  172. +0 −66 lib/cocoapods/downloader.rb
  173. +0 −15 lib/cocoapods/executable.rb
  174. +0 −256 lib/cocoapods/installer.rb
  175. +0 −217 lib/cocoapods/podfile.rb
  176. +0 −41 lib/cocoapods/resolver.rb
  177. +0 −59 lib/cocoapods/source.rb
  178. +0 −349 lib/cocoapods/specification.rb
  179. +0 −120 lib/cocoapods/specification/set.rb
  180. +0 −9 lib/cocoapods/version.rb
  181. +0 −99 lib/cocoapods/xcodeproj_ext.rb
  182. +0 −42 scratch-pad.md
  183. +0 −5 spec/fixtures/Podfile
  184. BIN  spec/fixtures/banana-lib.tar.gz
  185. +0 −1  spec/fixtures/integration/ASIHTTPRequest
  186. +0 −1  spec/fixtures/integration/JSONKit
  187. +0 −1  spec/fixtures/integration/SSZipArchive
  188. +0 −1  spec/fixtures/integration/sstoolkit
  189. +0 −1  spec/fixtures/spec-repos/master
  190. +0 −126 spec/functional/command_spec.rb
  191. +0 −44 spec/functional/downloader_spec.rb
  192. +0 −289 spec/integration_spec.rb
  193. +0 −42 spec/spec_helper.rb
  194. +0 −21 spec/spec_helper/fixture.rb
  195. +0 −51 spec/spec_helper/git.rb
  196. +0 −16 spec/spec_helper/log.rb
  197. +0 −29 spec/spec_helper/temporary_directory.rb
  198. +0 −14 spec/unit/bridge_support_generator_spec.rb
  199. +0 −44 spec/unit/command_spec.rb
  200. +0 −60 spec/unit/config_spec.rb
  201. +0 −34 spec/unit/dependency_spec.rb
  202. +0 −14 spec/unit/downloader_spec.rb
  203. +0 −49 spec/unit/installer_spec.rb
  204. +0 −115 spec/unit/podfile_spec.rb
  205. +0 −73 spec/unit/resolver_spec.rb
  206. +0 −28 spec/unit/source_spec.rb
  207. +0 −84 spec/unit/specification/set_spec.rb
  208. +0 −264 spec/unit/specification_spec.rb
  209. +0 −35 spec/unit/xcodeproj_ext_spec.rb
View
15 .gitignore
@@ -1,15 +0,0 @@
-*.swp
-*.swo
-*.rbo
-*.gem
-.DS_Store
-xcuserdata
-project.xcworkspace
-DerivedData
-tmp
-examples/Podfile
-examples/Pods
-examples/**/Pods
-spec/fixtures/banana-lib
-pod
-/concatenated.*
View
18 .gitmodules
@@ -1,18 +0,0 @@
-[submodule "spec/fixtures/integration/ASIHTTPRequest"]
- path = spec/fixtures/integration/ASIHTTPRequest
- url = https://github.com/pokeb/asi-http-request.git
-[submodule "spec/fixtures/integration/SSZipArchive"]
- path = spec/fixtures/integration/SSZipArchive
- url = https://github.com/samsoffes/ssziparchive.git
-[submodule "spec/fixtures/integration/JSONKit"]
- path = spec/fixtures/integration/JSONKit
- url = https://github.com/johnezang/JSONKit.git
-[submodule "spec/fixtures/spec-repos/master"]
- path = spec/fixtures/spec-repos/master
- url = git://github.com/alloy/cocoapods-specs.git
-[submodule "spec/fixtures/integration/sstoolkit"]
- path = spec/fixtures/integration/sstoolkit
- url = https://github.com/samsoffes/sstoolkit.git
-[submodule "external/xcodeproj"]
- path = external/xcodeproj
- url = git@github.com:alloy/xcodeproj.git
View
14 .kick
@@ -1,14 +0,0 @@
-recipe :ruby
-
-Ruby.runner_bin = 'macbacon'
-
-process do |files|
- specs = files.take_and_map do |file|
- case file
- when %r{lib/cocoapods/(.+?)\.rb$}
- s = Dir.glob("spec/**/#{$1}_spec.rb")
- s unless s.empty?
- end
- end
- Ruby.run_tests(specs)
-end
View
19 LICENSE
@@ -1,19 +0,0 @@
-Copyright (c) 2011 Eloy Durán <eloy.de.enige@gmail.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
90 README.md
@@ -1,89 +1,3 @@
-# CocoaPods – an Objective-C library manager
+# This repo has been moved!
-CocoaPods manages library dependencies for your Xcode project.
-
-You specify the dependencies for your project in one easy text file. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.
-
-Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
-
-See [the wiki](https://github.com/alloy/cocoapods/wiki) for more in depth information on several topics.
-
-
-## Installation
-
-Downloading and installing CocoaPods only takes a few minutes.
-
-CocoaPods runs on [MacRuby](http://macruby.org). If you don't have a recent version of MacRuby installed you will need to download it. CocoaPods works best on version 0.10.
-
- $ curl -O http://www.macruby.org/files/MacRuby%200.10.zip
- $ open MacRuby%200.10.zip
- # open MacRuby\ 0.10/MacRuby\ 0.10.pkg
-
-After that you can install CocoaPods itself.
-
- $ sudo macgem install cocoapods
- $ pod setup
-
-Now that you've got CocoaPods installed you can easily add it to your project.
-
-
-## Adding it to your project
-
-Search for Pods by name or description.
-
- $ pod search asi
- ==> ASIHTTPRequest (1.8.1)
- Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
-
- ==> ASIWebPageRequest (1.8.1)
- The ASIWebPageRequest class included with ASIHTTPRequest lets you download
- complete webpages, including external resources like images and stylesheets.
-
-After you've found your favorite dependencies you add them to your [Podfile](https://github.com/alloy/cocoapods/wiki/A-Podfile).
-
- $ edit Podfile
- platform :ios
- dependency 'JSONKit', '~> 1.4'
- dependency 'Reachability', '~> 2.0.4'
-
-And then you [install the dependencies](https://github.com/alloy/cocoapods/wiki/Creating-a-project-that-uses-CocoaPods) in your project.
-
- $ pod install App.xcodeproj
-
-_Where ‘App.xcodeproj’ is the name of your actual application project._
-
-Remember to always open the Xcode workspace instead of the project file when you're building.
-
- $ open App.xcworkspace
-
-Sometimes CocoaPods doesn't have a Pod for one of your dependencies yet. Fortunately [creating a Pod](https://github.com/alloy/cocoapods/wiki/A-pod-specification) is really easy.
-
- $ pod spec create Peanuts
- $ edit Peanuts.podspec
- $ pod spec lint Peanuts.podspec
-
-Once you've got it running [create a ticket](https://github.com/alloy/cocoapods/issues) and upload the Pod. If you're familiar with Git you can also fork the [CocoaPods specs](https://github.com/alloy/cocoapods-specs) repository and send a pull request. We really love contributions!
-
-There are several other ways to start using **any** library without a Pod specification, which can be seen in the [SSCatalog example](https://github.com/alloy/cocoapods/blob/master/examples/SSCatalog/Podfile).
-
-
-## Collaborate
-
-All CocoaPods development happens on GitHub, there is a repository for [CocoaPods](https://github.com/alloy/cocoapods) and one for the [CocoaPods specs](https://github.com/alloy/cocoapods-specs). Contributing patches or Pods is really easy and gratifying. You even get push access when one of your specs or patches is accepted.
-
-Follow [@CocoaPodsOrg](http://twitter.com/CocoaPodsOrg) to get up to date information about what's going on in the CocoaPods world.
-
-If you're really oldschool and you want to discuss CocoaPods development you can join #cocoapods on irc.freenode.net.
-
-
-# Endorsements
-
-* “I am crazy excited about this. With the growing number of Objective-C libraries, this will make things so much better.” –– [Sam Soffes](http://news.ycombinator.com/item?id=3009154)
-* “Are you doing open source iOS components? You really should support @CocoaPodsOrg!” –– [Matthias Tretter](http://twitter.com/#!/myell0w/status/134955697740840961)
-* “So glad someone has finally done this...” –– [Tom Wilson](http://news.ycombinator.com/item?id=3009349)
-* “Anybody who has tasted the coolness of RubyGems (and @gembundler) understands how cool CocoaPods might be.” –– [StuFF mc](http://twitter.com/#!/stuffmc/status/115374231591731200)
-* “I will be working on getting several of my Objective-C libraries ready for CocoaPods this week!” –– [Luke Redpath](http://twitter.com/#!/lukeredpath/status/115510581921988608)
-* “Really digg how @alloy is building a potential game changer” –– [Klaas Speller](https://twitter.com/#!/spllr/status/115914209438601216)
-* “@alloy's making an Objective-C package manager: github.com/alloy/cocoapods. This is fantastic news kids!” –– [Josh Abernathy](http://twitter.com/#!/joshaber/status/115273577703555073)
-* “A package manager for Cocoa/Objective-C, built with @MacRuby. Awesomeness!” –– [Johannes Fahrenkrug](http://twitter.com/#!/jfahrenkrug/status/115303240286998528)
-* “This is awesome, I love endorsements!” –– [Appie Durán](http://twitter.com/#!/AppieDuran)
+The current location is: https://github.com/CocoaPods/CocoaPods
View
131 Rakefile
@@ -1,131 +0,0 @@
-class Array
- def move_to_front(name, by_basename = true)
- path = find { |f| (by_basename ? File.basename(f) : f) == name }
- delete(path)
- unshift(path)
- end
-end
-
-task :standalone do
- files = Dir.glob("lib/**/*.rb")
- files.move_to_front('executable.rb')
- files.move_to_front('lib/cocoapods/config.rb', false)
- files.move_to_front('cocoapods.rb')
- File.open('concatenated.rb', 'w') do |f|
- files.each do |file|
- File.read(file).split("\n").each do |line|
- f.puts(line) unless line.include?('autoload')
- end
- end
- f.puts 'Pod::Command.run(*ARGV)'
- end
- sh "macrubyc concatenated.rb -o pod"
-end
-
-####
-
-desc "Compile the source files (as rbo files)"
-task :compile do
- Dir.glob("lib/**/*.rb").each do |file|
- sh "macrubyc #{file} -C -o #{file}o"
- end
-end
-
-desc "Remove rbo files"
-task :clean do
- sh "rm -f lib/**/*.rbo"
- sh "rm -f lib/**/*.o"
- sh "rm -f *.gem"
-end
-
-desc "Install a gem version of the current code"
-task :install do
- require 'lib/cocoapods'
- sh "gem build cocoapods.gemspec"
- sh "sudo macgem install cocoapods-#{Pod::VERSION}.gem"
- sh "sudo macgem compile cocoapods"
-end
-
-namespace :spec do
- desc "Run the unit specs"
- task :unit do
- sh "macbacon spec/unit/**/*_spec.rb"
- end
-
- desc "Run the functional specs"
- task :functional do
- sh "macbacon spec/functional/*_spec.rb"
- end
-
- desc "Run the integration spec"
- task :integration do
- sh "macbacon spec/integration_spec.rb"
- end
-
- task :all do
- sh "macbacon -a"
- end
-
- desc "Rebuild all the fixture tarballs"
- task :rebuild_fixture_tarballs do
- tarballs = FileList['spec/fixtures/**/*.tar.gz']
- tarballs.each do |tarball|
- basename = File.basename(tarball)
- sh "cd #{File.dirname(tarball)} && rm #{basename} && tar -zcf #{basename} #{basename[0..-8]}"
- end
- end
-end
-
-desc "Build all examples"
-task :build_examples do
- require 'pathname'
- examples = Pathname.new(File.expand_path('../examples', __FILE__))
- examples.entries.each do |example|
- next if %w{ . .. ConfigureTest MacRubySample }.include?(example.basename.to_s)
- example = examples + example
- next unless example.directory?
- puts "Building example: #{example}"
- puts
- Dir.chdir(example.to_s) do
- sh "rm -rf Pods DerivedData"
- sh "../../bin/pod install --verbose"
- sh "xcodebuild -workspace '#{example.basename}.xcworkspace' -scheme '#{example.basename}'"
- end
- puts
- end
-end
-
-desc "Dumps a Xcode project as YAML, meant for diffing"
-task :dump_xcodeproj do
- require 'yaml'
- hash = NSDictionary.dictionaryWithContentsOfFile(File.join(ENV['xcodeproj'], 'project.pbxproj'))
- objects = hash['objects']
- result = objects.values.map do |object|
- if children = object['children']
- object['children'] = children.map do |uuid|
- child = objects[uuid]
- child['path'] || child['name']
- end.sort
- elsif files = object['files']
- object['files'] = files.map do |uuid|
- build_file = objects[uuid]
- file = objects[build_file['fileRef']]
- file['path']
- end
- elsif file_ref = object['fileRef']
- file = objects[file_ref]
- object['file'] = file['path']
- end
- object
- end
- result.each do |object|
- object.delete('fileRef')
- end
- result = result.sort_by do |object|
- [object['isa'], object['file'], object['path'], object['name']].compact
- end
- puts result.to_yaml
-end
-
-desc "Run all specs"
-task :spec => 'spec:all'
View
1  TODO
@@ -1 +0,0 @@
-* The user *has* to specify the platform of the project in the Podfile.
View
10 bin/pod
@@ -1,10 +0,0 @@
-#!/usr/bin/env macruby
-
-if $0 == __FILE__
- $:.unshift File.expand_path('../../external/xcodeproj/lib', __FILE__)
- $:.unshift File.expand_path('../../lib', __FILE__)
-end
-
-require 'cocoapods'
-
-Pod::Command.run(*ARGV)
View
40 cocoapods.gemspec
@@ -1,40 +0,0 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/cocoapods', __FILE__)
-
-Gem::Specification.new do |s|
- s.name = "cocoapods"
- s.version = Pod::VERSION
- s.date = "2011-09-17"
- s.license = "MIT"
- s.email = "eloy.de.enige@gmail.com"
- s.homepage = "https://github.com/alloy/cocoapods"
- s.authors = ["Eloy Duran"]
-
- s.summary = "A simple Objective-C library package manager. (Requires MacRuby.)"
- s.description = "CocoaPods is an Objective-C library package manager. It tries " \
- "to take away all hard work of maintaining your dependencies, " \
- "but in a lean and flexible way. Its goal is to create a more " \
- "centralized overview of open-source libraries and unify the way " \
- "in which we deal with them.\n" \
- "CocoaPods will calculate the right set of versions of all of your " \
- "project's dependencies, install them, and set them up to be build " \
- "as part of a dependency static library, which your project links " \
- "against."
-
- s.files = Dir["lib/**/*.rb"] +
- %w{ bin/pod README.md LICENSE }
-
- s.executables = %w{ pod }
- s.require_paths = %w{ lib }
-
- s.post_install_message = "To speed up load time of CocoaPods consider compiling the Ruby source files:\n\n" \
- " $ sudo macgem install rubygems-compile\n" \
- " $ sudo macgem compile cocoapods\n\n"
-
- s.add_runtime_dependency 'xcodeproj', '~> 0.0.1'
-
- ## Make sure you can build the gem on older versions of RubyGems too:
- s.rubygems_version = "1.6.2"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.specification_version = 3 if s.respond_to? :specification_version
-end
View
371 examples/AFNetworking Mac Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
@@ -1,371 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 11B1743F89354E14AD85E930 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8611E331022F4C3AA09890CC /* libPods.a */; };
- F87A15CD1444A30800318955 /* AFGowallaAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15C61444A30800318955 /* AFGowallaAPIClient.m */; };
- F87A15CE1444A30800318955 /* NearbySpotsController.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15C91444A30800318955 /* NearbySpotsController.m */; };
- F87A15CF1444A30800318955 /* Spot.m in Sources */ = {isa = PBXBuildFile; fileRef = F87A15CC1444A30800318955 /* Spot.m */; };
- F87A15D11444A3EB00318955 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F87A15D01444A3EB00318955 /* CoreLocation.framework */; };
- F87A15DD1444A86600318955 /* placeholder-stamp.png in Resources */ = {isa = PBXBuildFile; fileRef = F87A15DB1444A86600318955 /* placeholder-stamp.png */; };
- F8A27AC7142CFE1300F5E0D6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */; };
- F8A27AC8142CFE1300F5E0D6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F8A27AB3142CFE1300F5E0D6 /* main.m */; };
- F8A27AC9142CFE1300F5E0D6 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */; };
- F8A27ACA142CFE1300F5E0D6 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */; };
- F8CEEB6F142CEC6E00247B03 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 7F444671037A4EAEBDA542D6 /* Pods.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; };
- 8611E331022F4C3AA09890CC /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
- F87A15C51444A30800318955 /* AFGowallaAPIClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AFGowallaAPIClient.h; sourceTree = "<group>"; };
- F87A15C61444A30800318955 /* AFGowallaAPIClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFGowallaAPIClient.m; sourceTree = "<group>"; };
- F87A15C81444A30800318955 /* NearbySpotsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NearbySpotsController.h; sourceTree = "<group>"; };
- F87A15C91444A30800318955 /* NearbySpotsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NearbySpotsController.m; sourceTree = "<group>"; };
- F87A15CB1444A30800318955 /* Spot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Spot.h; sourceTree = "<group>"; };
- F87A15CC1444A30800318955 /* Spot.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Spot.m; sourceTree = "<group>"; };
- F87A15D01444A3EB00318955 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
- F87A15DB1444A86600318955 /* placeholder-stamp.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "placeholder-stamp.png"; sourceTree = "<group>"; };
- F8A27AB1142CFE1300F5E0D6 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
- F8A27AB3142CFE1300F5E0D6 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- F8A27ABA142CFE1300F5E0D6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = Credits.rtf; sourceTree = "<group>"; };
- F8A27ABC142CFE1300F5E0D6 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = MainMenu.xib; sourceTree = "<group>"; };
- F8A27AC4142CFE1300F5E0D6 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = "<group>"; };
- F8A27AC5142CFE1300F5E0D6 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
- F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Mac Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
- F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
- F8CEEB71142CEC6E00247B03 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- F8CEEB72142CEC6E00247B03 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- F8CEEB73142CEC6E00247B03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- F8CEEB67142CEC6E00247B03 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F87A15D11444A3EB00318955 /* CoreLocation.framework in Frameworks */,
- F8CEEB6F142CEC6E00247B03 /* Cocoa.framework in Frameworks */,
- 11B1743F89354E14AD85E930 /* libPods.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- F87A15C41444A30800318955 /* Classes */ = {
- isa = PBXGroup;
- children = (
- F87A15C51444A30800318955 /* AFGowallaAPIClient.h */,
- F87A15C61444A30800318955 /* AFGowallaAPIClient.m */,
- F87A15C71444A30800318955 /* Controllers */,
- F87A15CA1444A30800318955 /* Models */,
- );
- path = Classes;
- sourceTree = "<group>";
- };
- F87A15C71444A30800318955 /* Controllers */ = {
- isa = PBXGroup;
- children = (
- F87A15C81444A30800318955 /* NearbySpotsController.h */,
- F87A15C91444A30800318955 /* NearbySpotsController.m */,
- );
- path = Controllers;
- sourceTree = "<group>";
- };
- F87A15CA1444A30800318955 /* Models */ = {
- isa = PBXGroup;
- children = (
- F87A15CB1444A30800318955 /* Spot.h */,
- F87A15CC1444A30800318955 /* Spot.m */,
- );
- path = Models;
- sourceTree = "<group>";
- };
- F87A15DA1444A86600318955 /* Images */ = {
- isa = PBXGroup;
- children = (
- F87A15DB1444A86600318955 /* placeholder-stamp.png */,
- );
- path = Images;
- sourceTree = "<group>";
- };
- F8A27ACD142CFE3000F5E0D6 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- F8A27AB3142CFE1300F5E0D6 /* main.m */,
- F8A27AB1142CFE1300F5E0D6 /* Info.plist */,
- F8A27AB2142CFE1300F5E0D6 /* AppDelegate.m */,
- F8A27AC4142CFE1300F5E0D6 /* Prefix.pch */,
- F8A27AC5142CFE1300F5E0D6 /* AppDelegate.h */,
- F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */,
- F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */,
- F87A15DA1444A86600318955 /* Images */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- F8CEEB5F142CEC6E00247B03 = {
- isa = PBXGroup;
- children = (
- F87A15C41444A30800318955 /* Classes */,
- F8A27ACD142CFE3000F5E0D6 /* Supporting Files */,
- F8CEEB6D142CEC6E00247B03 /* Frameworks */,
- F8CEEB6B142CEC6E00247B03 /* Products */,
- 7F444671037A4EAEBDA542D6 /* Pods.xcconfig */,
- );
- sourceTree = "<group>";
- };
- F8CEEB6B142CEC6E00247B03 /* Products */ = {
- isa = PBXGroup;
- children = (
- F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- F8CEEB6D142CEC6E00247B03 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F87A15D01444A3EB00318955 /* CoreLocation.framework */,
- F8CEEB6E142CEC6E00247B03 /* Cocoa.framework */,
- F8CEEB70142CEC6E00247B03 /* Other Frameworks */,
- 8611E331022F4C3AA09890CC /* libPods.a */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- F8CEEB70142CEC6E00247B03 /* Other Frameworks */ = {
- isa = PBXGroup;
- children = (
- F8CEEB71142CEC6E00247B03 /* AppKit.framework */,
- F8CEEB72142CEC6E00247B03 /* CoreData.framework */,
- F8CEEB73142CEC6E00247B03 /* Foundation.framework */,
- );
- name = "Other Frameworks";
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- F8CEEB69142CEC6E00247B03 /* AFNetworking Mac Example */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = F8CEEB88142CEC6E00247B03 /* Build configuration list for PBXNativeTarget "AFNetworking Mac Example" */;
- buildPhases = (
- F8CEEB66142CEC6E00247B03 /* Sources */,
- F8CEEB67142CEC6E00247B03 /* Frameworks */,
- F8CEEB68142CEC6E00247B03 /* Resources */,
- EA4ACD0F68074D0289CD79E3 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "AFNetworking Mac Example";
- productName = "AFNetworking Mac Example";
- productReference = F8CEEB6A142CEC6E00247B03 /* AFNetworking Mac Example.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- F8CEEB61142CEC6E00247B03 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0420;
- ORGANIZATIONNAME = Gowalla;
- };
- buildConfigurationList = F8CEEB64142CEC6E00247B03 /* Build configuration list for PBXProject "AFNetworking Mac Example" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = F8CEEB5F142CEC6E00247B03;
- productRefGroup = F8CEEB6B142CEC6E00247B03 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- F8CEEB69142CEC6E00247B03 /* AFNetworking Mac Example */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- F8CEEB68142CEC6E00247B03 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F8A27AC9142CFE1300F5E0D6 /* Credits.rtf in Resources */,
- F8A27ACA142CFE1300F5E0D6 /* MainMenu.xib in Resources */,
- F87A15DD1444A86600318955 /* placeholder-stamp.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- EA4ACD0F68074D0289CD79E3 /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- F8CEEB66142CEC6E00247B03 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F8A27AC7142CFE1300F5E0D6 /* AppDelegate.m in Sources */,
- F8A27AC8142CFE1300F5E0D6 /* main.m in Sources */,
- F87A15CD1444A30800318955 /* AFGowallaAPIClient.m in Sources */,
- F87A15CE1444A30800318955 /* NearbySpotsController.m in Sources */,
- F87A15CF1444A30800318955 /* Spot.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- F8A27AB9142CFE1300F5E0D6 /* Credits.rtf */ = {
- isa = PBXVariantGroup;
- children = (
- F8A27ABA142CFE1300F5E0D6 /* en */,
- );
- name = Credits.rtf;
- path = en.lproj;
- sourceTree = "<group>";
- };
- F8A27ABB142CFE1300F5E0D6 /* MainMenu.xib */ = {
- isa = PBXVariantGroup;
- children = (
- F8A27ABC142CFE1300F5E0D6 /* en */,
- );
- name = MainMenu.xib;
- path = en.lproj;
- sourceTree = "<group>";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- F8CEEB86142CEC6E00247B03 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_ENABLE_OBJC_ARC = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- };
- name = Debug;
- };
- F8CEEB87142CEC6E00247B03 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- CLANG_ENABLE_OBJC_ARC = YES;
- COPY_PHASE_STRIP = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
- SDKROOT = macosx;
- };
- name = Release;
- };
- F8CEEB89142CEC6E00247B03 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7F444671037A4EAEBDA542D6 /* Pods.xcconfig */;
- buildSettings = {
- DSTROOT = /tmp/Pods.dst;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = Prefix.pch;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- INFOPLIST_FILE = Info.plist;
- OTHER_LDFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SKIP_INSTALL = YES;
- WRAPPER_EXTENSION = app;
- };
- name = Debug;
- };
- F8CEEB8A142CEC6E00247B03 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7F444671037A4EAEBDA542D6 /* Pods.xcconfig */;
- buildSettings = {
- DSTROOT = /tmp/Pods.dst;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = Prefix.pch;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- INFOPLIST_FILE = Info.plist;
- OTHER_LDFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SKIP_INSTALL = YES;
- WRAPPER_EXTENSION = app;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- F8CEEB64142CEC6E00247B03 /* Build configuration list for PBXProject "AFNetworking Mac Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- F8CEEB86142CEC6E00247B03 /* Debug */,
- F8CEEB87142CEC6E00247B03 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- F8CEEB88142CEC6E00247B03 /* Build configuration list for PBXNativeTarget "AFNetworking Mac Example" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- F8CEEB89142CEC6E00247B03 /* Debug */,
- F8CEEB8A142CEC6E00247B03 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = F8CEEB61142CEC6E00247B03 /* Project object */;
-}
View
10 ...es/AFNetworking Mac Example/AFNetworking Mac Example.xcworkspace/contents.xcworkspacedata
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:AFNetworking Mac Example.xcodeproj">
- </FileRef>
-</Workspace>
View
32 examples/AFNetworking Mac Example/AppDelegate.h
@@ -1,32 +0,0 @@
-// AppDelegate.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-
-#import <Cocoa/Cocoa.h>
-
-@interface AppDelegate : NSObject <NSApplicationDelegate> {
- NSWindow *_window;
-}
-
-@property (strong) IBOutlet NSWindow *window;
-
-@end
View
33 examples/AFNetworking Mac Example/AppDelegate.m
@@ -1,33 +0,0 @@
-// AppDelegate.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-
-#import "AppDelegate.h"
-
-@implementation AppDelegate
-@synthesize window = _window;
-
-- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
-
-}
-
-@end
View
31 examples/AFNetworking Mac Example/Classes/AFGowallaAPIClient.h
@@ -1,31 +0,0 @@
-// AFGowallaAPI.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import "AFHTTPClient.h"
-
-extern NSString * const kAFGowallaClientID;
-extern NSString * const kAFGowallaBaseURLString;
-
-@interface AFGowallaAPIClient : AFHTTPClient
-+ (AFGowallaAPIClient *)sharedClient;
-@end
View
64 examples/AFNetworking Mac Example/Classes/AFGowallaAPIClient.m
@@ -1,64 +0,0 @@
-// AFGowallaAPI.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "AFGowallaAPIClient.h"
-
-#import "AFJSONRequestOperation.h"
-
-// Replace this with your own API Key, available at http://api.gowalla.com/api/keys/
-NSString * const kAFGowallaClientID = @"e7ccb7d3d2414eb2af4663fc91eb2793";
-
-NSString * const kAFGowallaBaseURLString = @"https://api.gowalla.com/";
-
-@implementation AFGowallaAPIClient
-
-+ (AFGowallaAPIClient *)sharedClient {
- static AFGowallaAPIClient *_sharedClient = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _sharedClient = [[self alloc] initWithBaseURL:[NSURL URLWithString:kAFGowallaBaseURLString]];
- });
-
- return _sharedClient;
-}
-
-- (id)initWithBaseURL:(NSURL *)url {
- self = [super initWithBaseURL:url];
- if (!self) {
- return nil;
- }
-
- [self registerHTTPOperationClass:[AFJSONRequestOperation class]];
-
- // Accept HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
- [self setDefaultHeader:@"Accept" value:@"application/json"];
-
- // X-Gowalla-API-Key HTTP Header; see http://api.gowalla.com/api/docs
- [self setDefaultHeader:@"X-Gowalla-API-Key" value:kAFGowallaClientID];
-
- // X-Gowalla-API-Version HTTP Header; see http://api.gowalla.com/api/docs
- [self setDefaultHeader:@"X-Gowalla-API-Version" value:@"1"];
-
- return self;
-}
-
-@end
View
30 examples/AFNetworking Mac Example/Classes/Controllers/NearbySpotsController.h
@@ -1,30 +0,0 @@
-// NearbySpotsViewController.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Cocoa/Cocoa.h>
-#import <CoreLocation/CoreLocation.h>
-
-@interface NearbySpotsController : NSObject <CLLocationManagerDelegate, NSTableViewDataSource, NSTableViewDelegate>
-
-@property (strong) IBOutlet NSTableView *tableView;
-
-@end
View
124 examples/AFNetworking Mac Example/Classes/Controllers/NearbySpotsController.m
@@ -1,124 +0,0 @@
-// NearbySpotsViewController.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "NearbySpotsController.h"
-
-#import "Spot.h"
-
-#import "AFImageRequestOperation.h"
-#import "AFImageCache.h"
-
-@interface NearbySpotsController ()
-@property (strong) NSArray *nearbySpots;
-@property (strong) CLLocationManager *locationManager;
-@property (strong) NSOperationQueue *imageOperationQueue;
-
-- (void)loadSpotsForLocation:(CLLocation *)location;
-@end
-
-@implementation NearbySpotsController
-@synthesize nearbySpots = _nearbySpots;
-@synthesize locationManager = _locationManager;
-@synthesize imageOperationQueue = _imageOperationQueue;
-@synthesize tableView = _tableView;
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.nearbySpots = [NSArray array];
-
- self.locationManager = [[CLLocationManager alloc] init];
- self.locationManager.delegate = self;
- self.locationManager.distanceFilter = 80.0;
-
- self.imageOperationQueue = [[NSOperationQueue alloc] init];
- self.imageOperationQueue.maxConcurrentOperationCount = 8;
-
- return self;
-}
-
-- (void)awakeFromNib {
- // Load from a fixed location, in case location services are disabled or unavailable
- CLLocation *austin = [[CLLocation alloc] initWithLatitude:30.2669444 longitude:-97.7427778];
- [self loadSpotsForLocation:austin];
-
- [self.locationManager startUpdatingLocation];
-}
-
-- (void)loadSpotsForLocation:(CLLocation *)location {
- [Spot spotsWithURLString:@"/spots" near:location parameters:[NSDictionary dictionaryWithObject:@"128" forKey:@"per_page"] block:^(NSArray *records) {
- self.nearbySpots = [records sortedArrayUsingComparator:^ NSComparisonResult(id obj1, id obj2) {
- CLLocationDistance d1 = [[(Spot *)obj1 location] distanceFromLocation:location];
- CLLocationDistance d2 = [[(Spot *)obj2 location] distanceFromLocation:location];
-
- if (d1 < d2) {
- return NSOrderedAscending;
- } else if (d1 > d2) {
- return NSOrderedDescending;
- } else {
- return NSOrderedSame;
- }
- }];
-
- [self.tableView reloadData];
- }];
-}
-
-#pragma mark - CLLocationManagerDelegate
-
-- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
- [self loadSpotsForLocation:newLocation];
-}
-
-#pragma mark - NSTableViewDataSource
-
-- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
- return [self.nearbySpots count];
-}
-
-// The following is what happens when a longtime iOS dev attempts to work with AppKit. I'm sure there's a _much_ better way to do this.
-- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
- Spot *spot = [self.nearbySpots objectAtIndex:row];
-
- if ([[tableColumn dataCell] isMemberOfClass:[NSImageCell class]]) {
- NSURL *imageURL = [NSURL URLWithString:spot.imageURLString];
- NSImage *image = [[AFImageCache sharedImageCache] cachedImageForURL:imageURL cacheName:nil];
- if (!image) {
- NSURLRequest *imageRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:spot.imageURLString]];
- AFImageRequestOperation *operation = [AFImageRequestOperation imageRequestOperationWithRequest:imageRequest success:^(NSImage *image) {
- [tableView reloadDataForRowIndexes:[NSIndexSet indexSetWithIndex:row] columnIndexes:[NSIndexSet indexSetWithIndex:0]];
- }];
- [self.imageOperationQueue addOperation:operation];
-
- image = [NSImage imageNamed:@"placeholder-stamp.png"];
- }
-
- return image;
- } else {
- return spot.name;
- }
-}
-
-@end
View
43 examples/AFNetworking Mac Example/Classes/Models/Spot.h
@@ -1,43 +0,0 @@
-// Spot.h
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import <Foundation/Foundation.h>
-#import <CoreLocation/CoreLocation.h>
-
-@interface Spot : NSObject {
-@private
- NSString *_name;
- NSString *_imageURLString;
- NSNumber *_latitude;
- NSNumber *_longitude;
-}
-
-@property (strong) NSString *name;
-@property (strong) NSString *imageURLString;
-@property (strong) NSNumber *latitude;
-@property (strong) NSNumber *longitude;
-@property (readonly) CLLocation *location;
-
-- (id)initWithAttributes:(NSDictionary *)attributes;
-+ (void)spotsWithURLString:(NSString *)urlString near:(CLLocation *)location parameters:(NSDictionary *)parameters block:(void (^)(NSArray *records))block;
-
-@end
View
76 examples/AFNetworking Mac Example/Classes/Models/Spot.m
@@ -1,76 +0,0 @@
-// Spot.m
-//
-// Copyright (c) 2011 Gowalla (http://gowalla.com/)
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-// THE SOFTWARE.
-
-#import "Spot.h"
-
-#import "AFGowallaAPIClient.h"
-
-@implementation Spot
-@synthesize name = _name;
-@synthesize imageURLString = _imageURLString;
-@synthesize latitude = _latitude;
-@synthesize longitude = _longitude;
-@dynamic location;
-
-- (id)initWithAttributes:(NSDictionary *)attributes {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.name = [attributes valueForKeyPath:@"name"];
- self.imageURLString = [attributes valueForKeyPath:@"image_url"];
- self.latitude = [attributes valueForKeyPath:@"lat"];
- self.longitude = [attributes valueForKeyPath:@"lng"];
-
- return self;
-}
-
-- (CLLocation *)location {
- return [[CLLocation alloc] initWithLatitude:[self.latitude doubleValue] longitude:[self.longitude doubleValue]];
-}
-
-+ (void)spotsWithURLString:(NSString *)urlString near:(CLLocation *)location parameters:(NSDictionary *)parameters block:(void (^)(NSArray *records))block {
- NSDictionary *mutableParameters = [NSMutableDictionary dictionaryWithDictionary:parameters];
- if (location) {
- [mutableParameters setValue:[NSString stringWithFormat:@"%1.7f", location.coordinate.latitude] forKey:@"lat"];
- [mutableParameters setValue:[NSString stringWithFormat:@"%1.7f", location.coordinate.longitude] forKey:@"lng"];
- }
-
- [[AFGowallaAPIClient sharedClient] getPath:urlString parameters:mutableParameters success:^(id object) {
- NSMutableArray *mutableRecords = [NSMutableArray array];
- for (NSDictionary *attributes in [object valueForKeyPath:@"spots"]) {
- Spot *spot = [[Spot alloc] initWithAttributes:attributes];
- [mutableRecords addObject:spot];
- }
-
- if (block) {
- block([NSArray arrayWithArray:mutableRecords]);
- }
- } failure:^(NSHTTPURLResponse *response, NSError *error) {
- if (block) {
- block([NSArray array]);
- }
- }];
-}
-
-@end
View
BIN  examples/AFNetworking Mac Example/Images/placeholder-stamp.png
Deleted file not rendered
View
36 examples/AFNetworking Mac Example/Info.plist
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIconFile</key>
- <string></string>
- <key>CFBundleIdentifier</key>
- <string>com.alamofire.${PRODUCT_NAME:rfc1034identifier}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.utilities</string>
- <key>LSMinimumSystemVersion</key>
- <string>${MACOSX_DEPLOYMENT_TARGET}</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright © 2011 Gowalla. All rights reserved.</string>
- <key>NSMainNibFile</key>
- <string>MainMenu</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
-</dict>
-</plist>
View
4 examples/AFNetworking Mac Example/Podfile
@@ -1,4 +0,0 @@
-platform :osx
-
-dependency 'FormatterKit'
-dependency 'AFNetworking', '~> 0.7.0'
View
7 examples/AFNetworking Mac Example/Prefix.pch
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'AFNetworking Mac Example' target in the 'AFNetworking Mac Example' project
-//
-
-#ifdef __OBJC__
- #import <Cocoa/Cocoa.h>
-#endif
View
13 examples/AFNetworking Mac Example/en.lproj/Credits.rtf
@@ -1,13 +0,0 @@
-{\rtf1\ansi\ansicpg1252\cocoartf1138
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{hyphen\}}{\leveltext\leveltemplateid1\'01\uc0\u8259 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
-{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
-\vieww9600\viewh8400\viewkind0
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720
-
-\f0\b\fs24 \cf0 AFNetworking Creators\
-\pard\tx220\tx720\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\li720\fi-720\pardirnatural
-\ls1\ilvl0
-\b0 \cf0 {\listtext \uc0\u8259 }Mattt Thompson\
-{\listtext \uc0\u8259 }Scott Raymond}
View
1,042 examples/AFNetworking Mac Example/en.lproj/MainMenu.xib
@@ -1,1042 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
- <data>
- <int key="IBDocument.SystemTarget">0</int>
- <string key="IBDocument.SystemVersion">11A511</string>
- <string key="IBDocument.InterfaceBuilderVersion">1900</string>
- <string key="IBDocument.AppKitVersion">1138</string>
- <string key="IBDocument.HIToolboxVersion">566.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">1900</string>
- </object>
- <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSView</string>
- <string>NSMenu</string>
- <string>NSScrollView</string>
- <string>NSWindowTemplate</string>
- <string>NSMenuItem</string>
- <string>NSTableView</string>
- <string>NSTextFieldCell</string>
- <string>NSImageCell</string>
- <string>NSTableColumn</string>
- <string>NSScroller</string>
- <string>NSCustomObject</string>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
- <integer value="1" key="NS.object.0"/>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1048">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomObject" id="1021">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSCustomObject" id="1014">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="1050">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSMenu" id="649796088">
- <string key="NSTitle">AMainMenu</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="694149608">
- <reference key="NSMenu" ref="649796088"/>
- <string key="NSTitle">AFNetworking Mac Example</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <object class="NSCustomResource" key="NSOnImage" id="35465992">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuCheckmark</string>
- </object>
- <object class="NSCustomResource" key="NSMixedImage" id="502551668">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuMixedState</string>
- </object>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="110575045">
- <string key="NSTitle">AFNetworking Mac Example</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="238522557">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">About AFNetworking Mac Example</string>
- <string key="NSKeyEquiv"/>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="304266470">
- <reference key="NSMenu" ref="110575045"/>
- <bool key="NSIsDisabled">YES</bool>
- <bool key="NSIsSeparator">YES</bool>
- <string key="NSTitle"/>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="1046388886">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Services</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="752062318">
- <string key="NSTitle">Services</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <string key="NSName">_NSServicesMenu</string>
- </object>
- </object>
- <object class="NSMenuItem" id="646227648">
- <reference key="NSMenu" ref="110575045"/>
- <bool key="NSIsDisabled">YES</bool>
- <bool key="NSIsSeparator">YES</bool>
- <string key="NSTitle"/>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="755159360">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Hide AFNetworking Mac Example</string>
- <string key="NSKeyEquiv">h</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="342932134">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Hide Others</string>
- <string key="NSKeyEquiv">h</string>
- <int key="NSKeyEquivModMask">1572864</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="908899353">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Show All</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="1056857174">
- <reference key="NSMenu" ref="110575045"/>
- <bool key="NSIsDisabled">YES</bool>
- <bool key="NSIsSeparator">YES</bool>
- <string key="NSTitle"/>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="632727374">
- <reference key="NSMenu" ref="110575045"/>
- <string key="NSTitle">Quit AFNetworking Mac Example</string>
- <string key="NSKeyEquiv">q</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- </object>
- <string key="NSName">_NSAppleMenu</string>
- </object>
- </object>
- <object class="NSMenuItem" id="713487014">
- <reference key="NSMenu" ref="649796088"/>
- <string key="NSTitle">Window</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="835318025">
- <string key="NSTitle">Window</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="1011231497">
- <reference key="NSMenu" ref="835318025"/>
- <string key="NSTitle">Minimize</string>
- <string key="NSKeyEquiv">m</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="575023229">
- <reference key="NSMenu" ref="835318025"/>
- <string key="NSTitle">Zoom</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="299356726">
- <reference key="NSMenu" ref="835318025"/>
- <bool key="NSIsDisabled">YES</bool>
- <bool key="NSIsSeparator">YES</bool>
- <string key="NSTitle"/>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- <object class="NSMenuItem" id="625202149">
- <reference key="NSMenu" ref="835318025"/>
- <string key="NSTitle">Bring All to Front</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- </object>
- <string key="NSName">_NSWindowsMenu</string>
- </object>
- </object>
- <object class="NSMenuItem" id="448692316">
- <reference key="NSMenu" ref="649796088"/>
- <string key="NSTitle">Help</string>
- <string key="NSKeyEquiv"/>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="992780483">
- <string key="NSTitle">Help</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="105068016">
- <reference key="NSMenu" ref="992780483"/>
- <string key="NSTitle">AFNetworking Mac Example Help</string>
- <string key="NSKeyEquiv">?</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="35465992"/>
- <reference key="NSMixedImage" ref="502551668"/>
- </object>
- </object>
- <string key="NSName">_NSHelpMenu</string>
- </object>
- </object>
- </object>
- <string key="NSName">_NSMainMenu</string>
- </object>
- <object class="NSWindowTemplate" id="972006081">
- <int key="NSWindowStyleMask">15</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{50, 538}, {375, 500}}</string>
- <int key="NSWTFlags">1954021376</int>
- <string key="NSWindowTitle">AFNetworking Mac Example</string>
- <string key="NSWindowClass">NSWindow</string>
- <nil key="NSViewClass"/>
- <nil key="NSUserInterfaceItemIdentifier"/>
- <string key="NSWindowContentMaxSize">{375, 1280}</string>
- <string key="NSWindowContentMinSize">{375, 200}</string>
- <object class="NSView" key="NSWindowView" id="439893737">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSScrollView" id="905625827">
- <reference key="NSNextResponder" ref="439893737"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSClipView" id="411548182">
- <reference key="NSNextResponder" ref="905625827"/>
- <int key="NSvFlags">2304</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableView" id="256434433">
- <reference key="NSNextResponder" ref="411548182"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{373, 498}</string>
- <reference key="NSSuperview" ref="411548182"/>
- <reference key="NSNextKeyView" ref="830874312"/>
- <string key="NSReuseIdentifierKey">_NS:1197</string>
- <bool key="NSEnabled">YES</bool>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{224, 0}, {16, 17}}</string>
- <string key="NSReuseIdentifierKey">_NS:1202</string>
- </object>
- <object class="NSMutableArray" key="NSTableColumns">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableColumn" id="553559566">
- <double key="NSWidth">70</double>
- <double key="NSMinWidth">70</double>
- <double key="NSMaxWidth">70</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents"/>
- <object class="NSFont" key="NSSupport" id="26">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">11</double>
- <int key="NSfFlags">3100</int>
- </object>
- <object class="NSColor" key="NSBackgroundColor" id="852838638">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes>
- </object>
- <object class="NSColor" key="NSTextColor" id="705481664">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">headerTextColor</string>
- <object class="NSColor" key="NSColor" id="840334811">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- </object>
- </object>
- </object>
- <object class="NSImageCell" key="NSDataCell" id="717955434">
- <int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">33554432</int>
- <object class="NSCustomResource" key="NSContents">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">placeholder-stamp</string>
- </object>
- <object class="NSFont" key="NSSupport">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">13</double>
- <int key="NSfFlags">1044</int>
- </object>
- <string key="NSCellIdentifier">_NS:4045</string>
- <int key="NSAlign">1</int>
- <int key="NSScale">0</int>
- <int key="NSStyle">0</int>
- <bool key="NSAnimates">NO</bool>
- </object>
- <int key="NSResizingMask">3</int>
- <bool key="NSIsResizeable">YES</bool>
- <bool key="NSIsEditable">YES</bool>
- <reference key="NSTableView" ref="256434433"/>
- </object>
- <object class="NSTableColumn" id="879600957">
- <double key="NSWidth">223</double>
- <double key="NSMinWidth">40</double>
- <double key="NSMaxWidth">1000</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents"/>
- <reference key="NSSupport" ref="26"/>
- <reference key="NSBackgroundColor" ref="852838638"/>
- <reference key="NSTextColor" ref="705481664"/>
- </object>
- <object class="NSTextFieldCell" key="NSDataCell" id="722199198">
- <int key="NSCellFlags">337772032</int>
- <int key="NSCellFlags2">0</int>
- <string key="NSContents">Text Cell</string>
- <object class="NSFont" key="NSSupport">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">16</double>
- <int key="NSfFlags">16</int>
- </object>
- <reference key="NSControlView" ref="256434433"/>
- <object class="NSColor" key="NSBackgroundColor" id="100074496">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlBackgroundColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
- </object>
- </object>
- <object class="NSColor" key="NSTextColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlTextColor</string>
- <reference key="NSColor" ref="840334811"/>
- </object>
- </object>
- <int key="NSResizingMask">3</int>
- <bool key="NSIsResizeable">YES</bool>
- <bool key="NSIsEditable">YES</bool>
- <reference key="NSTableView" ref="256434433"/>
- </object>
- </object>
- <double key="NSIntercellSpacingWidth">10</double>
- <double key="NSIntercellSpacingHeight">10</double>
- <object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
- <object class="NSColor" key="NSGridColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">gridColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC41AA</bytes>
- </object>
- </object>
- <double key="NSRowHeight">60</double>
- <int key="NSTvFlags">373293056</int>
- <reference key="NSDelegate"/>
- <reference key="NSDataSource"/>
- <int key="NSColumnAutoresizingStyle">4</int>
- <int key="NSDraggingSourceMaskForLocal">15</int>
- <int key="NSDraggingSourceMaskForNonLocal">0</int>
- <bool key="NSAllowsTypeSelect">YES</bool>
- <int key="NSTableViewDraggingDestinationStyle">0</int>
- <int key="NSTableViewGroupRowStyle">1</int>
- </object>
- </object>
- <string key="NSFrame">{{1, 1}, {373, 498}}</string>
- <reference key="NSSuperview" ref="905625827"/>
- <reference key="NSNextKeyView" ref="256434433"/>
- <string key="NSReuseIdentifierKey">_NS:1195</string>
- <reference key="NSDocView" ref="256434433"/>
- <reference key="NSBGColor" ref="100074496"/>
- <int key="NScvFlags">4</int>
- </object>
- <object class="NSScroller" id="830874312">
- <reference key="NSNextResponder" ref="905625827"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{224, 17}, {15, 102}}</string>
- <reference key="NSSuperview" ref="905625827"/>
- <reference key="NSNextKeyView" ref="870849666"/>
- <string key="NSReuseIdentifierKey">_NS:1214</string>
- <reference key="NSTarget" ref="905625827"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSPercent">0.99815157116451014</double>
- </object>
- <object class="NSScroller" id="870849666">
- <reference key="NSNextResponder" ref="905625827"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{1, 526}, {374, 15}}</string>
- <reference key="NSSuperview" ref="905625827"/>
- <string key="NSReuseIdentifierKey">_NS:1216</string>
- <int key="NSsFlags">1</int>
- <reference key="NSTarget" ref="905625827"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSPercent">0.99733333333333329</double>
- </object>
- </object>
- <string key="NSFrameSize">{375, 500}</string>
- <reference key="NSSuperview" ref="439893737"/>
- <reference key="NSNextKeyView" ref="411548182"/>
- <string key="NSReuseIdentifierKey">_NS:1193</string>
- <int key="NSsFlags">133682</int>
- <reference key="NSVScroller" ref="830874312"/>
- <reference key="NSHScroller" ref="870849666"/>
- <reference key="NSContentView" ref="411548182"/>
- <bytes key="NSScrollAmts">QSAAAEEgAABCjAAAQowAAA</bytes>
- </object>
- </object>
- <string key="NSFrameSize">{375, 500}</string>
- <reference key="NSSuperview"/>
- <reference key="NSNextKeyView" ref="905625827"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
- <string key="NSMinSize">{375, 222}</string>
- <string key="NSMaxSize">{375, 1302}</string>
- <bool key="NSWindowIsRestorable">YES</bool>
- </object>
- <object class="NSCustomObject" id="976324537">
- <string key="NSClassName">AppDelegate</string>
- </object>
- <object class="NSCustomObject" id="755631768">
- <string key="NSClassName">NSFontManager</string>
- </object>
- <object class="NSCustomObject" id="91820041">
- <string key="NSClassName">NearbySpotsController</string>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">performMiniaturize:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="1011231497"/>
- </object>
- <int key="connectionID">37</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">arrangeInFront:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="625202149"/>
- </object>
- <int key="connectionID">39</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">orderFrontStandardAboutPanel:</string>
- <reference key="source" ref="1021"/>
- <reference key="destination" ref="238522557"/>
- </object>
- <int key="connectionID">142</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">performZoom:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="575023229"/>
- </object>
- <int key="connectionID">240</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">hide:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="755159360"/>
- </object>
- <int key="connectionID">367</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">hideOtherApplications:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="342932134"/>
- </object>
- <int key="connectionID">368</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">unhideAllApplications:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="908899353"/>
- </object>
- <int key="connectionID">370</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">terminate:</string>
- <reference key="source" ref="1050"/>
- <reference key="destination" ref="632727374"/>
- </object>
- <int key="connectionID">449</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">showHelp:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="105068016"/>
- </object>
- <int key="connectionID">493</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="1021"/>
- <reference key="destination" ref="976324537"/>
- </object>
- <int key="connectionID">495</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">window</string>
- <reference key="source" ref="976324537"/>
- <reference key="destination" ref="972006081"/>
- </object>
- <int key="connectionID">532</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">tableView</string>
- <reference key="source" ref="91820041"/>
- <reference key="destination" ref="256434433"/>
- </object>
- <int key="connectionID">550</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">dataSource</string>
- <reference key="source" ref="256434433"/>
- <reference key="destination" ref="91820041"/>
- </object>