Skip to content

Commit

Permalink
Merge pull request #10 from Ether-CLI/develop
Browse files Browse the repository at this point in the history
Added String NSMutableString initializer for Linux Support
  • Loading branch information
calebkleveter authored May 5, 2018
2 parents 3dc2331 + 8f6f549 commit 6e1369e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [0.4.2] 2018-05-05

### Fixed
- Fixed Linux support for `NSMutableString` to `String` initializer.

## [0.4.1] 2018-05-04

### Fixed
Expand Down
10 changes: 10 additions & 0 deletions Sources/Manifest/Internal.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import Foundation

extension String {

/// Adds Linux compatibility for the `String(_:)` initializer.
init(_ mutableString: NSMutableString) {
self = String(describing: mutableString)
}
}

internal var testManifest = """
// swift-tools-version:4.0
Expand Down

0 comments on commit 6e1369e

Please sign in to comment.