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