Interface Builder upport for offCenter & insets

This commit is contained in:
Xavier Schott 2017-02-13 12:20:21 -08:00
parent db70e5ce96
commit ae14632028
1 changed files with 10 additions and 0 deletions

View File

@ -93,6 +93,16 @@
[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");