Skip to content

Commit 5a4a20a

Browse files
committed
Bump version to 0.1.0
1 parent 3301add commit 5a4a20a

File tree

5 files changed

+32
-30
lines changed

5 files changed

+32
-30
lines changed

EGDeclarativeUIKit.podspec

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010
s.name = 'EGDeclarativeUIKit'
1111
s.version = '0.1.0'
12-
s.summary = 'A short description of DeclarativeUIKit.'
12+
s.summary = 'Declarative UIKit.'
1313

1414
# This description is used to generate tags and improve search results.
1515
# * Think: What does it do? Why did you write it? What is the focus?
@@ -18,13 +18,13 @@ Pod::Spec.new do |s|
1818
# * Finally, don't worry about the indent, CocoaPods strips it!
1919

2020
s.description = <<-DESC
21-
TODO: Add long description of the pod here.
21+
Declarative UIKit with 200 line of code.
2222
DESC
2323

2424
s.homepage = 'https://github.com/EkkoG/DeclarativeUIKit'
2525
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
2626
s.license = { :type => 'MIT', :file => 'LICENSE' }
27-
s.author = { '3138493' => '[email protected]' }
27+
s.author = { 'EkkoG' => '[email protected]' }
2828
s.source = { :git => 'https://github.com/EkkoG/DeclarativeUIKit.git', :tag => s.version.to_s }
2929
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
3030

@@ -37,32 +37,33 @@ TODO: Add long description of the pod here.
3737

3838
s.subspec 'Ext' do |cs|
3939
cs.source_files = 'DeclarativeUIKit/Classes/Ext/**/*'
40+
cs.dependency 'EGDeclarativeUIKit/Core'
4041
end
4142

4243
s.subspec 'Rx' do |rs|
4344
rs.source_files = 'DeclarativeUIKit/Classes/Rx/**/*'
4445
rs.dependency 'RxSwift'
4546
rs.dependency 'RxCocoa'
47+
rs.dependency 'EGDeclarativeUIKit/Core'
4648
end
4749

4850
s.subspec 'Combine' do |cs|
4951
cs.source_files = 'DeclarativeUIKit/Classes/Combine/**/*'
5052
cs.frameworks = 'Combine'
51-
end
52-
53-
s.subspec 'ApplyStyleKit' do |as|
54-
as.source_files = 'DeclarativeUIKit/Classes/ApplyStyleKit/**/*'
55-
as.dependency 'ApplyStyleKit'
53+
cs.dependency 'EGDeclarativeUIKit/Core'
5654
end
5755

5856
s.subspec 'SnapKit' do |ss|
5957
ss.source_files = 'DeclarativeUIKit/Classes/SnapKit/**/*'
6058
ss.dependency 'SnapKit'
59+
ss.dependency 'EGDeclarativeUIKit/Core'
60+
ss.dependency 'EGDeclarativeUIKit/Ext'
6161
end
6262

6363
s.subspec 'Chainable' do |ss|
6464
ss.source_files = 'DeclarativeUIKit/Classes/Chainable/**/*'
6565
ss.dependency 'EGChainable'
66+
ss.dependency 'EGDeclarativeUIKit/Core'
6667
end
6768

6869
s.default_subspec = 'Core', 'Ext'

