Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add ARCHelper.podspec 2.1

  • Loading branch information...
commit fc4277abf1db95a4f754fff0c6e0b52248440f3b 1 parent a45f5b7
@lexrus lexrus authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 ARCHelper/2.1/ARCHelper.podspec
View
17 ARCHelper/2.1/ARCHelper.podspec
@@ -0,0 +1,17 @@
+Pod::Spec.new do |s|
+ s.name = "ARCHelper"
+ s.version = "2.1"
+ s.summary = "ARC Helper is an Objective-C snippet that can be either pasted into the header of a file or used as a header file in its own right. It is designed to solve the problem of writing library code that can be used with both ARC and non-ARC projects without needing to be modified. It is designed to work with both Mac OS and iOS projects."
+ s.description = 'ARC Helper is modular. For projects that are designed to work only with ARC enabled, you can use just the second and/or 3rd modules on their own (the part from "Weak reference support" down) and omit the first block. For projects that are iOS only, you don\'t need the 3rd module (the part from "Weak delegate support" down), which deals with weak references to classes such as NSWindowController on Mac OS that do not support weak references under Mac OS 10.7.'
+ s.homepage = "https://gist.github.com/1563325"
+ s.license = 'zlib 0.7'
+ s.author = { "Nick Lockwood" => "http://charcoaldesign.co.uk" }
+ s.source = { :git => "git://gist.github.com/1563325.git", :commit => "a344e8dcda7739a9ad6b5ca768b68cbfd8e0d721" }
+ s.source_files = 'ARCHelper.h'
+ def s.post_install(target)
+ prefix_header = config.project_pods_root + target.prefix_header_filename
+ prefix_header.open('a') do |file|
+ file.puts(%{#ifdef __OBJC__\n#import "ARCHelper.h"\n#endif})
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.