Skip to content

Commit

Permalink
Merge pull request #23 from luoxiu/use-enum-as-namespace
Browse files Browse the repository at this point in the history
use enum as namespace, as Apple does in Combine
  • Loading branch information
CoderMJLee authored Sep 4, 2019
2 parents 1dd6297 + b692a2f commit 79e3baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KakaJSON/Convert/Values.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation
import CoreGraphics
#endif

public struct Values {
public enum Values {
static func value(_ val: Any?,
_ type: Any.Type,
_ defaultValue: @autoclosure () -> Any? = nil) -> Any? {
Expand Down

0 comments on commit 79e3baa

Please sign in to comment.