From b8fdf2a1637cb68b8d67043b98d40b7851886627 Mon Sep 17 00:00:00 2001 From: Syo Ikeda Date: Sun, 8 Feb 2015 18:28:13 +0900 Subject: [PATCH] Make MappingType public, address #42 Because a non-public type can't be used from outside the framework target, it enables https://github.com/Hearst-DD/ObjectMapper/issues/42#issuecomment-73383167 way for framework usage. --- ObjectMapper/Core/Mapper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ObjectMapper/Core/Mapper.swift b/ObjectMapper/Core/Mapper.swift index cbcb02ca..473d8cca 100755 --- a/ObjectMapper/Core/Mapper.swift +++ b/ObjectMapper/Core/Mapper.swift @@ -13,7 +13,7 @@ public protocol Mappable { init() } -enum MappingType { +public enum MappingType { case fromJSON case toJSON }