Latest 1.0
Homepage https://github.com/jwilling/JNWLabel
License MIT
Platforms osx 10.7, requires ARC
Frameworks QuartzCore
Authors

JNWLabel

JNWLabel is a light-weight wrapper around CATextLayer that provides an alternative to NSTextField, with support for accessibility.

Getting Started

JNWLabel behaves similarly to UILabel.

Interface Builder

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.

Example

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.

Documentation

Full documentation is provided in the header file (JNWLabel.h).

Accessibility

JNWLabel by default includes support for accessibility.

License

JNWLabel is licensed under the MIT license. See LICENSE.md.

Get In Touch

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.

Latest podspec

{
    "name": "JNWLabel",
    "version": "1.0",
    "summary": "Light-weight CATextLayer wrapper for OS X",
    "homepage": "https://github.com/jwilling/JNWLabel",
    "screenshots": "http://jwilling.com/drop/github/JNWLabel.png",
    "license": "MIT",
    "authors": {
        "Jonathan Willing": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jwilling/JNWLabel.git",
        "tag": "1.0"
    },
    "platforms": {
        "osx": "10.7"
    },
    "requires_arc": true,
    "source_files": "*.{h,m}",
    "osx": {
        "exclude_files": "JNWLabelDemo/**"
    },
    "frameworks": "QuartzCore"
}

Pin It on Pinterest

Share This