Skip to content

Commit bc5b0b0

Browse files
committed
Minor fix: returned type of ds_deepMutableCopy method
1 parent 51c8817 commit bc5b0b0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

DSJSONSchemaValidation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'DSJSONSchemaValidation'
3-
s.version = '2.0.1'
3+
s.version = '2.0.2'
44
s.authors = {'Vlas Voloshin' => 'argentumko@gmail.com', 'Andrew Podkovyrin' => 'podkovyrin@gmail.com'}
55
s.homepage = 'https://github.com/dashevo/JSONSchemaValidation'
66
s.social_media_url = 'https://twitter.com/podkovyr'

DSJSONSchemaValidation/Categories/NSDictionary+DSJSONDeepMutableCopy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
1515
/**
1616
Returns deep mutable copy of the receiver (only containers will be mutable)
1717
*/
18-
- (instancetype)ds_deepMutableCopy;
18+
- (NSMutableDictionary *)ds_deepMutableCopy;
1919

2020
@end
2121

DSJSONSchemaValidation/Categories/NSDictionary+DSJSONDeepMutableCopy.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@implementation NSDictionary (DSJSONDeepMutableCopy)
1414

15-
- (instancetype)ds_deepMutableCopy
15+
- (NSMutableDictionary *)ds_deepMutableCopy
1616
{
1717
NSMutableDictionary *mutableCopy = (NSMutableDictionary *)CFBridgingRelease(CFPropertyListCreateDeepCopy(kCFAllocatorDefault, (CFDictionaryRef)self, kCFPropertyListMutableContainers));
1818
return mutableCopy;

0 commit comments

Comments
 (0)