Inherits from UILabel
Declared in TKCurrentTimeLabel.h
TKCurrentTimeLabel.m

Overview

TKCurrentTimeLabel is a label that prints out the current time.

Properties

currentTime

For subclassing, return the current time string.

@property (nonatomic, readonly, copy) NSString *currentTime

Declared In

TKCurrentTimeLabel.h

Instance Methods

attributeStringWithTime:

For subclassing, apply and text styling here.

- (NSAttributedString *)attributeStringWithTime:(NSString *)time

Parameters

time

The current time text.

Return Value

A attributed text string of the time string.

Declared In

TKCurrentTimeLabel.h