UI Learning three-day summary

Source: Internet
Author: User

8.29 UI Learning First day daily


8.30 UI Learning the second day daily

1. Today, learning the Leftview and Rightview attributes of TextField, we use the Rightviewrectforbounds method of rewriting TextField to add the function of password visualization to the part that was completed yesterday, first adding "small eyes" UIButton, click the event that triggers TextField's Securetextentry property to change from Yes to No. Use the overridden method to change the position of the small eye in the TextField to make it look a little better.

2. Learn gesture recognition and complete the behavior by judging gestures. First build an instance object of UITapGestureRecognizer, define its Click event, implement the Click event, add the instance object to the view.



8.31 UI Learning the third day daily

1. Today I learned the custom view and the view controller, in the evening with these two knowledge point made the movie introduction, stole the division wool Glass Method, defines a Uivisualeffectview instance object, then initializes [Initwitheffect:], The frame is assigned with the bounds of the entire view, and finally the instance object is added to the view, and the background of the film introduction is the effect of the film poster's frosted glass. Make the overall look more harmonious.

2. Know how the uitextview becomes transparent.

3.UILable Bold is Helvetica.



How to use the wool glass effect


Border rounded corners



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

UI Learning three-day summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.