Interface Builder upport for offCenter & insets
This commit is contained in:
parent
db70e5ce96
commit
ae14632028
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue