Skip to content

Commit efe1e3d

Browse files
committed
Migrated project to Xcode 9.3 and Swift 4.1.
1 parent 755a2f6 commit efe1e3d

File tree

5 files changed

+29
-11
lines changed

5 files changed

+29
-11
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
# Changelog
22

3+
## 2.2 (2018-03-30)
4+
- Port to Swift 4.1
5+
- Migrated project to Xcode 9.3
6+
7+
## 2.1 (2018-01-24)
8+
- Port to Swift 4.0.2
9+
- Bug fix to support the Swift Package Manager for Swift 4
10+
- Makes `BigInt` a fully integrated `SignedInteger` in Swift 4
11+
- Re-introduces operations with overflow for `Rational` (which got lost in the Swift 4 migration)
12+
- Optimize performance of `BigInt`
13+
- Comprehensive support for bit operations on `BigInt` numbers
14+
- Several bug fixes for existing bit operations
15+
- Fixes numerous bugs in bit shifting logic
16+
- Fixes serious bug in division and remainder logic for `BigInt` numbers
17+
318
## 2.0 (2017-09-24)
4-
- Ported NumberKit to Swift 4. This is a major change that might break existing clients.
19+
- Ported NumberKit to Swift 4. This is a major change that might break existing clients
520
- Added support for `toPower(of:)` for all integer types
621
- Added new operators to `BigInt`: `<<`, `>>`, `<<=`, `>>=`, `%`, `%=`
722
- Introduced new integer protocol: `IntegerNumber`

NumberKit.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
isa = PBXProject;
187187
attributes = {
188188
LastSwiftUpdateCheck = 0700;
189-
LastUpgradeCheck = 0900;
189+
LastUpgradeCheck = 0930;
190190
ORGANIZATIONNAME = ObjectHub;
191191
TargetAttributes = {
192192
CC99F54E1B7AA6E200355E1E = {
@@ -282,12 +282,14 @@
282282
CLANG_WARN_BOOL_CONVERSION = YES;
283283
CLANG_WARN_COMMA = YES;
284284
CLANG_WARN_CONSTANT_CONVERSION = YES;
285+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
285286
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
286287
CLANG_WARN_EMPTY_BODY = YES;
287288
CLANG_WARN_ENUM_CONVERSION = YES;
288289
CLANG_WARN_INFINITE_RECURSION = YES;
289290
CLANG_WARN_INT_CONVERSION = YES;
290291
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
292+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
291293
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
292294
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
293295
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -338,12 +340,14 @@
338340
CLANG_WARN_BOOL_CONVERSION = YES;
339341
CLANG_WARN_COMMA = YES;
340342
CLANG_WARN_CONSTANT_CONVERSION = YES;
343+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
341344
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
342345
CLANG_WARN_EMPTY_BODY = YES;
343346
CLANG_WARN_ENUM_CONVERSION = YES;
344347
CLANG_WARN_INFINITE_RECURSION = YES;
345348
CLANG_WARN_INT_CONVERSION = YES;
346349
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
350+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
347351
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
348352
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
349353
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;

NumberKit.xcodeproj/xcshareddata/xcschemes/NumberKit (shared).xcscheme

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
<TestableReference
@@ -56,7 +55,6 @@
5655
buildConfiguration = "Debug"
5756
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5857
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59-
language = ""
6058
launchStyle = "0"
6159
useCustomWorkingDirectory = "NO"
6260
ignoresPersistentStateOnLaunch = "NO"

NumberKit.xcodeproj/xcuserdata/zenger.xcuserdatad/xcschemes/NumberKit.xcscheme

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
<TestableReference
@@ -56,7 +55,6 @@
5655
buildConfiguration = "Debug"
5756
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5857
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59-
language = ""
6058
launchStyle = "0"
6159
useCustomWorkingDirectory = "NO"
6260
ignoresPersistentStateOnLaunch = "NO"

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<p>
44
<a href="https://developer.apple.com/osx/"><img src="https://img.shields.io/badge/Platform-macOS-blue.svg?style=flat" alt="Platform: macOS" /></a>
5-
<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Language-Swift%204.0-green.svg?style=flat" alt="Language: Swift 4.0" /></a>
6-
<a href="https://developer.apple.com/xcode/"><img src="https://img.shields.io/badge/IDE-Xcode%209.0-orange.svg?style=flat" alt="IDE: Xcode 9.0" /></a>
5+
<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Language-Swift%204.1-green.svg?style=flat" alt="Language: Swift 4.1" /></a>
6+
<a href="https://developer.apple.com/xcode/"><img src="https://img.shields.io/badge/IDE-Xcode%209.3-orange.svg?style=flat" alt="IDE: Xcode 9.3" /></a>
77
<a href="https://raw.githubusercontent.com/objecthub/swift-lispkit/master/LICENSE"><img src="http://img.shields.io/badge/License-Apache-lightgrey.svg?style=flat" alt="License: Apache" /></a>
88
</p>
99

@@ -16,7 +16,10 @@ language. The current version provides three new numeric types:
1616
2. `Rational`: signed rational numbers
1717
3. `Complex`: complex floating-point numbers
1818

19-
**Requirements**: Xcode 9/Swift Package Manager, Swift 4
19+
**Requirements**:
20+
- Xcode 9.3
21+
- Swift 4.1
22+
- Optional: Swift Package Manager
2023

2124
**Note**: So far, with every major version of Swift, Apple decided to change the foundational APIs of the numeric
2225
types in Swift significantly and consistently in a backward incompatible way. In order to be more isolated from

0 commit comments

Comments
 (0)