Skip to content

Commit 57fc37f

Browse files
committed
fixed pod spec and remove unused files
1 parent 5c796a3 commit 57fc37f

6 files changed

Lines changed: 7 additions & 178 deletions

File tree

PublicCocoaPods/QMChatViewController.podspec

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,23 @@ Pod::Spec.new do |s|
3232
s.source = { :git => "https://github.com/QuickBlox/QMChatViewController-ios.git", :tag => "#{s.version}" }
3333
s.source_files = "QMChatViewController/QMChatViewController.{h,m}"
3434

35-
s.subspec 'QMChatLocationSnapshotter' do |ss|
36-
ss.source_files = 'QMChatViewController/QMChatLocationSnapshotter/*.{h,m}'
37-
end
38-
3935
s.subspec 'Categories' do |ss|
40-
ss.dependency 'QMChatViewController/QMChatLocationSnapshotter'
4136
ss.source_files = 'QMChatViewController/Categories/*.{h,m}'
4237
end
4338

4439
s.subspec 'Utils' do |ss|
45-
ss.dependency 'QMChatViewController/Categories'
46-
ss.source_files = 'QMChatViewController/Utils/**/*.{h,m}'
40+
ss.dependency 'QMChatViewController/Categories'
41+
ss.source_files = 'QMChatViewController/Utils/**/*.{h,m}'
4742
end
4843

49-
s.subspec 'Sections' do |ss|
50-
ss.dependency 'QMChatViewController/QMChatDataSource'
51-
ss.source_files = 'QMChatViewController/QMChatSection/*.{h,m}'
44+
s.subspec 'QMChatLocationSnapshotter' do |ss|
45+
ss.dependency 'QMChatViewController/Utils'
46+
ss.source_files = 'QMChatViewController/QMChatLocationSnapshotter/*.{h,m}'
5247
end
5348

5449
s.subspec 'QMChatDataSource' do |ss|
55-
ss.source_files = 'QMChatViewController/QMChatDataSource/*.{h,m}'
50+
ss.dependency 'QMChatViewController/Utils'
51+
ss.source_files = 'QMChatViewController/QMChatDataSource/**/*.{h,m}'
5652
end
5753

5854
s.subspec 'Protocols' do |ss|

QMChatViewController/Categories/UIImageView+QMLocationSnapshot.h renamed to QMChatViewController/QMChatLocationSnapshotter/UIImageView+QMLocationSnapshot.h

File renamed without changes.

QMChatViewController/Categories/UIImageView+QMLocationSnapshot.m renamed to QMChatViewController/QMChatLocationSnapshotter/UIImageView+QMLocationSnapshot.m

File renamed without changes.

QMChatViewController/QMChatSection/QMChatSection.h

Lines changed: 0 additions & 68 deletions
This file was deleted.

QMChatViewController/QMChatSection/QMChatSection.m

Lines changed: 0 additions & 98 deletions
This file was deleted.

QMChatViewController/QMChatViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#import "QMChatViewController.h"
1010
#import "QMChatCollectionView.h"
1111
#import "QMChatCollectionViewFlowLayout.h"
12-
#import "QMChatSection.h"
1312
#import "QMDateUtils.h"
1413
#import "QMChatResources.h"
1514
#import "NSString+QM.h"

0 commit comments

Comments
 (0)