diff --git a/EVReflection.podspec b/EVReflection.podspec index 3ccc0e98..4939e2ca 100644 --- a/EVReflection.podspec +++ b/EVReflection.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| # s.name = "EVReflection" -s.version = "3.5.2" +s.version = "3.6.0" s.summary = "iOS: Swift helper library with reflection functions" s.description = "Swift helper library with reflection functions including support for NSCoding, Printable, Hashable, Equatable and JSON" s.homepage = "https://github.com/evermeer/EVReflection" diff --git a/EVReflection/EVReflection.xcodeproj/project.pbxproj b/EVReflection/EVReflection.xcodeproj/project.pbxproj index 27d8ad59..87bdbf60 100644 --- a/EVReflection/EVReflection.xcodeproj/project.pbxproj +++ b/EVReflection/EVReflection.xcodeproj/project.pbxproj @@ -728,6 +728,7 @@ }; 7F6C9FAF1CB90E6D00F19811 = { CreatedOnToolsVersion = 7.3; + DevelopmentTeam = 443FV7F3ZK; }; 7F9336AD1C28227400AF7076 = { CreatedOnToolsVersion = 7.2; @@ -1364,6 +1365,7 @@ CLANG_ANALYZER_NONNULL = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = 443FV7F3ZK; INFOPLIST_FILE = EVReflectionTestApp/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = nl.evict.EVReflectionTestApp; @@ -1379,6 +1381,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ANALYZER_NONNULL = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; + DEVELOPMENT_TEAM = 443FV7F3ZK; INFOPLIST_FILE = EVReflectionTestApp/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = nl.evict.EVReflectionTestApp; diff --git a/EVReflection/pod/EVReflection.swift b/EVReflection/pod/EVReflection.swift index b4ce0d82..0dc5cfb5 100644 --- a/EVReflection/pod/EVReflection.swift +++ b/EVReflection/pod/EVReflection.swift @@ -704,6 +704,9 @@ final public class EVReflection { if valueType == "Foundation.Date" { return (theValue as! NSDate, "NSDate", false) } + if valueType == "Foundation.Data" { + return (theValue as! NSData, "NSData", false) + } let structAsDict = convertStructureToDictionary(theValue, conversionOptions: conversionOptions, isCachable: isCachable, parents: parents) return (structAsDict, "Struct", false) } else { diff --git a/README.md b/README.md index d7ece515..ffa8f26e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ [![Documentation](https://img.shields.io/badge/documented-97%-green.svg?style=flat)](http://cocoadocs.org/docsets/EVReflection) [![Stars](https://img.shields.io/github/stars/evermeer/EVReflection.svg?style=flat)](https://github.com/evermeer/EVReflection/stargazers) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift#json) +[![Downloads](https://img.shields.io/cocoapods/dt/EVReflection.svg?style=flat)](https://cocoapods.org/pods/EVReflection) + [![Version](https://img.shields.io/cocoapods/v/EVReflection.svg?style=flat)](http://cocoadocs.org/docsets/EVReflection) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)