0324 Creating transform
- Transform is a deformation attribute.
Such as:
This is explained by the above method: it is relative to the initial state and does not deform on the basis of the change. If you want to keep changing, you have to change the value of TX or Ty.
If you want to make a change directly on the current transform, follow the following notation, as shown in:
Of course, rotation is the same, such as:
Of course scaling is the same, such as:
plist reading files from a local package lazy loading data
Such as:
Bundle
Such as:
Uiimageview Sequence frame animation (changing a picture every time)-Tom Cat
%02d represents two digits before the decimal point, not enough for two bits to replace with 0. %.2d means two digits after the decimal point, less than two bits with 0 complement
Note that there is a problem with the above code, the memory will skyrocket, the method is to wait until the full completion of the animation and then empty animationimages, free memory. As shown in:
Or
Note Possible interview questions: Can you think of several delays? A: 3.
UIImage cache and do not cache
Such as:
UIButton and Uiimageview
Summarized as:
In summary, any control that inherits from Uicontrol can add events in a addtarget way. Like UISlider.
IOS Advanced Next day (0324)