Skip to content

Instantly share code, notes, and snippets.

@futuretap
Created December 18, 2013 09:32
Show Gist options
  • Save futuretap/8019643 to your computer and use it in GitHub Desktop.
Save futuretap/8019643 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |spec|
spec.name = 'DTCoreText'
spec.version = '1.6.9'
spec.platform = :ios, '4.3'
spec.license = 'BSD'
spec.source = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s }
spec.source_files = 'Core/Source/*.{h,m,c}'
spec.dependency 'DTFoundation/Core', '~>1.6.0'
spec.dependency 'DTFoundation/UIKit', '~>1.6.0'
spec.dependency 'DTFoundation/DTHTMLParser', '~>1.6.0'
spec.frameworks = 'MediaPlayer', 'QuartzCore', 'CoreText', 'CoreGraphics', 'ImageIO'
spec.requires_arc = true
spec.homepage = 'https://github.com/Cocoanetics/DTCoreText'
spec.summary = 'Methods to allow using HTML code with CoreText.'
spec.author = { 'Oliver Drobnik' => 'oliver@cocoanetics.com' }
spec.prefix_header_contents = '#import <CoreText/CoreText.h>'
spec.prepare_command = <<-CMD
/usr/bin/xxd -i Core/Source/default.css Core/Source/default.css.c
CMD
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment