Giter VIP home page Giter VIP logo

akasegmentedcontrol's Introduction

šŸ‘‹ Hi there! I'm Ali

Twitter ā€¢ LinkedIn ā€¢ Photos ā€¢ Flickr


āœØ Iā€™m an iOS developer at Photoroom and doing Indie Shapr Lab in my free time.

I love creating delightful experiences through code and design. I previously started SUPL, a mobile-only e-commerce app. I also happen to be an early contributor to a few successful apps like Mojo, Quik (acquired by GoPro) and Zenly (acquired by Snapchat).

Photography used to be a big part of my life. Some of them are visible on my Photoblog and Flickr if you are curious.

akasegmentedcontrol's People

Contributors

alikaragoz avatar danhawkes avatar lfarah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

akasegmentedcontrol's Issues

How do I determine which button is pressed directly?

AKSegmentedControl callback is NSIndexSet, How do I determine which button is pressed directly.Thanks

  • (void)segmentedViewController:(id)sender
    {
    AKSegmentedControl *segmentedControl = (AKSegmentedControl *)sender;

    if (segmentedControl == self.segmentedControl1) {
    //NSLog(@"SegmentedControl #1 ļ¼ļ¼ļ¼ļ¼: Selected Index %@", [segmentedControl selectedIndexes]);
    NSIndexSet *indexSet = [segmentedControl selectedIndexes];
    NSLog(@"what index is kenpig %d", [indexSet containsIndex:0]);
    }

Automatic resizing ?

Hey,

i have two UIPopoverController with an AKSegmentControl in it. Both AKSegmentedControls are 140px width.

One Popover is 320px width, the other ist 280px width. I set up the Control with the following Code:
mehrfachAuswahl = [[AKSegmentedControl alloc] initWithFrame:CGRectMake((self.bounds.size.width - 20) - auswahlWidth, 7, auswahlWidth, 35.0)];
[mehrfachAuswahl addTarget:self action:@selector(segmentedViewController:) forControlEvents:UIControlEventValueChanged];
[mehrfachAuswahl setSegmentedControlMode:AKSegmentedControlModeMultipleSelectionable];

Is it possible to deactive the autoresizing effekt?

bildschirmfoto 2013-05-14 um 13 49 20
bildschirmfoto 2013-05-14 um 13 49 04

The used UISegmentControl under the AKSegmentedControl is alwasy 140pc width.

iOS 10: Class name taken by private frameworks

Just like it was pointed out in #20, this library needs another name.
It causes an exception in iOS10:

-[AKSegmentedControl setSegmentedControlMode:]: unrecognized selector sent to instance...

This is the log from the debugger when launching an app using this library:

Class AKSegmentedControl is implemented in both /System/Library/PrivateFrameworks/AnnotationKit.framework/AnnotationKit (0x1b750c568) and /var/containers/Bundle/Application/A192D0FD-556C-4BB3-B910-AEAF2312DB39/... (0x100c9eb30).
One of the two will be used. Which one is undefined.

separator line

captura de ecra 2014-02-13 as 11 01 12
the separator line appears in the first button dont know why...

Can you help me please?
Thank you by the great code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.