NZLabel 0.0.1

NZLabel 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total26,556
Week0
Month0

Installs

Apps107
Test Targets15
powered by Segment

GitHub

Stars47
Watchers4
Forks8
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 65


NZLabel 0.0.1

  • By
  • Bruno Tortato Furtado

UILabel with multiple fonts and colors.

NZLabel

Build Status

Requirements

NZLabel works on iOS 5.0+ version and is compatible with ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates:

  • Foundation.framework
  • UIKit.framework

You will need LLVM 3.0 or later in order to build NZLabel.

Adding NZLabel to your project

Source files

Alternatively you can directly add source files to your project.

  1. Download the latest code version or add the repository as a git submodule to your git-tracked project.
  2. Open your project in Xcode, then drag and drop all files at NZLabel folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.

Usage

#import "NZLabel.h"
...
UIFont *boldFont = [UIFont fontWithName:@"Helvetica-Bold" size:17];
UIColor *blackColor = [UIColor blackColor];
NSString *loren = @"Lorem";
NSString *ipsum = @"ipsum";

[self.labelBlack setBoldFontToString:loren];

[self.labelBlue setFontColor:blackColor string:ipsum];

[self.labelGreen setFont:boldFont string:ipsum];
[self.labelGreen setFontColor:blackColor string:ipsum];

License

This code is distributed under the terms and conditions of the MIT license.

Change-log

A brief summary of each NZLabel release can be found on the wiki.