NYSegmentedControl icon indicating copy to clipboard operation
NYSegmentedControl copied to clipboard

Animated, customizable replacement for UISegmentedControl

Results 19 NYSegmentedControl issues
Sort by recently updated
recently updated
newest added

我调用这个方法,但是界面对文字没有改变 [self.graySegmentedControl setTitle:NSLocalizedString(@"exchange", @"exchange") forSegmentAtIndex:0];

fix a bug may cause on 6/7 Plus that display an extra line on indicator right side

Hello How can I place SegmentedControl on NavigationItem titleView from left bar button to right bar button? ![simulator screen shot - iphone 8 - 2018-06-22 at 14 45 25](https://user-images.githubusercontent.com/742966/41764486-7bdfdd04-762b-11e8-8dcf-433ea35d398b.png)

Hi, I'm thinking of a new feature: adding a delegate: ``` obj-c @protocol NYSegmentedControlDelegate - (void)segmentedControl:(NYSegmentedControl *)segmentedControl willSelectIndex:(NSUInteger)index ; - (void)segmentedControl:(NYSegmentedControl *)segmentedControl didSelectIndex:(NSUInteger)index ; - (void)segmentedControl:(NYSegmentedControl *)segmentedControl willUnselectIndex:(NSUInteger)index ; -...

- Now the control can be a replacement for UISegmentedControl @nealyoung I've added the ability to NOT have a selected segment which also makes the component more comparable to Apple's...

How can I modify this to support `selectedSegmentIndex` = `UISegmentedControlNoSegment`

This for my work: CGContextTranslateCTM(context, 0, self.frame.size.height + 1); CGContextScaleCTM(context, 1.0, (CGFloat) -1.0); But i think need to calculate the size of the characters...

I get this error when i set my minimum deployment target to iOS 7.1 (null): Object file (/Users/jatin/Library/Developer/Xcode/DerivedData/MyProject/Build/Products/Debug-iphonesimulator/libNYSegmentedControl.a(NYSegmentIndicator.o)) was built for newer iOS version (9.1) than being linked (7.1) Can...