Home > delayed-ui-segmented-control

delayed-ui-segmented-control

Delayed-ui-segmented-control is a project mainly written in OBJECTIVE-C and C, it's free.

An extension to the UISegmentedControl to add better visual responsiveness.

Delayed UI Segmented Control

The Delayed UI Segmented Control is a subclassed UISegmentedControl. It is used to provide better feedback to the user when the segmented control is touched. Namely in the case where the segmented control is used in a manner that hides the control after the touch occurs. The control provides a slight delay before performing its action so that the user has time to see the touch occur.

You can read about the details on calgary's awesome iPhone dev site - yycApps.com or at my blog where this code was originally posted.

History

The Delayed UI Segmented Control originated as a need in myDomains. On one of the screens there was an option to add a domain name to one of two lists: myDomains or myWatches. What was observed was that when clicking the button to add to the list, the user was too quickly taken to a new view without seeing the touch take place. Thusly the dealyed control was created.

License

This code has been made available under under the Creative Commons Attribution 2.5 Canada License (except that which is quoted from elsewhere or attributed to others.)

Effectively you're free to reproduce, reuse and modify this code as long as you say you got it from me.

Support

If you benefitted from this code, feel free to do something nice for someone and pay it forward. If that someone is me, buy myDomains from the AppStore.

Contributing

If you want to contribute to the project with bug fixes, or the like, that's awesome! Submit a Pull Request and I'll be sure to have a look at the code.

Disclaimer

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, BLAH BLAH BLAH, REALLY, ARE YOU STILL READING AT THIS POINT? HONESTLY IF YOU USE THE CODE AND SOMETHING BAD HAPPENS ITS NOT MY FAULT AND YOU SHOULD TAKE RESPONSIBILITY FOR YOUR OWN DECISIONS. DIDN'T YOUR MOTHER TEACH YOU NOT TO BLAME OTHERS. EITHER WAY IF YOU USE THIS AND SOMETHING BAD HAPPENS THAT SUCKS. BUT I THINK I DID A DECENT ENOUGH JOB THAT THAT SHOULDN'T HAPPEN.