AI-generated Key Takeaways
-
GMSTimeis an Objective-C class that represents time using a 24-hour clock, storing hours and minutes. -
It provides read-only access to the
hourandminutecomponents of the time, withhourranging from 0-23 andminuteranging from 0-59.
GMSTime
@interface GMSTime : NSObjectA class representing time in hours and minutes in a 24hr clock.
-
The hour representation of time in a day. (Range is between 0-23).
Declaration
Swift
var hour: UInt { get }Objective-C
@property (nonatomic, readonly) NSUInteger hour; -
The minute representation of time in a 1 hr period. (Range is between 0-59).
Declaration
Swift
var minute: UInt { get }Objective-C
@property (nonatomic, readonly) NSUInteger minute;