Skip to content

Commit 247a296

Browse files
committed
Rename “Core” subspec to “App”
1 parent 2d1194b commit 247a296

File tree

9 files changed

+307
-276
lines changed

9 files changed

+307
-276
lines changed

Demo/Podfile.lock

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
PODS:
2-
- SwiftMessages (4.1.2)
2+
- SwiftMessages (4.1.3):
3+
- SwiftMessages/App (= 4.1.3)
4+
- SwiftMessages/App (4.1.3)
35

46
DEPENDENCIES:
57
- SwiftMessages (from `../`)
@@ -9,8 +11,8 @@ EXTERNAL SOURCES:
911
:path: "../"
1012

1113
SPEC CHECKSUMS:
12-
SwiftMessages: 7f883c0b717808e9557e9b385f8956418dddd1cb
14+
SwiftMessages: dea7e8f42d8c166bc7ca6ded4e5bd45300f36bf0
1315

1416
PODFILE CHECKSUM: 6431c980c9207084d738b6ba87b2101dd9eb5097
1517

16-
COCOAPODS: 1.5.0
18+
COCOAPODS: 1.5.2

Demo/Pods/Local Podspecs/SwiftMessages.podspec.json

+28-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Pods/Manifest.lock

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Pods/Pods.xcodeproj/project.pbxproj

+261-253
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Pods/Target Support Files/Pods-Demo/Pods-Demo-resources.sh

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Pods/Target Support Files/SwiftMessages/Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Demo/Pods/Target Support Files/SwiftMessages/ResourceBundle-SwiftMessages-Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SwiftMessages.podspec

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Pod::Spec.new do |spec|
1010
spec.ios.deployment_target = '8.0'
1111
spec.framework = 'UIKit'
1212
spec.requires_arc = true
13-
spec.default_subspec = 'Core'
13+
spec.default_subspec = 'App'
1414

15-
spec.subspec 'Core' do |core|
16-
core.source_files = 'SwiftMessages/**/*.swift'
17-
core.resource_bundles = {'SwiftMessages' => ['SwiftMessages/Resources/**/*']}
15+
spec.subspec 'App' do |app|
16+
app.source_files = 'SwiftMessages/**/*.swift'
17+
app.resource_bundles = {'SwiftMessages' => ['SwiftMessages/Resources/**/*']}
1818
end
1919

2020
spec.subspec 'AppExtension' do |ext|

SwiftMessages/TopBottomAnimation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public class TopBottomAnimation: NSObject, Animator {
5454
self.translationConstraint.constant -= size.height
5555
container.layoutIfNeeded()
5656
}, completion: { completed in
57-
// Fix #131 by always completing if application isn't active.
5857
#if SWIFTMESSAGES_APP_EXTENSIONS
5958
completion(completed)
6059
#else
60+
// Fix #131 by always completing if application isn't active.
6161
completion(completed || UIApplication.shared.applicationState != .active)
6262
#endif
6363
})

0 commit comments

Comments
 (0)