Last active
December 17, 2015 07:49
-
-
Save angelolloqui/5575942 to your computer and use it in GitHub Desktop.
XTModel pod spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = "XTModel" | |
s.version = "0.0.1" | |
s.summary = "Model wrapper to give a uniform interface no matter the persisting technology used. Supports CoreData models as well as in memory" | |
s.homepage = "http://xaton.com" | |
s.license = {:type => 'Copyright', :text => "Copyright (c) 2013 Xaton B.V."} | |
s.author = "Xaton B.V." | |
s.source = { :git => "https://github.com/Xaton/Xaton-iOS.git"} | |
s.platform = :ios, '5.0' | |
s.source_files = 'XTModel/XTModel.h', 'XTModel/XTModelAccessor.h' | |
s.requires_arc = true | |
s.subspec 'Volatile' do |volatile| | |
volatile.source_files = 'XTModel/XTModelVolatileObject.{h,m}' | |
end | |
s.subspec 'CoreData' do |coredata| | |
coredata.source_files = 'XTModel/NSManagedObject+XTModelAccessor.{h,m}' | |
coredata.dependency 'MagicalRecord' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment