Skip to content

Commit

Permalink
Merge pull request #1018 from SwiftyJSON/chore-code-base
Browse files Browse the repository at this point in the history
chore: improve code base
  • Loading branch information
wongzigii committed Apr 2, 2019
2 parents e051129 + 9c3ec36 commit 2b6054e
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 357 deletions.
2 changes: 1 addition & 1 deletion Example/Example.xcodeproj/project.pbxproj
Expand Up @@ -32,7 +32,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
04294C501BE5A9DE00D0397E /* Playground.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Playground.playground; sourceTree = "<group>"; };
04294C501BE5A9DE00D0397E /* Playground.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Playground.playground; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
04733F511D92E6ED002E3A99 /* SwiftyJSON.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SwiftyJSON.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A82A1C1919D926B8009A653D /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
A82A1C1D19D926B8009A653D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down
1 change: 0 additions & 1 deletion Example/Playground.playground/Contents.swift
Expand Up @@ -29,7 +29,6 @@ let jsonString = String(data: jsonData!, encoding: .utf8)
### Initialization
*/
import SwiftyJSON

let json1 = try? JSON(data: jsonData!)
/*:
Expand Down
11 changes: 7 additions & 4 deletions Package.swift
Expand Up @@ -3,12 +3,15 @@ import PackageDescription

let package = Package(
name: "SwiftyJSON",
platforms: [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v3)
],
products: [
.library(name: "SwiftyJSON", targets: ["SwiftyJSON"]),
.library(name: "SwiftyJSON", targets: ["SwiftyJSON"])
],
dependencies: [],
targets: [
.target(name: "SwiftyJSON", dependencies: []),
.testTarget(name: "SwiftJSONTests", dependencies: ["SwiftyJSON"]),
]
.testTarget(name: "SwiftJSONTests", dependencies: ["SwiftyJSON"])
],
swiftLanguageVersions: [.v5]
)

0 comments on commit 2b6054e

Please sign in to comment.