TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Jonathan Willing.
JNWLabel
is a light-weight wrapper around CATextLayer
that provides an alternative to NSTextField
, with support for accessibility.
JNWLabel
behaves similarly to UILabel
.
Although JNWLabel
can be used in Interface Builder, it must be placed as a custom NSView
, meaning text and other properties must be modified in code.
JNWLabel *label = [[JNWLabel alloc] initWithFrame:someRect];
label.font = [NSFont systemFontOfSize:14];
label.text = @"Hello World!";
For a better idea of what you can do, please check the example project.
Full documentation is provided in the header file (JNWLabel.h
).
JNWLabel
by default includes support for accessibility.
JNWLabel
is licensed under the MIT license. See LICENSE.md.
You can follow me on Twitter as @willing, email me at the email listed on my GitHub profile, or read my blog at jwilling.com.