The unstandard library has what the standard library (& Foundation) craves.
Requires Swift 5.4+
https://github.com/CombineHarvesters/FoundationCombine/tree/master/Sources/FoundationCombine
Fix String.split(separator:maxSplits:omittingEmptySubsequences:) for maxSplits != Int.max
The unstandard library has what the standard library (& Foundation) craves.
Requires Swift 5.4+
https://github.com/CombineHarvesters/FoundationCombine/tree/master/Sources/FoundationCombine
{
"name": "unstandard",
"path": "/usr/src/package",
"targets": [
{
"name": "unstandardTests",
"path": "Tests/unstandardTests",
"type": "test",
"c99name": "unstandardTests",
"sources": [
"unstandardTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"unstandard"
]
},
{
"name": "unstandardStringsTests",
"path": "Tests/unstandardStringsTests",
"type": "test",
"c99name": "unstandardStringsTests",
"sources": [
"unstandardStringsTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"unstandardStrings",
"unstandard"
]
},
{
"name": "unstandardStrings",
"path": "Sources/unstandardStrings",
"type": "library",
"c99name": "unstandardStrings",
"sources": [
"CharacterSet/CharacterSet+SetAlgebra.swift",
"String/String+AffixOperations.swift",
"StringInterpolation/String.Interpolation+BinaryInteger.swift",
"StringProtocol/StringProtocol+Components.swift",
"StringProtocol/StringProtocol+Filtering.swift",
"StringProtocol/StringProtocol+Indices.swift",
"StringProtocol/StringProtocol+Ranges.swift",
"StringProtocol/StringProtocol+SetAlgebra.swift",
"StringProtocol/StringProtocol+Subscripts.swift",
"UnicodeScalarView/String.UnicodeScalarView+AffixAccessors.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"unstandard",
"transfer"
],
"product_dependencies": [
"Algorithms",
"Collections",
"Resultto"
]
},
{
"name": "unstandard",
"path": "Sources/unstandard",
"type": "library",
"c99name": "unstandard",
"sources": [
"Algorithms/Free Functions/Confirm.swift",
"Bindings/Binding+Bool.swift",
"Bindings/Binding+CGFloat.swift",
"Bindings/Binding+CGPoint.swift",
"Exports/CustomDebugTreeConvertible.swift",
"Exports/unstandardStrings.swift",
"Extensions/Array+Extensions.swift",
"Extensions/AsyncLineSequence+Extensions.swift",
"Extensions/Bool+Extensions.swift",
"Extensions/CGFloat+Extensions.swift",
"Extensions/CGPoint+Extensions.swift",
"Extensions/CGRect+Extensions.swift",
"Extensions/CGSize+Extensions.swift",
"Extensions/Character+Extensions.swift",
"Extensions/CharacterSet+Extensions.swift",
"Extensions/Date+Extensions.swift",
"Extensions/DateFormatter+Extensions.swift",
"Extensions/Dictionary+Extensions.swift",
"Extensions/FileManager+Extensions.swift",
"Extensions/ForEach+Extensions.swift",
"Extensions/Formatters/ByteCountFormatter.swift",
"Extensions/Int+Extensions.swift",
"Extensions/NSPredicate+Extensions.swift",
"Extensions/NSRange+Extensions.swift",
"Extensions/NSRegularExpression+Extensions.swift",
"Extensions/NotificationCenter+Extensions.swift",
"Extensions/NumberFormatter+Extensions.swift",
"Extensions/Optional+Extensions.swift",
"Extensions/Protocol Extensions/BinaryFloatingPoint+Extensions.swift",
"Extensions/Protocol Extensions/BinaryInteger+Extensions.swift",
"Extensions/Protocol Extensions/Collection+Extensions.swift",
"Extensions/Protocol Extensions/ExpressibleByArrayLiteral+Extensions.swift",
"Extensions/Protocol Extensions/ExpressibleByBoolLiteral+Extensions.swift",
"Extensions/Protocol Extensions/FixedWidthInteger+Extensions.swift",
"Extensions/Protocol Extensions/FloatingPoint+Extensions.swift",
"Extensions/Protocol Extensions/RangeReplaceableCollection+Extensions.swift",
"Extensions/Protocol Extensions/ReversedCollection+Extensions.swift",
"Extensions/Protocol Extensions/Sequence+Extensions.swift",
"Extensions/Protocol Extensions/StringProtocol+Extensions.swift",
"Extensions/Protocol Extensions/Wrappable+Extensions.swift",
"Extensions/Range+Extensions.swift",
"Extensions/Set+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/String.Index+Extensions.swift",
"Extensions/TimeInterval+Extensions.swift",
"Extensions/URL+Extensions.swift",
"Extensions/UserDefaults+Extensions.swift",
"Extensions/View+Extensions.swift",
"Formatters/_ListFormatter.swift",
"Operators/?=.swift",
"Operators/???.swift",
"Property Wrappers/ExclusiveAccess.swift",
"Property Wrappers/Memoized.swift",
"Property Wrappers/Storage.swift",
"Protocols/ExpressibleByRawValue.swift",
"Protocols/Iffable.swift",
"Protocols/SequenceInitializable.swift",
"Protocols/Updatable.swift",
"Protocols/Wrappable.swift",
"Result Builders/AnyTrue.swift",
"Result Builders/ArrayBuilder.swift",
"Result Builders/EmptyBuilder.swift",
"Result Builders/FirstNonNil.swift",
"Result Builders/OrderedSetResult.swift",
"Result Builders/PairBuilder.swift",
"Result Builders/ProtocolTypedArrayBuilder.swift",
"Result Builders/SetBuilder.swift",
"Result Builders/SingleElementBuilder.swift",
"Result Builders/SingleResult.swift",
"Result Builders/StringBuilder.swift",
"Result Builders/UUIDResult.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"unstandard",
"transfer"
],
"target_dependencies": [
"CustomDebugTreeConvertible",
"unstandardStrings"
],
"product_dependencies": [
"Algorithms",
"Collections",
"Resultto"
]
},
{
"name": "transfer",
"path": "Sources/transfer",
"type": "library",
"c99name": "transfer",
"sources": [
"Transfer.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"transfer"
],
"target_dependencies": [
"unstandard"
]
},
{
"name": "operation",
"path": "Sources/operation",
"type": "library",
"c99name": "operation",
"sources": [
"Operation.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"operation"
]
},
{
"name": "CustomDebugTreeConvertibleTests",
"path": "Tests/CustomDebugTreeConvertibleTests",
"type": "test",
"c99name": "CustomDebugTreeConvertibleTests",
"sources": [
"CustomDebugTreeConvertibleTests.swift",
"TreeNode.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"CustomDebugTreeConvertible"
]
},
{
"name": "CustomDebugTreeConvertible",
"path": "Sources/Standard Library Additions/CustomDebugTreeConvertible",
"type": "library",
"c99name": "CustomDebugTreeConvertible",
"sources": [
"DebugPrint.swift",
"Protocols/CustomDebugTreeConvertible.swift",
"Protocols/CustomTreeFormatting.swift",
"TreeFormatter.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"unstandard",
"transfer"
]
}
],
"products": [
{
"name": "unstandard",
"type": {
"library": [
"automatic"
]
},
"targets": [
"unstandard"
]
},
{
"name": "operation",
"type": {
"library": [
"automatic"
]
},
"targets": [
"operation"
]
},
{
"name": "transfer",
"type": {
"library": [
"automatic"
]
},
"targets": [
"transfer"
]
}
],
"platforms": [],
"dependencies": [
{
"url": "https://github.com/apple/swift-algorithms.git",
"type": "sourceControl",
"identity": "swift-algorithms",
"requirement": {
"range": [
{
"lower_bound": "1.0.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-collections.git",
"type": "sourceControl",
"identity": "swift-collections",
"requirement": {
"range": [
{
"lower_bound": "1.0.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/christopherweems/Resultto.git",
"type": "sourceControl",
"identity": "resultto",
"requirement": {
"range": [
{
"lower_bound": "0.1.2",
"upper_bound": "1.0.0"
}
]
}
}
],
"tools_version": "5.4",
"manifest_display_name": "unstandard"
}
{
"name": "unstandard",
"traits": [],
"targets": [
{
"name": "unstandard",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"product": [
"Algorithms",
"swift-algorithms",
null,
null
]
},
{
"product": [
"Collections",
"swift-collections",
null,
null
]
},
{
"product": [
"Resultto",
"Resultto",
null,
null
]
},
{
"byName": [
"CustomDebugTreeConvertible",
null
]
},
{
"byName": [
"unstandardStrings",
null
]
}
],
"packageAccess": false
},
{
"name": "unstandardStrings",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"product": [
"Algorithms",
"swift-algorithms",
null,
null
]
},
{
"product": [
"Collections",
"swift-collections",
null,
null
]
},
{
"product": [
"Resultto",
"Resultto",
null,
null
]
}
],
"packageAccess": false
},
{
"name": "CustomDebugTreeConvertible",
"path": "Sources/Standard Library Additions/CustomDebugTreeConvertible/",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [],
"packageAccess": false
},
{
"name": "operation",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [],
"packageAccess": false
},
{
"name": "transfer",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"unstandard",
null
]
}
],
"packageAccess": false
},
{
"name": "unstandardTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"unstandard",
null
]
}
],
"packageAccess": false
},
{
"name": "unstandardStringsTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"unstandardStrings",
null
]
},
{
"byName": [
"unstandard",
null
]
}
],
"packageAccess": false
},
{
"name": "CustomDebugTreeConvertibleTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"CustomDebugTreeConvertible",
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "unstandard",
"type": {
"library": [
"automatic"
]
},
"targets": [
"unstandard"
]
},
{
"name": "operation",
"type": {
"library": [
"automatic"
]
},
"targets": [
"operation"
]
},
{
"name": "transfer",
"type": {
"library": [
"automatic"
]
},
"targets": [
"transfer"
]
}
],
"pkgConfig": null,
"platforms": [],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-algorithms",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-algorithms.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swift-collections",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-collections.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "resultto",
"location": {
"remote": [
{
"urlString": "https://github.com/christopherweems/Resultto.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "0.1.2",
"upperBound": "1.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.4.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
{
"url": "/usr/src/package",
"name": "unstandard",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/apple/swift-algorithms.git",
"name": "swift-algorithms",
"path": "/usr/src/package/.build/checkouts/swift-algorithms",
"version": "1.2.1",
"identity": "swift-algorithms",
"dependencies": [
{
"url": "https://github.com/apple/swift-numerics.git",
"name": "swift-numerics",
"path": "/usr/src/package/.build/checkouts/swift-numerics",
"version": "1.0.3",
"identity": "swift-numerics",
"dependencies": []
}
]
},
{
"url": "https://github.com/apple/swift-collections.git",
"name": "swift-collections",
"path": "/usr/src/package/.build/checkouts/swift-collections",
"version": "1.2.0",
"identity": "swift-collections",
"dependencies": []
},
{
"url": "https://github.com/christopherweems/Resultto.git",
"name": "Resultto",
"path": "/usr/src/package/.build/checkouts/Resultto",
"version": "0.2.2",
"identity": "resultto",
"dependencies": []
}
]
}