//
//  NSDictionary+SYSafeConvert.h
//  MedImagePicker
//
//  Created by xiaolu zhao on 2019/11/14.
//  Copyright © 2019 sp. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSMutableDictionary (SYSafeConvert)

- (void)sy_setObject:(id)value forKey:(NSString *)key;

- (void)sy_setInteger:(NSInteger)value forKey:(NSString *)key;

- (void)sy_setBool:(BOOL)value forKey:(NSString *)key;

@end

@interface NSDictionary (SYSafeConvert)

- (NSString *)sy_stringForKey:(NSString *)key;

- (BOOL)sy_boolForKey:(NSString *)key;

- (NSInteger)sy_integerForKey:(NSString *)key;

@end

NS_ASSUME_NONNULL_END
