GCKUIUtils Class

GCKUIUtils Class Reference

Overview

User interface utility methods.

Since
3.0

Inherits NSObject.

Class Method Summary

(nullable UIViewController *) + currentViewController
 Returns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller. More...
 
(NSString *) + timeIntervalAsString:
 Formats a time interval in MM:SS or H:MM:SS format. More...
 
(NSString *) + localTimeAsString:
 Formats a local time based on the current locale. More...
 

Method Detail

+ (nullable UIViewController *) currentViewController

Returns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller.

+ (NSString *) timeIntervalAsString: (NSTimeInterval)  timeInterval

Formats a time interval in MM:SS or H:MM:SS format.

+ (NSString *) localTimeAsString: (NSTimeInterval)  localTime

Formats a local time based on the current locale.

Since
4.3.4