We all love animations.On one hand, they help our eyes be guided, but they also bring a nice finishing touch, a bit of extra care, a bit of emotion. We also prefer a lively UI to a static one, a UI that gives us feedback, that interacts back with us. But, as with anything, too much will be harmful, so let's explore a few finishing touches that can be added to an app without overwhelming it.Changing a button's frame and/or color on touchDownWe usually put a button's action on touchUpInside and the reason for that is to give the user a chance to change his mind. But the physical action performed is the actual touch of the button, which is handled by touchDown. At this point, we can have the UI respond to the user's interaction, to let them know something did happen, by modifying the appearance.Don't go overboard with this, though.I'd start with a scale of 0.97, a background alpha change to 0.85, a borderWidth increase of 1 or 2, or a combination of two them — more than two will be too aggressive.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
swift,mobile,ios-programming,ios,design
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
swift,mobile,ios-programming,ios,design
No comments:
Post a Comment