Permalink
Browse files

Adding NetworkKit iOS Async Network Library with Stubbed Requests"

"
  • Loading branch information...
1 parent 4270767 commit d643d6854425ba3dc024f9f9ec9adcb22091bd4a @maxkramer maxkramer committed Feb 9, 2013
Showing with 33 additions and 0 deletions.
  1. +33 −0 NetworkKit/1.0.0/NetworkKit.podspec
@@ -0,0 +1,33 @@
+#
+# Be sure to run `pod spec lint NetworkKit.podspec` to ensure this is a
+# valid spec.
+#
+# Remove all comments before submitting the spec. Optional attributes are commented.
+#
+# For details see: https://github.com/CocoaPods/CocoaPods/wiki/The-podspec-format
+#
+Pod::Spec.new do |s|
+ s.name = "NetworkKit"
+ s.version = "1.0.0"
+ s.summary = "NetworkKit is a super simple and easy to install class for creating asynchronous requests to various websites."
+ s.homepage = "http://maxkramer.co"
+ s.license = { :type => 'MIT', :file => 'LICENSE' }
+ s.author = { "MaxKramer" => "max@maxkramer.co" }
+ s.source = { :git => "https://github.com/MaxKramer/NetworkKit.git", :tag => "v1.0.0" }
+ s.platform = :ios, '5.0'
+
+ s.source_files = 'NetworkKit', 'NetworkKit/**/*.{h,m}'
+ s.resource = "NetworkKit/**/NetworkKitStubs.plist"
+ s.frameworks = 'CFNetwork.framework', 'SystemConfiguration.framework'
+ # s.requires_arc = true
+
+ s.subspec 'arc' do |a|
+ a.source_files = 'NetworkKit/**/NetworkKit.{h,m}'
+ a.requires_arc = true
+ end
+
+ s.subspec 'nonarc' do |na|
+ na.source_files = 'NetworkKit/**/Reachability.{h,m}'
+ end
+
+end

0 comments on commit d643d68

Please sign in to comment.