Skip to content

Commit 19ca5f5

Browse files
committed
remove unused import
1 parent a60ffa3 commit 19ca5f5

40 files changed

+36
-14
lines changed

CXCocoa.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Pod::Spec.new do |s|
1414
s.watchos.deployment_target = "3.0"
1515

1616
s.source = { :git => "https://github.com/cx-org/CXCocoa.git", :tag => "#{s.version}" }
17-
s.source_files = "Sources/**/*.{swift,h,m}"
17+
s.source_files = "Sources/Shared/**/*.{swift,h,m}"
18+
s.ios.source_files = "Sources/UIKit/**/*.swift"
1819

1920
s.dependency 'CXFoundation', '~> 0.0.1-beta.3'
2021

CXCocoa.xcodeproj/project.pbxproj

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -281,19 +281,8 @@
281281
669225472309A11E0078CE5E /* Sources */ = {
282282
isa = PBXGroup;
283283
children = (
284-
66C29D1F230AD0A600DE6A70 /* @_exported.swift */,
285-
669225572309A7A60078CE5E /* AnyBinder.swift */,
286-
6692256F2309A7A70078CE5E /* AnyObject+DeallocatePublisher.swift */,
287-
669225682309A7A60078CE5E /* AnyObject+KVOPublisher.swift */,
288-
66AD7E1E230D8B4E0071B6F2 /* BinderProtocol.swift */,
289-
6692254C2309A7A60078CE5E /* Cancellable.swift */,
290-
6692255E2309A7A60078CE5E /* NSObject+MethodInvocation.swift */,
291-
66C29D24230AD62F00DE6A70 /* TakeWhile.swift */,
292-
66AD7E23230D93F80071B6F2 /* UIBinder.swift */,
293-
669225532309A7A60078CE5E /* UIScheduler.swift */,
294-
6692254D2309A7A60078CE5E /* _cx_objc */,
284+
66FD0EF523241C9600E519B9 /* Shared */,
295285
6668BED92309A23F006C61E6 /* conf */,
296-
669225542309A7A60078CE5E /* Internal */,
297286
669225692309A7A70078CE5E /* UIKit */,
298287
);
299288
path = Sources;
@@ -378,6 +367,25 @@
378367
path = UIKit;
379368
sourceTree = "<group>";
380369
};
370+
66FD0EF523241C9600E519B9 /* Shared */ = {
371+
isa = PBXGroup;
372+
children = (
373+
669225542309A7A60078CE5E /* Internal */,
374+
66C29D1F230AD0A600DE6A70 /* @_exported.swift */,
375+
669225572309A7A60078CE5E /* AnyBinder.swift */,
376+
6692256F2309A7A70078CE5E /* AnyObject+DeallocatePublisher.swift */,
377+
669225682309A7A60078CE5E /* AnyObject+KVOPublisher.swift */,
378+
66AD7E1E230D8B4E0071B6F2 /* BinderProtocol.swift */,
379+
6692254C2309A7A60078CE5E /* Cancellable.swift */,
380+
6692255E2309A7A60078CE5E /* NSObject+MethodInvocation.swift */,
381+
66C29D24230AD62F00DE6A70 /* TakeWhile.swift */,
382+
66AD7E23230D93F80071B6F2 /* UIBinder.swift */,
383+
669225532309A7A60078CE5E /* UIScheduler.swift */,
384+
6692254D2309A7A60078CE5E /* _cx_objc */,
385+
);
386+
path = Shared;
387+
sourceTree = "<group>";
388+
};
381389
820EA7A774ED8881B6C89691 /* Pods */ = {
382390
isa = PBXGroup;
383391
children = (
@@ -390,7 +398,6 @@
390398
0816726C5964BDBA3327D455 /* Pods-CXCocoa-CXCocoa-watchOS.debug.xcconfig */,
391399
AC8117B28EF0439BF7A71351 /* Pods-CXCocoa-CXCocoa-watchOS.release.xcconfig */,
392400
);
393-
name = Pods;
394401
path = Pods;
395402
sourceTree = "<group>";
396403
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
23
public struct AnyBinder<Value>: Binder {
34

45
private let action: (Value) -> Void

Sources/AnyObject+DeallocatePublisher.swift renamed to Sources/Shared/AnyObject+DeallocatePublisher.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
23
extension CombineXBox where Base: AnyObject {
34

45
public var deallocate: DeallocatePublisher {

Sources/AnyObject+KVOPublisher.swift renamed to Sources/Shared/AnyObject+KVOPublisher.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
23
extension CombineXBox where Base: AnyObject {
34

45
public func kvoPublisher<Value>(_ keyPath: KeyPath<Base, Value>) -> KVOPublisher<Base, Value> {
File renamed without changes.

0 commit comments

Comments
 (0)