Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Поправил название фреймворка #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1150"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1150"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
27 changes: 14 additions & 13 deletions Examples/CaseStudies/CaseStudies.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
7854FF92249318910094D8A8 /* UIKitCaseStudiesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7854FF91249318910094D8A8 /* UIKitCaseStudiesTests.swift */; };
78634FE924930375006E231F /* RxCocoa in Frameworks */ = {isa = PBXBuildFile; productRef = 78634FE824930375006E231F /* RxCocoa */; };
78BC6CAC24D9BD200061AB2D /* ComposableArchitecture in Frameworks */ = {isa = PBXBuildFile; productRef = 78BC6CAB24D9BD200061AB2D /* ComposableArchitecture */; };
DC25DC5F2450F13200082E81 /* IfLetStoreController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC25DC5E2450F13200082E81 /* IfLetStoreController.swift */; };
DC25DC612450F2B000082E81 /* LoadThenNavigate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC25DC602450F2B000082E81 /* LoadThenNavigate.swift */; };
DC25DC642450F2DF00082E81 /* ActivityIndicatorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC25DC632450F2DF00082E81 /* ActivityIndicatorViewController.swift */; };
Expand All @@ -21,6 +20,7 @@
DC4C6ED62450E1050066A05D /* CounterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC4C6ED52450E1050066A05D /* CounterViewController.swift */; };
DC4C6EDA2450E6050066A05D /* NavigateAndLoad.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC4C6ED92450E6050066A05D /* NavigateAndLoad.swift */; };
DC630FDA2451016B00BAECBA /* ListsOfState.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC630FD92451016B00BAECBA /* ListsOfState.swift */; };
FCA7EB552704A55300E873AE /* TutuComposableArchitecture in Frameworks */ = {isa = PBXBuildFile; productRef = FCA7EB542704A55300E873AE /* TutuComposableArchitecture */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -82,7 +82,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
78BC6CAC24D9BD200061AB2D /* ComposableArchitecture in Frameworks */,
FCA7EB552704A55300E873AE /* TutuComposableArchitecture in Frameworks */,
78634FE924930375006E231F /* RxCocoa in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -188,7 +188,7 @@
name = UIKitCaseStudies;
packageProductDependencies = (
78634FE824930375006E231F /* RxCocoa */,
78BC6CAB24D9BD200061AB2D /* ComposableArchitecture */,
FCA7EB542704A55300E873AE /* TutuComposableArchitecture */,
);
productName = UIKitCaseStudies;
productReference = DC4C6EA72450DD380066A05D /* UIKitCaseStudies.app */;
Expand Down Expand Up @@ -222,7 +222,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1140;
LastUpgradeCheck = 1140;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "Point-Free";
TargetAttributes = {
DC4C6EA62450DD380066A05D = {
Expand All @@ -246,7 +246,7 @@
mainGroup = DC89C40A24460F95006900B9;
packageReferences = (
78634FE724930375006E231F /* XCRemoteSwiftPackageReference "RxSwift" */,
78BC6CAA24D9BD200061AB2D /* XCRemoteSwiftPackageReference "rxswift-composable-architecture" */,
FC3F18FE2704A33300BFD3BB /* XCRemoteSwiftPackageReference "rxswift-composable-architecture" */,
);
productRefGroup = DC89C41424460F95006900B9 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -433,6 +433,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -492,6 +493,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -557,15 +559,15 @@
repositoryURL = "https://github.com/ReactiveX/RxSwift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.1.1;
minimumVersion = 6.2.0;
};
};
78BC6CAA24D9BD200061AB2D /* XCRemoteSwiftPackageReference "rxswift-composable-architecture" */ = {
FC3F18FE2704A33300BFD3BB /* XCRemoteSwiftPackageReference "rxswift-composable-architecture" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/dannyhertz/rxswift-composable-architecture.git";
repositoryURL = "git@github.com:tutu-ru-mobile/rxswift-composable-architecture.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.6.0;
branch = master;
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand All @@ -576,10 +578,9 @@
package = 78634FE724930375006E231F /* XCRemoteSwiftPackageReference "RxSwift" */;
productName = RxCocoa;
};
78BC6CAB24D9BD200061AB2D /* ComposableArchitecture */ = {
FCA7EB542704A55300E873AE /* TutuComposableArchitecture */ = {
isa = XCSwiftPackageProductDependency;
package = 78BC6CAA24D9BD200061AB2D /* XCRemoteSwiftPackageReference "rxswift-composable-architecture" */;
productName = ComposableArchitecture;
productName = TutuComposableArchitecture;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import RxSwift
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit
import RxCocoa

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import RxSwift
import RxCocoa
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit

final class IfLetStoreController<State, Action>: UIViewController {
Expand Down
2 changes: 1 addition & 1 deletion Examples/CaseStudies/UIKitCaseStudies/ListsOfState.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import RxSwift
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit
import RxCocoa

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import RxCocoa
import RxSwift
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit

struct LazyNavigationState: Equatable {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import RxSwift
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit
import RxCocoa

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ComposableArchitecture
import TutuComposableArchitecture
import UIKit
import RxSwift

Expand Down
12 changes: 6 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import PackageDescription

let package = Package(
name: "rxswift-composable-architecture",
name: "TutuComposableArchitecture",
platforms: [
.iOS(.v12),
.macOS(.v10_15),
Expand All @@ -12,8 +12,8 @@ let package = Package(
],
products: [
.library(
name: "ComposableArchitecture",
targets: ["ComposableArchitecture"]
name: "TutuComposableArchitecture",
targets: ["TutuComposableArchitecture"]
)
],
dependencies: [
Expand All @@ -22,7 +22,7 @@ let package = Package(
],
targets: [
.target(
name: "ComposableArchitecture",
name: "TutuComposableArchitecture",
dependencies: [
.product(name: "CasePaths", package: "swift-case-paths"),
.product(name: "RxRelay", package: "RxSwift"),
Expand All @@ -31,9 +31,9 @@ let package = Package(
path: "Sources"
),
.testTarget(
name: "ComposableArchitectureTests",
name: "TutuComposableArchitectureTests",
dependencies: [
"ComposableArchitecture",
"TutuComposableArchitecture",
.product(name: "RxTest", package: "RxSwift")
],
path: "Tests"
Expand Down
10 changes: 5 additions & 5 deletions Sources/Internal/Debug.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ extension Effect: CustomDebugOutputConvertible {
let scheduler = mirror.children.first(where: { label, _ in label == "scheduler" })!.value
let ns = Int("\(Mirror(reflecting: interval).children.first!.value)")!
path.append(
"\n.delay(for: \(Double(ns) / Double(NSEC_PER_SEC)), scheduler: \(ComposableArchitecture.debugOutput(scheduler)))"
"\n.delay(for: \(Double(ns) / Double(NSEC_PER_SEC)), scheduler: \(TutuComposableArchitecture.debugOutput(scheduler)))"
)
}
if subjectType.hasPrefix("Empty<") {
Expand All @@ -233,7 +233,7 @@ extension Effect: CustomDebugOutputConvertible {
}
if subjectType.hasPrefix("ReceiveOn<") {
let scheduler = mirror.children.first(where: { label, _ in label == "scheduler" })!.value
path.append("\n.receive(on: \(ComposableArchitecture.debugOutput(scheduler)))")
path.append("\n.receive(on: \(TutuComposableArchitecture.debugOutput(scheduler)))")
}

mirror.children.forEach { _, v in updatePath(v) }
Expand All @@ -243,8 +243,8 @@ extension Effect: CustomDebugOutputConvertible {

guard mergeMany.isEmpty else {
return
ComposableArchitecture
.debugOutput(mergeMany.filter { !ComposableArchitecture.debugOutput($0).isEmpty })
TutuComposableArchitecture
.debugOutput(mergeMany.filter { !TutuComposableArchitecture.debugOutput($0).isEmpty })
}
guard empty == nil else { return "" }

Expand All @@ -258,7 +258,7 @@ extension Effect: CustomDebugOutputConvertible {
let operators = path.reversed().joined()
return """
\(type(of: self))(\
\(just.map { "\n\("value: \(ComposableArchitecture.debugOutput($0))".indent(by: 2))\n" } ?? "")\
\(just.map { "\n\("value: \(TutuComposableArchitecture.debugOutput($0))".indent(by: 2))\n" } ?? "")\
)\(operators.indent(by: !operators.isEmpty && just == nil ? 2 : 0))
"""
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/ComposableArchitectureTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ComposableArchitecture
import TutuComposableArchitecture
import RxSwift
import RxTest
import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/EffectCancellationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import RxSwift
import RxTest
import XCTest

@testable import ComposableArchitecture
@testable import TutuComposableArchitecture

final class EffectCancellationTests: XCTestCase {
struct CancelToken: Hashable {}
Expand Down
2 changes: 1 addition & 1 deletion Tests/EffectDebounceTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ComposableArchitecture
import TutuComposableArchitecture
import RxSwift
import RxTest
import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/EffectTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import RxSwift
import RxTest
import XCTest

@testable import ComposableArchitecture
@testable import TutuComposableArchitecture

final class EffectTests: XCTestCase {
var disposeBag = DisposeBag()
Expand Down
2 changes: 1 addition & 1 deletion Tests/Internal/EffectThrottleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import RxSwift
import RxTest
import XCTest

@testable import ComposableArchitecture
@testable import TutuComposableArchitecture

final class EffectThrottleTests: XCTestCase {
var disposeBag = DisposeBag()
Expand Down
2 changes: 1 addition & 1 deletion Tests/MemoryManagementTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ComposableArchitecture
import TutuComposableArchitecture
import RxSwift
import RxTest
import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/ReducerTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ComposableArchitecture
import TutuComposableArchitecture
import RxSwift
import RxTest
import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/StoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import RxSwift
import RxTest
import XCTest

@testable import ComposableArchitecture
@testable import TutuComposableArchitecture

final class StoreTests: XCTestCase {
var disposeBag = DisposeBag()
Expand Down
2 changes: 1 addition & 1 deletion Tests/TimerTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//import RxSwift
import ComposableArchitecture
import TutuComposableArchitecture
import RxSwift
import RxTest
import XCTest
Expand Down