TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Tarun Tyagi.
ClearTextLabel
is a UILabel
subclass that creates a label with see-through text.
-fobjc-arc
)pod 'ClearTextLabel'
Using ClearTextLabel is as simple as using regular UILabel :
ClearTextLabel* objCTLbl = [[ClearTextLabel alloc] initWithFrame:CGRectMake(20, 100, 280, 368)];
objCTLbl.text = @"Can this be drawn with transparency ?";
[self.view addSubview:objCTLbl];
ClearTextLabel draws the text provided to it with transparency.
Demo app includes the most basic regular example just for reference.