delayed-ui-segmented-control
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明: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.

![Delayed UI Segmented Control](http://www.thepursuitofquality.com/img/delayed_segment_control.png)

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

History
-------

The Delayed UI Segmented Control originated as a need in [myDomains][2]. 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][1] (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][2] 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.

[1]: http://creativecommons.org/licenses/by/2.5/ca/
[2]: http://rtlabs.ca/mydomains/
[3]: http://www.yycapps.com/2011/03/making-the-iphone-responsive-to-a-users-touch
[4]: http://www.thepursuitofquality.com/post/35/providing-better-visual-feedback-for-the-uisegmentedcontrol.html

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。