Skip to content

Commit

Permalink
renamed ANKFoundation as ANKCoreKit (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Jun 10, 2023
1 parent 0306fad commit 2fe8b76
Show file tree
Hide file tree
Showing 135 changed files with 194 additions and 223 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundation"
BuildableName = "ANKFoundation"
BlueprintName = "ANKFoundation"
BlueprintIdentifier = "ANKCoreKit"
BuildableName = "ANKCoreKit"
BlueprintName = "ANKCoreKit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -28,30 +28,20 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationBenchmarks"
BuildableName = "ANKFoundationBenchmarks"
BlueprintName = "ANKFoundationBenchmarks"
BlueprintIdentifier = "ANKCoreKitBenchmarks"
BuildableName = "ANKCoreKitBenchmarks"
BlueprintName = "ANKCoreKitBenchmarks"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationBenchmarks"
BuildableName = "ANKFoundationBenchmarks"
BlueprintName = "ANKFoundationBenchmarks"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand All @@ -71,15 +61,6 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundation"
BuildableName = "ANKFoundation"
BlueprintName = "ANKFoundation"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Release">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundation"
BuildableName = "ANKFoundation"
BlueprintName = "ANKFoundation"
BlueprintIdentifier = "ANKCoreKit"
BuildableName = "ANKCoreKit"
BlueprintName = "ANKCoreKit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -28,9 +28,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationTests"
BuildableName = "ANKFoundationTests"
BlueprintName = "ANKFoundationTests"
BlueprintIdentifier = "ANKCoreKitTests"
BuildableName = "ANKCoreKitTests"
BlueprintName = "ANKCoreKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -42,16 +42,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationTests"
BuildableName = "ANKFoundationTests"
BlueprintName = "ANKFoundationTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand All @@ -74,9 +64,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundation"
BuildableName = "ANKFoundation"
BlueprintName = "ANKFoundation"
BlueprintIdentifier = "ANKCoreKit"
BuildableName = "ANKCoreKit"
BlueprintName = "ANKCoreKit"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
</BuildAction>
<TestAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
</BuildAction>
<TestAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
Expand All @@ -52,18 +52,18 @@
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "ANKSignedBenchmarksOnText/testDecodingUsingSwiftStdlibRadix10()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testDecodingUsingSwiftStdlibRadix16()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testEncodingUsingSwiftStdlibRadix10()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testEncodingUsingSwiftStdlibRadix16()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testDecodingUsingSwiftStdlibRadix10()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testDecodingUsingSwiftStdlibRadix16()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testEncodingUsingSwiftStdlibRadix10()">
</Test>
<Test
Identifier = "ANKSignedBenchmarksOnText/testEncodingUsingSwiftStdlibRadix16()">
</Test>
</SkippedTests>
</TestableReference>
</Testables>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationBenchmarks"
BuildableName = "ANKFoundationBenchmarks"
BlueprintName = "ANKFoundationBenchmarks"
BlueprintIdentifier = "ANKCoreKitBenchmarks"
BuildableName = "ANKCoreKitBenchmarks"
BlueprintName = "ANKCoreKitBenchmarks"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -66,17 +66,17 @@
</BuildAction>
<TestAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ANKFoundationBenchmarks"
BuildableName = "ANKFoundationBenchmarks"
BlueprintName = "ANKFoundationBenchmarks"
BlueprintIdentifier = "ANKCoreKitBenchmarks"
BuildableName = "ANKCoreKitBenchmarks"
BlueprintName = "ANKCoreKitBenchmarks"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
Expand Down
24 changes: 12 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ let package = Package(
name: "AwesomeNumbersKit",
targets: ["AwesomeNumbersKit"]),
//=--------------------------------------=
// ANK x Foundation
// ANK x Core Kit
//=--------------------------------------=
.library(
name: "ANKFoundation",
targets: ["ANKFoundation"]),
name: "ANKCoreKit",
targets: ["ANKCoreKit"]),
//=--------------------------------------=
// ANK x Full Width Kit
//=--------------------------------------=
Expand All @@ -55,27 +55,27 @@ let package = Package(
//=--------------------------------------=
.target(
name: "AwesomeNumbersKit",
dependencies: ["ANKFoundation", "ANKFullWidthKit", "ANKSignedKit"]),
dependencies: ["ANKCoreKit", "ANKFullWidthKit", "ANKSignedKit"]),
//=--------------------------------------=
// ANK x Foundation
// ANK x Core Kit
//=--------------------------------------=
.target(
name: "ANKFoundation",
name: "ANKCoreKit",
dependencies: []),

