Skip to content

Commit 943f8e8

Browse files
committed
fixed public pod spec
1 parent 9abf599 commit 943f8e8

2 files changed

Lines changed: 64 additions & 46 deletions

File tree

PublicCocoaPods/QMChatViewController.podspec

Lines changed: 64 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
Pod::Spec.new do |s|
1212

13-
s.name = "QMChatViewController"
14-
s.version = "0.6.1"
15-
s.summary = "An elegant ready-to-go chat view controller for iOS chat applications that use Quickblox communication backend."
13+
s.name = "QMChatViewController"
14+
s.version = "0.6.1"
15+
s.summary = "An elegant ready-to-go chat view controller for iOS chat applications that use Quickblox communication backend."
1616

17-
s.description = <<-DESC
17+
s.description = <<-DESC
1818
* Ready-to-go chat view controller with a set of cells.
1919
* Automatic cell size calculation.
2020
* UI customisation for chat cells.
@@ -25,51 +25,72 @@ Pod::Spec.new do |s|
2525
* Auto Layout inside.
2626
DESC
2727

28-
s.homepage = "https://github.com/QuickBlox/QMChatViewController-ios"
29-
s.license = { :type => "BSD", :file => "LICENSE" }
30-
s.authors = {"Andrey Ivanov" => "andrey.ivanov@quickblox.com", "Vitaliy Gorbachov" => "vitaliy.gorbachov@quickblox.com", "Vitaliy Gurkovsky" => "vitaliy.gurkovsky@injoit.com"}
31-
s.platform = :ios, "9.0"
32-
s.source = { :git => "https://github.com/QuickBlox/QMChatViewController-ios.git", :tag => "#{s.version}" }
33-
s.source_files = "QMChatViewController/QMChatViewController.{h,m}"
28+
s.homepage = "https://github.com/QuickBlox/QMChatViewController-ios"
29+
s.license = { :type => "BSD", :file => "LICENSE" }
30+
s.authors = {
31+
"Andrey Ivanov" => "andrey.ivanov@quickblox.com",
32+
"Vitaliy Gorbachov" => "vitaliy.gorbachov@quickblox.com",
33+
"Vitaliy Gurkovsky" => "vitaliy.gurkovsky@injoit.com"
34+
}
35+
s.platform = :ios, "9.0"
36+
s.source = {
37+
:git => "https://github.com/QuickBlox/QMChatViewController-ios.git",
38+
:tag => "#{s.version}"
39+
}
40+
s.source_files = "QMChatViewController/QMChatViewController.{h,m}"
3441

35-
s.subspec 'Categories' do |ss|
36-
ss.source_files = 'QMChatViewController/Categories/*.{h,m}'
37-
end
42+
s.subspec 'QMChatLocationSnapshotter' do |ss|
43+
ss.source_files = 'QMChatViewController/QMChatLocationSnapshotter/*.{h,m}'
44+
end
3845

39-
s.subspec 'Utils' do |ss|
40-
ss.dependency 'QMChatViewController/Categories'
41-
ss.source_files = 'QMChatViewController/Utils/**/*.{h,m}'
42-
end
46+
s.subspec 'Categories' do |ss|
47+
ss.dependency 'QMChatViewController/QMChatLocationSnapshotter'
48+
ss.source_files = 'QMChatViewController/Categories/*.{h,m}'
49+
end
4350

44-
s.subspec 'QMChatLocationSnapshotter' do |ss|
45-
ss.dependency 'QMChatViewController/Utils'
46-
ss.source_files = 'QMChatViewController/QMChatLocationSnapshotter/*.{h,m}'
47-
end
51+
s.subspec 'Utils' do |ss|
52+
ss.dependency 'QMChatViewController/Categories'
53+
ss.source_files = 'QMChatViewController/Utils/**/*.{h,m}'
54+
end
4855

49-
s.subspec 'QMChatDataSource' do |ss|
50-
ss.dependency 'QMChatViewController/Utils'
51-
ss.source_files = 'QMChatViewController/QMChatDataSource/**/*.{h,m}'
52-
end
56+
s.subspec 'ViewModels' do |ss|
57+
ss.dependency 'QMChatViewController/Categories'
58+
ss.source_files = 'QMChatViewController/ViewModels/**/*.{h,m}'
59+
end
5360

54-
s.subspec 'Protocols' do |ss|
55-
ss.source_files = 'QMChatViewController/Protocols/*.{h}'
56-
end
61+
s.subspec 'Sections' do |ss|
62+
ss.dependency 'QMChatViewController/QMChatDataSource'
63+
ss.source_files = 'QMChatViewController/QMChatSection/*.{h,m}'
64+
end
5765

58-
s.subspec 'Views' do |ss|
59-
ss.dependency 'QMChatViewController/Categories'
60-
ss.dependency 'QMChatViewController/Protocols'
61-
ss.dependency 'QMChatViewController/Utils'
62-
ss.source_files = 'QMChatViewController/Views/**/*.{h,m}'
63-
end
66+
s.subspec 'QMChatDataSource' do |ss|
67+
ss.source_files = 'QMChatViewController/QMChatDataSource/*.{h,m}'
68+
end
6469

65-
s.resource_bundles = { "QMChatViewController" => ["QMChatViewController/**/*.xib", "QMChatViewController/**/*.png"] }
66-
s.resources = "QMChatViewController/Icons/Media.xcassets"
67-
s.requires_arc = true
68-
s.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(PODS_ROOT)/QuickBlox/" }
69-
s.prefix_header_contents = '#import <Quickblox/Quickblox.h>'
70-
s.dependency "QuickBlox"
71-
s.dependency "TTTAttributedLabel"
72-
s.dependency "SDWebImage"
73-
s.dependency "FFCircularProgressView"
70+
s.subspec 'Protocols' do |ss|
71+
ss.source_files = 'QMChatViewController/Protocols/*.{h}'
72+
end
73+
74+
s.subspec 'Views' do |ss|
75+
ss.dependency 'QMChatViewController/Categories'
76+
ss.dependency 'QMChatViewController/Protocols'
77+
ss.dependency 'QMChatViewController/Utils'
78+
ss.source_files = 'QMChatViewController/Views/**/*.{h,m}'
79+
end
80+
81+
s.resource_bundles = {
82+
'QMChatViewController' => [
83+
'QMChatViewController/**/*.xcassets',
84+
'QMChatViewController/**/*.xib'
85+
]
86+
}
87+
s.resource = 'QMChatViewController/**/*.xcassets'
88+
s.requires_arc = true
89+
s.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$(PODS_ROOT)/QuickBlox/" }
90+
s.prefix_header_contents = '#import <Quickblox/Quickblox.h>'
91+
s.dependency "QuickBlox"
92+
s.dependency "TTTAttributedLabel"
93+
s.dependency "SDWebImage"
94+
s.dependency "FFCircularProgressView"
7495

7596
end

QMChatViewController/Views/QMChatContainerView.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@
1919
@property (assign, nonatomic) IBInspectable BOOL arrow;
2020
@property (assign, nonatomic) IBInspectable BOOL leftArrow;
2121
@property (assign, nonatomic) IBInspectable CGSize arrowSize;
22-
2322
@property (assign, nonatomic) BOOL highlighted;
24-
2523
@property (readonly, strong, nonatomic) UIImage *backgroundImage;
26-
2724
@property (readonly, strong, nonatomic) UIBezierPath *maskPath;
2825

2926

0 commit comments

Comments
 (0)