Skip to content

Commit 79e3baa

Browse files
authored
Merge pull request #23 from luoxiu/use-enum-as-namespace
use enum as namespace, as Apple does in Combine
2 parents 1dd6297 + b692a2f commit 79e3baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KakaJSON/Convert/Values.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111
import CoreGraphics
1212
#endif
1313

14-
public struct Values {
14+
public enum Values {
1515
static func value(_ val: Any?,
1616
_ type: Any.Type,
1717
_ defaultValue: @autoclosure () -> Any? = nil) -> Any? {

0 commit comments

Comments
 (0)