.testTarget(
name: "ANKFoundationTests",
dependencies: ["ANKFoundation"]),
name: "ANKCoreKitTests",
dependencies: ["ANKCoreKit"]),

.testTarget(
name: "ANKFoundationBenchmarks",
dependencies: ["ANKFoundation"]),
name: "ANKCoreKitBenchmarks",
dependencies: ["ANKCoreKit"]),
//=--------------------------------------=
// ANK x Full Width Kit
//=--------------------------------------=
.target(
name: "ANKFullWidthKit",
dependencies: ["ANKFoundation"]),
dependencies: ["ANKCoreKit"]),

.testTarget(
name: "ANKFullWidthKitTests",
Expand All @@ -89,7 +89,7 @@ let package = Package(
//=--------------------------------------=
.target(
name: "ANKSignedKit",
dependencies: ["ANKFoundation"]),
dependencies: ["ANKCoreKit"]),

.testTarget(
name: "ANKSignedKitTests",
Expand Down
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [AwesomeNumbersKit][ANK/D]
# [AwesomeNumbersKit][MAIN/D]

Large number arithmetic in Swift.

Expand All @@ -7,7 +7,7 @@ Large number arithmetic in Swift.
| 0.6.2 | 5.7 | 13.0 | 13.0 | 13.0 | 10.15 | 13.0 | 6.0 |
| 2.2.0 | 5.8 | 16.4 | 16.4 | 16.4 | 13.3 | 16.4 | 9.4 |

## [ANKFullWidthKit][FUL/D] ([Sources][FUL/S], [Tests][FUL/T], [Benchmarks][FUL/B])
## [ANKFullWidthKit][FULL/D] ([Sources][FULL/S], [Tests][FULL/T], [Benchmarks][FULL/B])

A composable, large, fixed-width, two's complement, binary integer.

Expand All @@ -24,7 +24,7 @@ typealias Int256 = FullWidth< Int128, UInt128>
typealias UInt256 = FullWidth<UInt128, UInt128>
```

## [ANKSignedKit][SIG/D] ([Sources][SIG/S], [Tests][SIG/T], [Benchmarks][SIG/B])
## [ANKSignedKit][SIGN/D] ([Sources][SIGN/S], [Tests][SIGN/T], [Benchmarks][SIGN/B])

A decorative, width agnostic, sign-and-magnitude, numeric integer.

Expand All @@ -41,25 +41,25 @@ let min = Signed(Magnitude.max, as: Sign.minus)
let max = Signed(Magnitude.max, as: Sign.plus )
```

## ANKFoundation ([Sources][FDN/S], [Tests][FDN/T], [Benchmarks][FDN/B])
## ANKCoreKit ([Sources][CORE/S], [Tests][CORE/T], [Benchmarks][CORE/B])

Models, protocols, extensions and utilities underpinning this package.

### Models

- [ANKError](Sources/ANKFoundation/Models/ANKError.swift)
- [ANKSign](Sources/ANKFoundation/Models/ANKSign.swift)
- [ANKSigned\<Magnitude\>](Sources/ANKFoundation/Models/ANKSigned.swift)
- [ANKError](Sources/ANKCoreKit/Models/ANKError.swift)
- [ANKSign](Sources/ANKCoreKit/Models/ANKSign.swift)
- [ANKSigned\<Magnitude\>](Sources/ANKCoreKit/Models/ANKSigned.swift)

### Protocols

- [ANKBigEndianTextCodable](Sources/ANKFoundation/ANKBigEndianTextCodable.swift)
- [ANKBinaryInteger](Sources/ANKFoundation/ANKBinaryInteger.swift)
- [ANKBitPatternConvertible\<BitPattern\>](Sources/ANKFoundation/ANKBitPatternConvertible.swift)
- [ANKCoreInteger\<Magnitude\>](Sources/ANKFoundation/ANKCoreInteger.swift)
- [ANKFixedWidthInteger](Sources/ANKFoundation/ANKFixedWidthInteger.swift)
- [ANKSignedInteger](Sources/ANKFoundation/ANKBinaryInteger.swift)
- [ANKUnsignedInteger](Sources/ANKFoundation/ANKBinaryInteger.swift)
- [ANKBigEndianTextCodable](Sources/ANKCoreKit/ANKBigEndianTextCodable.swift)
- [ANKBinaryInteger](Sources/ANKCoreKit/ANKBinaryInteger.swift)
- [ANKBitPatternConvertible\<BitPattern\>](Sources/ANKCoreKit/ANKBitPatternConvertible.swift)
- [ANKCoreInteger\<Magnitude\>](Sources/ANKCoreKit/ANKCoreInteger.swift)
- [ANKFixedWidthInteger](Sources/ANKCoreKit/ANKFixedWidthInteger.swift)
- [ANKSignedInteger](Sources/ANKCoreKit/ANKBinaryInteger.swift)
- [ANKUnsignedInteger](Sources/ANKCoreKit/ANKBinaryInteger.swift)

## Check out my other projects

Expand All @@ -69,18 +69,18 @@ Models, protocols, extensions and utilities underpinning this package.

[Oscar/Numberick]: https://github.com/oscbyspro/Numberick

[ANK/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit
[FUL/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit/ankfullwidth
[SIG/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit/anksigned
[MAIN/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit
[FULL/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit/ankfullwidth
[SIGN/D]: https://oscbyspro.github.io/AwesomeNumbersKit/documentation/awesomenumberskit/anksigned

[FDN/S]: Sources/ANKFoundation
[FUL/S]: Sources/ANKFullWidthKit
[SIG/S]: Sources/ANKSignedKit
[CORE/S]: Sources/ANKCoreKit
[FULL/S]: Sources/ANKFullWidthKit
[SIGN/S]: Sources/ANKSignedKit

[FDN/T]: Tests/ANKFoundationTests
[FUL/T]: Tests/ANKFullWidthKitTests
[SIG/T]: Tests/ANKSignedKitTests
[CORE/T]: Tests/ANKCoreKitTests
[FULL/T]: Tests/ANKFullWidthKitTests
[SIGN/T]: Tests/ANKSignedKitTests

[FDN/B]: Tests/ANKFoundationBenchmarks
[FUL/B]: Tests/ANKFullWidthKitBenchmarks
[SIG/B]: Tests/ANKSignedKitBenchmarks
[CORE/B]: Tests/ANKCoreKitBenchmarks
[FULL/B]: Tests/ANKFullWidthKitBenchmarks
[SIGN/B]: Tests/ANKSignedKitBenchmarks
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ``ANKFoundation``
# ``ANKCoreKit``

Models, protocols, extensions and utilities underpinning this package.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Sources/ANKFullWidthKit/ANKFullWidth+Addition+Digit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// See http://www.apache.org/licenses/LICENSE-2.0 for license information.
//=----------------------------------------------------------------------------=

import ANKFoundation
import ANKCoreKit

//*============================================================================*
// MARK: * ANK x Full Width x Addition x Digit
Expand Down
2 changes: 1 addition & 1 deletion Sources/ANKFullWidthKit/ANKFullWidth+Addition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// See http://www.apache.org/licenses/LICENSE-2.0 for license information.
//=----------------------------------------------------------------------------=

import ANKFoundation
import ANKCoreKit

//*============================================================================*
// MARK: * ANK x Full Width x Addition
Expand Down
2 changes: 1 addition & 1 deletion Sources/ANKFullWidthKit/ANKFullWidth+Arithmetic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// See http://www.apache.org/licenses/LICENSE-2.0 for license information.
//=----------------------------------------------------------------------------=

import ANKFoundation
import ANKCoreKit

//*============================================================================*
// MARK: * ANK x Full Width x Arithmetic
Expand Down
Loading

0 comments on commit 2fe8b76

Please sign in to comment.