Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
b613104a81 | |
![]() |
2d10865da1 | |
![]() |
e9b670d5d3 | |
![]() |
018834d349 | |
![]() |
d76af85aef | |
![]() |
d310153992 | |
![]() |
ce3ff33b30 | |
![]() |
afae75e86b | |
![]() |
fceeea9ee1 |
|
@ -1,12 +1,8 @@
|
||||||
|
# OS X
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
# Xcode
|
# Xcode
|
||||||
#
|
|
||||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
|
||||||
|
|
||||||
## Build generated
|
|
||||||
build/
|
build/
|
||||||
DerivedData/
|
|
||||||
|
|
||||||
## Various settings
|
|
||||||
*.pbxuser
|
*.pbxuser
|
||||||
!default.pbxuser
|
!default.pbxuser
|
||||||
*.mode1v3
|
*.mode1v3
|
||||||
|
@ -16,53 +12,19 @@ DerivedData/
|
||||||
*.perspectivev3
|
*.perspectivev3
|
||||||
!default.perspectivev3
|
!default.perspectivev3
|
||||||
xcuserdata/
|
xcuserdata/
|
||||||
|
|
||||||
## Other
|
|
||||||
*.moved-aside
|
|
||||||
*.xccheckout
|
*.xccheckout
|
||||||
*.xcscmblueprint
|
profile
|
||||||
|
*.moved-aside
|
||||||
## Obj-C/Swift specific
|
DerivedData
|
||||||
*.hmap
|
*.hmap
|
||||||
*.ipa
|
*.ipa
|
||||||
*.dSYM.zip
|
|
||||||
*.dSYM
|
|
||||||
|
|
||||||
## Playgrounds
|
# Bundler
|
||||||
timeline.xctimeline
|
.bundle
|
||||||
playground.xcworkspace
|
|
||||||
|
|
||||||
# Swift Package Manager
|
.swiftpm
|
||||||
#
|
.build
|
||||||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
|
Package.resolved
|
||||||
# Packages/
|
|
||||||
# Package.pins
|
|
||||||
# Package.resolved
|
|
||||||
.build/
|
|
||||||
|
|
||||||
# CocoaPods
|
|
||||||
#
|
|
||||||
# We recommend against adding the Pods directory to your .gitignore. However
|
|
||||||
# you should judge for yourself, the pros and cons are mentioned at:
|
|
||||||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
|
||||||
#
|
|
||||||
Pods/
|
|
||||||
|
|
||||||
# Carthage
|
|
||||||
#
|
|
||||||
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
|
||||||
# Carthage/Checkouts
|
|
||||||
|
|
||||||
Carthage/Build
|
Carthage/Build
|
||||||
|
Pods/
|
||||||
# fastlane
|
|
||||||
#
|
|
||||||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
|
||||||
# screenshots whenever they are needed.
|
|
||||||
# For more information about the recommended setup visit:
|
|
||||||
# https://docs.fastlane.tools/best-practices/source-control/#source-control
|
|
||||||
|
|
||||||
fastlane/report.xml
|
|
||||||
fastlane/Preview.html
|
|
||||||
fastlane/screenshots
|
|
||||||
fastlane/test_output
|
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
// swift-tools-version:5.0
|
// swift-tools-version:5.1
|
||||||
import PackageDescription
|
import PackageDescription
|
||||||
|
|
||||||
let package = Package(
|
let package = Package(
|
||||||
name: "WolfCore",
|
name: "WolfCore",
|
||||||
|
platforms: [
|
||||||
|
.iOS(.v9), .macOS(.v10_13), .tvOS(.v11)
|
||||||
|
],
|
||||||
products: [
|
products: [
|
||||||
.library(
|
.library(
|
||||||
name: "WolfCore",
|
name: "WolfCore",
|
||||||
|
type: .dynamic,
|
||||||
targets: ["WolfCore"]),
|
targets: ["WolfCore"]),
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
|
@ -16,7 +20,8 @@ let package = Package(
|
||||||
.package(url: "https://github.com/wolfmcnally/ExtensibleEnumeratedName", from: "2.0.0"),
|
.package(url: "https://github.com/wolfmcnally/ExtensibleEnumeratedName", from: "2.0.0"),
|
||||||
.package(url: "https://github.com/wolfmcnally/WolfWith", from: "2.0.0"),
|
.package(url: "https://github.com/wolfmcnally/WolfWith", from: "2.0.0"),
|
||||||
.package(url: "https://github.com/wolfmcnally/WolfStrings", from: "2.0.0"),
|
.package(url: "https://github.com/wolfmcnally/WolfStrings", from: "2.0.0"),
|
||||||
.package(url: "https://github.com/wolfmcnally/WolfFoundation", from: "3.0.0")
|
.package(url: "https://github.com/wolfmcnally/WolfFoundation", from: "5.0.0"),
|
||||||
|
.package(url: "https://github.com/wolfmcnally/WolfConcurrency", from: "3.0.0")
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
|
@ -29,7 +34,8 @@ let package = Package(
|
||||||
"ExtensibleEnumeratedName",
|
"ExtensibleEnumeratedName",
|
||||||
"WolfWith",
|
"WolfWith",
|
||||||
"WolfStrings",
|
"WolfStrings",
|
||||||
"WolfFoundation"
|
"WolfFoundation",
|
||||||
|
"WolfConcurrency"
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
@ -0,0 +1,122 @@
|
||||||
|
//
|
||||||
|
// WolfPipe
|
||||||
|
//
|
||||||
|
|
||||||
|
// ComposeOperator.swift
|
||||||
|
precedencegroup ForwardCompositionPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: ForwardApplicationPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
precedencegroup BackwardsCompositionPrecedence {
|
||||||
|
associativity: right
|
||||||
|
higherThan: ForwardApplicationPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
precedencegroup SingleTypeCompositionPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: ForwardApplicationPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
infix operator >>> : ForwardCompositionPrecedence
|
||||||
|
infix operator <<< : BackwardsCompositionPrecedence
|
||||||
|
infix operator <> : SingleTypeCompositionPrecedence
|
||||||
|
|
||||||
|
// EffectfulComposeOperator.swift
|
||||||
|
precedencegroup EffectfulCompositionPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: ForwardApplicationPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
infix operator >=> : EffectfulCompositionPrecedence
|
||||||
|
|
||||||
|
// PipeOperator.swift
|
||||||
|
precedencegroup ForwardApplicationPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: BackwardApplicationPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
precedencegroup BackwardApplicationPrecedence {
|
||||||
|
associativity: right
|
||||||
|
higherThan: ComparisonPrecedence
|
||||||
|
lowerThan: NilCoalescingPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
infix operator |> : ForwardApplicationPrecedence
|
||||||
|
infix operator <| : BackwardApplicationPrecedence
|
||||||
|
|
||||||
|
//
|
||||||
|
// WolfNesting
|
||||||
|
//
|
||||||
|
|
||||||
|
// NestingOperator.swift
|
||||||
|
precedencegroup NestingOperatorPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: AssignmentPrecedence
|
||||||
|
lowerThan: ComparisonPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
infix operator => : NestingOperatorPrecedence
|
||||||
|
|
||||||
|
//
|
||||||
|
// WolfWith
|
||||||
|
//
|
||||||
|
|
||||||
|
// WithOperator.swift
|
||||||
|
infix operator • : CastingPrecedence
|
||||||
|
infix operator •• : CastingPrecedence
|
||||||
|
infix operator ••• : CastingPrecedence
|
||||||
|
|
||||||
|
//
|
||||||
|
// WolfStrings
|
||||||
|
//
|
||||||
|
|
||||||
|
// AttributedStringOperator.swift
|
||||||
|
postfix operator §
|
||||||
|
postfix operator §?
|
||||||
|
|
||||||
|
// CreateRegularExpressionOperator.swift
|
||||||
|
prefix operator ~/
|
||||||
|
|
||||||
|
// MatchRegularExpressionOperator.swift
|
||||||
|
infix operator ~?
|
||||||
|
infix operator ~??
|
||||||
|
|
||||||
|
// StringFloatPrecision.swift
|
||||||
|
precedencegroup AttributeAssignmentPrecedence {
|
||||||
|
associativity: left
|
||||||
|
higherThan: AssignmentPrecedence
|
||||||
|
lowerThan: ComparisonPrecedence
|
||||||
|
}
|
||||||
|
|
||||||
|
infix operator %% : AttributeAssignmentPrecedence
|
||||||
|
|
||||||
|
//
|
||||||
|
// WolfFoundation
|
||||||
|
//
|
||||||
|
|
||||||
|
// InheritsFromOperator.swift
|
||||||
|
infix operator <- : ComparisonPrecedence
|
||||||
|
|
||||||
|
// InvalidateAndAssignOperator.swift
|
||||||
|
infix operator ◊= : AssignmentPrecedence
|
||||||
|
|
||||||
|
// ReferenceOperator.swift
|
||||||
|
postfix operator ®
|
||||||
|
|
||||||
|
// TweakOperator.swift
|
||||||
|
prefix operator ‡
|
||||||
|
|
||||||
|
//
|
||||||
|
// WolfNumerics
|
||||||
|
//
|
||||||
|
|
||||||
|
// ApproximatelyEqualsOperator.swift
|
||||||
|
infix operator ≈ : ComparisonPrecedence
|
||||||
|
infix operator !≈ : ComparisonPrecedence
|
||||||
|
|
||||||
|
// IntervalCreationOperator.swift
|
||||||
|
infix operator .. : RangeFormationPrecedence
|
||||||
|
|
||||||
|
// PercentOperator.swift
|
||||||
|
postfix operator %
|
|
@ -6,89 +6,4 @@
|
||||||
@_exported import WolfStrings
|
@_exported import WolfStrings
|
||||||
@_exported import WolfWith
|
@_exported import WolfWith
|
||||||
@_exported import WolfFoundation
|
@_exported import WolfFoundation
|
||||||
|
@_exported import WolfConcurrency
|
||||||
//
|
|
||||||
// WolfPipe
|
|
||||||
//
|
|
||||||
|
|
||||||
// ComposeOperator.swift
|
|
||||||
infix operator >>> : ForwardCompositionPrecedence
|
|
||||||
infix operator <<< : BackwardsCompositionPrecedence
|
|
||||||
infix operator <> : SingleTypeCompositionPrecedence
|
|
||||||
|
|
||||||
// EffectfulComposeOperator.swift
|
|
||||||
infix operator >=> : EffectfulCompositionPrecedence
|
|
||||||
|
|
||||||
// PipeOperator.swift
|
|
||||||
infix operator |> : ForwardApplicationPrecedence
|
|
||||||
infix operator <| : BackwardApplicationPrecedence
|
|
||||||
|
|
||||||
//
|
|
||||||
// WolfNesting
|
|
||||||
//
|
|
||||||
|
|
||||||
// NestingOperator.swift
|
|
||||||
infix operator => : NestingOperatorPrecedence
|
|
||||||
|
|
||||||
//
|
|
||||||
// WolfWith
|
|
||||||
//
|
|
||||||
|
|
||||||
// WithOperator.swift
|
|
||||||
infix operator • : CastingPrecedence
|
|
||||||
infix operator •• : CastingPrecedence
|
|
||||||
infix operator ••• : CastingPrecedence
|
|
||||||
|
|
||||||
//
|
|
||||||
// WolfStrings
|
|
||||||
//
|
|
||||||
|
|
||||||
// AttributedStringOperator.swift
|
|
||||||
postfix operator §
|
|
||||||
postfix operator §?
|
|
||||||
|
|
||||||
// CreateRegularExpressionOperator.swift
|
|
||||||
prefix operator ~/
|
|
||||||
|
|
||||||
// MatchRegularExpressionOperator.swift
|
|
||||||
infix operator ~?
|
|
||||||
infix operator ~??
|
|
||||||
|
|
||||||
// StringFloatPrecision.swift
|
|
||||||
precedencegroup AttributeAssignmentPrecedence {
|
|
||||||
associativity: left
|
|
||||||
higherThan: AssignmentPrecedence
|
|
||||||
lowerThan: ComparisonPrecedence
|
|
||||||
}
|
|
||||||
|
|
||||||
infix operator %% : AttributeAssignmentPrecedence
|
|
||||||
|
|
||||||
//
|
|
||||||
// WolfFoundation
|
|
||||||
//
|
|
||||||
|
|
||||||
// InheritsFromOperator.swift
|
|
||||||
infix operator <- : ComparisonPrecedence
|
|
||||||
|
|
||||||
// InvalidateAndAssignOperator.swift
|
|
||||||
infix operator ◊= : AssignmentPrecedence
|
|
||||||
|
|
||||||
// ReferenceOperator.swift
|
|
||||||
postfix operator ®
|
|
||||||
|
|
||||||
// TweakOperator.swift
|
|
||||||
prefix operator ‡
|
|
||||||
|
|
||||||
//
|
|
||||||
// WolfNumerics
|
|
||||||
//
|
|
||||||
|
|
||||||
// ApproximatelyEqualsOperator.swift
|
|
||||||
infix operator ≈ : ComparisonPrecedence
|
|
||||||
infix operator !≈ : ComparisonPrecedence
|
|
||||||
|
|
||||||
// IntervalCreationOperator.swift
|
|
||||||
infix operator .. : RangeFormationPrecedence
|
|
||||||
|
|
||||||
// PercentOperator.swift
|
|
||||||
postfix operator %
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'WolfCore'
|
s.name = 'WolfCore'
|
||||||
s.version = '4.0.5'
|
s.version = '5.0.0'
|
||||||
s.summary = 'A library of conveniences for Swift, iOS, MacOS, tvOS, WatchOS, and Linux.'
|
s.summary = 'A library of conveniences for Swift, iOS, MacOS, tvOS, WatchOS, and Linux.'
|
||||||
s.description = <<-DESC
|
s.description = <<-DESC
|
||||||
WolfCore is a library of conveniences for constructing Swift applications in iOS, tvOS, MacOS, WatchOS, and Linux. WolfCore is maintained by Wolf McNally.
|
WolfCore is a library of conveniences for constructing Swift applications in iOS, tvOS, MacOS, WatchOS, and Linux. WolfCore is maintained by Wolf McNally.
|
||||||
|
@ -27,4 +27,5 @@ WolfCore is a library of conveniences for constructing Swift applications in iOS
|
||||||
s.dependency 'WolfWith'
|
s.dependency 'WolfWith'
|
||||||
s.dependency 'WolfStrings'
|
s.dependency 'WolfStrings'
|
||||||
s.dependency 'WolfFoundation'
|
s.dependency 'WolfFoundation'
|
||||||
|
s.dependency 'WolfConcurrency'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue