-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b976562
commit 1aff428
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// PLLabel.h | ||
// CriticalMass | ||
// | ||
// Created by Norman Sander on 10.11.14. | ||
// Copyright (c) 2014 Pokus Labs. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface PLLabel : UILabel | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// PLLabel.m | ||
// CriticalMass | ||
// | ||
// Created by Norman Sander on 10.11.14. | ||
// Copyright (c) 2014 Pokus Labs. All rights reserved. | ||
// | ||
|
||
#import "PLLabel.h" | ||
|
||
@implementation PLLabel | ||
|
||
- (void)drawTextInRect:(CGRect)rect { | ||
UIEdgeInsets insets = {10, 20, 10, 20}; | ||
[super drawTextInRect:UIEdgeInsetsInsetRect(rect, insets)]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters