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
|
||||
#
|
||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||
|
||||
## Build generated
|
||||
build/
|
||||
DerivedData/
|
||||
|
||||
## Various settings
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
|
@ -16,53 +12,19 @@ DerivedData/
|
|||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata/
|
||||
|
||||
## Other
|
||||
*.moved-aside
|
||||
*.xccheckout
|
||||
*.xcscmblueprint
|
||||
|
||||
## Obj-C/Swift specific
|
||||
profile
|
||||
*.moved-aside
|
||||
DerivedData
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.dSYM
|
||||
|
||||
## Playgrounds
|
||||
timeline.xctimeline
|
||||
playground.xcworkspace
|
||||
# Bundler
|
||||
.bundle
|
||||
|
||||
# Swift Package Manager
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
|
||||
# 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
|
||||
.swiftpm
|
||||
.build
|
||||
Package.resolved
|
||||
|
||||
Carthage/Build
|
||||
|
||||
# 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
|
||||
Pods/
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
// swift-tools-version:5.0
|
||||
// swift-tools-version:5.1
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "WolfCore",
|
||||
platforms: [
|
||||
.iOS(.v9), .macOS(.v10_13), .tvOS(.v11)
|
||||
],
|
||||
products: [
|
||||
.library(
|
||||
name: "WolfCore",
|
||||
type: .dynamic,
|
||||
targets: ["WolfCore"]),
|
||||
],
|
||||
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/WolfWith", 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: [
|
||||
.target(
|
||||
|
@ -29,7 +34,8 @@ let package = Package(
|
|||
"ExtensibleEnumeratedName",
|
||||
"WolfWith",
|
||||
"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 WolfWith
|
||||
@_exported import WolfFoundation
|
||||
|
||||
//
|
||||
// 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 %
|
||||
@_exported import WolfConcurrency
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
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.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.
|
||||
|
@ -27,4 +27,5 @@ WolfCore is a library of conveniences for constructing Swift applications in iOS
|
|||
s.dependency 'WolfWith'
|
||||
s.dependency 'WolfStrings'
|
||||
s.dependency 'WolfFoundation'
|
||||
s.dependency 'WolfConcurrency'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue