Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add spec for TwUI 0.5.0 #509

Merged
merged 1 commit into from

2 participants

Luke Hatcher Jonathan Willing
Luke Hatcher

Spec is largely unchanged from 0.4, but includes a post_install script to exclude NSColor+TUIExtensions.m from ARC.

Luke Hatcher

Should add I tested this locally from my fork and everything installed fine.

I left the TUIAccessibilityElement exclusion in from 0.4.0 and before, though I'd be interested in why each of the specs for this do that.

Luke Hatcher

The exclusion of TUIAccessibilityElement is still required for this version, but I've submitted github/twui#73 so that for the next release we can remove that line.

Jonathan Willing jwilling merged commit 2e0e8a5 into from
Jonathan Willing

Thanks! :thumbsup:

Jonathan Willing jwilling referenced this pull request from a commit
Jonathan Willing jwilling [Fix] TwUI 0.5.0
Resolved a warning about a space before argument parentheses. #509
4991c75
Diego Chohfi dchohfi referenced this pull request from a commit
Jonathan Willing jwilling [Fix] TwUI 0.5.0
Resolved a warning about a space before argument parentheses. #509
2d2e6ea
Jonathan Willing jwilling referenced this pull request from a commit
Jonathan Willing jwilling [Fix] TwUI 0.5.0
Resolved a warning about a space before argument parentheses. #509
0635360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 15, 2012
  1. Luke Hatcher

    add spec for TwUI 0.5.0

    lukeman authored
This page is out of date. Refresh to see the latest.
Showing with 39 additions and 0 deletions.
  1. +39 −0 TwUI/0.5/TwUI.podspec
39 TwUI/0.5/TwUI.podspec
View
@@ -0,0 +1,39 @@
+Pod::Spec.new do |s|
+ s.name = "TwUI"
+ s.version = "0.5"
+ s.summary = "A UI framework for Mac based on Core Animation."
+ s.description = "TwUI is a hardware accelerated UI framework for Mac, inspired by UIKit. It enables:\n"\
+ "- GPU accelerated rendering backed by CoreAnimation.\n"\
+ "- Simple model/view/controller development familiar to iOS developers."
+ s.homepage = "https://github.com/github/twui"
+ s.author = { "Twitter, Inc." => "opensource@twitter.com" }
+ s.license = { :type => 'Apache License, Version 2.0' }
+ s.source = { :git => "https://github.com/github/twui.git", :tag => "0.5.0" }
+
+ s.platform = :osx, '10.6'
+ s.requires_arc = true
+
+ s.frameworks = 'ApplicationServices', 'QuartzCore', 'Cocoa'
+
+ s.subspec 'Support' do |ss|
+ ss.source_files = 'lib/Support'
+ end
+
+ s.subspec 'UIKit' do |ss|
+ ss.source_files = FileList['lib/UIKit/*.{h,m}'].exclude(/TUIAccessibilityElement/)
+ ss.dependency 'TwUI/Support'
+ end
+
+ def s.post_install(target_installer)
+ project = target_installer.project
+ project.objects.each do |obj|
+ if obj.isa.to_s == "PBXBuildFile"
+ fileRef = obj.attributes["fileRef"]
+ file_name = project.objects[fileRef].pathname.basename.to_s
+ if ["NSColor+TUIExtensions.m"].include? (file_name)
+ puts "Removed #{obj.settings.delete('COMPILER_FLAGS')} from #{file_name}"
+ end
+ end
+ end
+ end
+end
Something went wrong with that request. Please try again.