release 1.0.3

This commit is contained in:
Kuloud
2024-01-03 17:12:29 +08:00
parent 6f49fc9228
commit 68178f96e3
24 changed files with 596 additions and 29 deletions

View File

@ -24,9 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
/// @param numberColor 色值
+ (UIColor*)colorFromNumber:(NSNumber*)numberColor;
/// 将数组内含数字转换为point坐标默认数组第一个元素为x值第二个为y值
/// @param data 数组
+ (CGPoint)pointFromArray:(NSArray*)data;
+ (CGPoint)pointFromDictionary:(NSDictionary *)dictionary;
/// 从数据中解析经纬度
/// @param array 经纬度数组对(默认第一个当做维度,第二个当做经度)
@ -63,6 +61,14 @@ NS_ASSUME_NONNULL_BEGIN
/// @param array json数组[southwest,northeast],分别为西南、东北的坐标
+ (MAMapRect)mapRectFromArray:(NSArray *)array;
+ (CGPoint)pointFromDictionary:(NSDictionary *)dictionary;
+ (CGPoint)pointFromArray:(NSArray *)array;
+ (NSDictionary<NSString *, NSNumber *> *)dictionaryFromPoint:(CGPoint)point;
+ (NSArray *)arrayFromLocation:(CLLocationCoordinate2D)location;
@end
NS_ASSUME_NONNULL_END