mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 15:15:16 +00:00
Add default PINRemoteImageDownloader
This commit is contained in:
@@ -37,6 +37,9 @@ Pod::Spec.new do |spec|
|
||||
'AsyncDisplayKit/Details/ASDealloc2MainObject.h',
|
||||
'AsyncDisplayKit/Details/ASDealloc2MainObject.m',
|
||||
]
|
||||
|
||||
#Subspecs
|
||||
|
||||
spec.subspec 'ASDealloc2MainObject' do |mrr|
|
||||
mrr.requires_arc = false
|
||||
mrr.source_files = [
|
||||
@@ -45,6 +48,15 @@ Pod::Spec.new do |spec|
|
||||
'AsyncDisplayKit/Details/ASDealloc2MainObject.m',
|
||||
]
|
||||
end
|
||||
|
||||
spec.subspec 'PINRemoteImage' do |pin|
|
||||
pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' }
|
||||
pin.dependency 'PINRemoteImage'
|
||||
pin.dependency 'AsyncDisplayKit/ASDealloc2MainObject'
|
||||
end
|
||||
|
||||
# Include optional FLAnimatedImage module
|
||||
spec.default_subspec = 'PINRemoteImage'
|
||||
|
||||
spec.social_media_url = 'https://twitter.com/fbOpenSource'
|
||||
spec.library = 'c++'
|
||||
|
||||
Reference in New Issue
Block a user