Example/DeclarativeUIKit.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@
291291
);
292292
inputPaths = (
293293
"${PODS_ROOT}/Target Support Files/Pods-DeclarativeUIKit_Example/Pods-DeclarativeUIKit_Example-frameworks.sh",
294-
"${BUILT_PRODUCTS_DIR}/ApplyStyleKit/ApplyStyleKit.framework",
295294
"${BUILT_PRODUCTS_DIR}/EGChainable/EGChainable.framework",
296295
"${BUILT_PRODUCTS_DIR}/EGDeclarativeUIKit/EGDeclarativeUIKit.framework",
297296
"${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework",
@@ -301,7 +300,6 @@
301300
);
302301
name = "[CP] Embed Pods Frameworks";
303302
outputPaths = (
304-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ApplyStyleKit.framework",
305303
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/EGChainable.framework",
306304
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/EGDeclarativeUIKit.framework",
307305
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework",

Example/DeclarativeUIKit/ViewController.swift

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import UIKit
1010
import EGDeclarativeUIKit
11-
import ApplyStyleKit
1211
import SnapKit
1312
import RxSwift
1413

@@ -39,7 +38,7 @@ class ViewController: UIViewController {
3938
UIView().C.backgroundColor(.red).asView()
4039
UILabel().apply { label in
4140
label.R.text(Observable.combineLatest($text, $text1).flatMap { PublishSubject.just([$0, $1].joined(separator: " ")) })
42-
label.A.textColor(.black)
41+
label.C.textColor(.black)
4342
.text("Hello, World!")
4443
label.S.makeConstraints { make in
4544
make.centerX.equalToSuperview()
@@ -53,8 +52,8 @@ class ViewController: UIViewController {
5352
UIListView(with: NSLayoutConstraint.Axis.horizontal) {
5453
for i in 0..<50 {
5554
UILabel().apply { label in
56-
label.A.text("\(i)").textAlignment(.center)
57-
label.A.backgroundColor(.random)
55+
label.C.text("\(i)").textAlignment(.center)
56+
label.C.backgroundColor(.random)
5857
label.S.makeConstraints { make in
5958
make.width.equalTo(30)
6059
}
@@ -68,7 +67,7 @@ class ViewController: UIViewController {
6867
}
6968
["ahh", "ahhh"].map { s in
7069
UILabel().apply { label in
71-
label.A.text(s).textAlignment(.center)
70+
label.C.text(s).textAlignment(.center)
7271
}
7372
}.assign(to: &ahh)
7473
UILabel().alias("Title").apply { label in
@@ -95,7 +94,7 @@ class ViewController: UIViewController {
9594

9695
CircleView {
9796
UIButton().apply { button in
98-
button.applyStyle.title("ahhhhhhhhhhhhhhhh", for: .normal).titleColor(.white, for: .normal)
97+
button.C.setTitle("ahhhhhhhhhhhhhhhh", for: .normal).setTitleColor(.white, for: .normal)
9998
button.S.makeConstraints { make in
10099
make.edges.equalToSuperview()
101100
make.width.equalTo(250)

Example/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ target 'DeclarativeUIKit_Example' do
88
pod 'EGDeclarativeUIKit', :path => '../'
99
pod 'EGDeclarativeUIKit/Ext', :path => '../'
1010
pod 'EGDeclarativeUIKit/Rx', :path => '../'
11-
pod 'EGDeclarativeUIKit/ApplyStyleKit', :path => '../'
1211
pod 'EGDeclarativeUIKit/Combine', :path => '../'
1312
pod 'EGDeclarativeUIKit/SnapKit', :path => '../'
1413
pod 'EGDeclarativeUIKit/Chainable', :path => '../'

Example/Podfile.lock

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
PODS:
2-
- ApplyStyleKit (0.3.1)
3-
- EGChainable (0.1.4)
2+
- EGChainable (0.1.11):
3+
- EGChainable/Common (= 0.1.11)
4+
- EGChainable/Core (= 0.1.11)
5+
- EGChainable/Common (0.1.11):
6+
- EGChainable/Core
7+
- EGChainable/Core (0.1.11)
48
- EGDeclarativeUIKit (0.1.0):
59
- EGDeclarativeUIKit/Core (= 0.1.0)
610
- EGDeclarativeUIKit/Ext (= 0.1.0)
7-
- EGDeclarativeUIKit/ApplyStyleKit (0.1.0):
8-
- ApplyStyleKit
911
- EGDeclarativeUIKit/Chainable (0.1.0):
1012
- EGChainable
11-
- EGDeclarativeUIKit/Combine (0.1.0)
13+
- EGDeclarativeUIKit/Core
14+
- EGDeclarativeUIKit/Combine (0.1.0):
15+
- EGDeclarativeUIKit/Core
1216
- EGDeclarativeUIKit/Core (0.1.0)
13-
- EGDeclarativeUIKit/Ext (0.1.0)
17+
- EGDeclarativeUIKit/Ext (0.1.0):
18+
- EGDeclarativeUIKit/Core
1419
- EGDeclarativeUIKit/Rx (0.1.0):
20+
- EGDeclarativeUIKit/Core
1521
- RxCocoa
1622
- RxSwift
1723
- EGDeclarativeUIKit/SnapKit (0.1.0):
24+
- EGDeclarativeUIKit/Core
25+
- EGDeclarativeUIKit/Ext
1826
- SnapKit
1927
- RxCocoa (6.5.0):
2028
- RxRelay (= 6.5.0)
@@ -26,7 +34,6 @@ PODS:
2634

2735
DEPENDENCIES:
2836
- EGDeclarativeUIKit (from `../`)
29-
- EGDeclarativeUIKit/ApplyStyleKit (from `../`)
3037
- EGDeclarativeUIKit/Chainable (from `../`)
3138
- EGDeclarativeUIKit/Combine (from `../`)
3239
- EGDeclarativeUIKit/Ext (from `../`)
@@ -37,26 +44,24 @@ DEPENDENCIES:
3744
SPEC REPOS:
3845
https://github.com/CocoaPods/Specs.git:
3946
- EGChainable
40-
trunk:
41-
- ApplyStyleKit
4247
- RxCocoa
4348
- RxRelay
4449
- RxSwift
50+
trunk:
4551
- SnapKit
4652

4753
EXTERNAL SOURCES:
4854
EGDeclarativeUIKit:
4955
:path: "../"
5056

5157
SPEC CHECKSUMS:
52-
ApplyStyleKit: 0343b87f29764f0b8f80fb49d00361642da12ee6
53-
EGChainable: b20e15df604ee312a650b5125ad028a393932749
54-
EGDeclarativeUIKit: a2fbe517ad3aeb439555783c262d47c4bbdeb4e7
58+
EGChainable: 1d3d9d0cab730cf50aa10f38d7eeece21a30666e
59+
EGDeclarativeUIKit: f491e5a15c6e6eb79eaf0ab3cef6d3b04370ed91
5560
RxCocoa: 94f817b71c07517321eb4f9ad299112ca8af743b
5661
RxRelay: 1de1523e604c72b6c68feadedd1af3b1b4d0ecbd
5762
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
5863
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
5964

60-
PODFILE CHECKSUM: 7530d18677d6ed0bb44bd5fc123aafa8a71bd7ed
65+
PODFILE CHECKSUM: 26bb0bf85941d7f31408bb0514dec7bda01413cb
6166

6267
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)