ACWeather Class Reference

Inherits from NSObject
Declared in ACWeather.h

  timestamp

获取最新一次时间格式为"yyyy-MM-dd HH:mm:ss" 获取最近几天时间格式为"yyyy-MM-dd" 获取最近几小时时间格式为"yyyy-MM-dd HH"

@property (nonatomic, copy) NSString *timestamp

Declared In

ACWeather.h

  temperature

温度

@property (nonatomic, copy) NSString *temperature

Declared In

ACWeather.h

  minTemperature

最低温度

@property (nonatomic, copy) NSString *minTemperature

Declared In

ACWeather.h

  maxTemperature

最高温度

@property (nonatomic, copy) NSString *maxTemperature

Declared In

ACWeather.h

  humidity

湿度

@property (nonatomic, assign) NSInteger humidity

Declared In

ACWeather.h

  minHumidity

最低湿度

@property (nonatomic, assign) NSInteger minHumidity

Declared In

ACWeather.h

  maxHumidity

最高湿度

@property (nonatomic, assign) NSInteger maxHumidity

Declared In

ACWeather.h

+ weatherWithDict:

使用字典初始化

+ (instancetype)weatherWithDict:(NSDictionary *)dict

Parameters

dict

属性字典

Declared In

ACWeather.h