URBSegmentedControl
URBSegmentedControl copied to clipboard
A replacement for UIKit's UISegmentedControl that offers a greater level of flexibility and customization.
This code in URBSegmentedControl uses a block that refers to self. The problem is that self will be retained. ``` [UIView animateWithDuration:0.4 animations:^{ [self layoutSegments]; }]; ``` Instead, it should...
Would be great to have a native Swift version!
I am doing something like this: (i am repeating elements just for the sake of showing a lot of elements) NSArray *titles = [NSArray arrayWithObjects:[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString], [@"NO"...
This issue is when want to unselect segemntedControl. I want call [URBSegmentedControl setSelectedSegmentIndex:-1]; and - fix issue when init from nib. at [initWithCoder:] - fix illegally value-changed event, when tap...
*\* Just saw this might be a duplicate, sorry - newbie failure** Hi, just checked out this nice piece of code (thanks !) and ran into an issue. I rely...