AWFMoonPhase
Objective-C
@interface AWFMoonPhase : AWFWeatherObject
Swift
class AWFMoonPhase : AWFWeatherObject
An AWFMoonPhase object represents data returned by the sunmoon/moonphases endpoint
of the Aeris Weather API.
-
GMT date when the event took place.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;Swift
var timestamp: Date? { get set } -
Local time zone of the event location.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSTimeZone *timeZone;Swift
var timeZone: TimeZone? { get set } -
The numeric representation of the moon phase:
0: new moon1: first quarter moon2: full moon3: third quarter moon
Declaration
Objective-C
@property (nonatomic) NSInteger code;Swift
var code: Int { get set } -
The moon phase name.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *name;Swift
var name: String? { get set }
View on GitHub
AWFMoonPhase Class Reference