Skip to content

Commit

Permalink
Interface Builder upport for offCenter & insets
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Schott committed Feb 13, 2017
1 parent db70e5c commit ae14632
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions TGPControls/TGPCamelLabels7.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ - (void)setDownFontColor:(UIColor *)downFontColor {
[self layoutTrack];
}

- (void)setOffCenter:(CGFloat)offCenter {
_offCenter = offCenter;
[self layoutTrack];
}

- (void)setInsets:(NSInteger)insets {
_insets = insets;
[self layoutTrack];
}

// NSArray<NSString*>
- (void)setNames:(NSArray *)names {
NSAssert(names.count > 0, @"names.count");
Expand Down

0 comments on commit ae14632

Please sign in to comment.