First, the operation symbol before and after the need to add a space two, control view has initwithframe three, Initwithsubview and Layoutsubviews
Initwithsubview: Initializing child controls
Layoutsubviews: Re-layout, in which you set the size of various controls frame and other features
Iv. Convert the contents of the plist file into a dictionary:
V. Add a view that is controlled by another viewcontroller in one viewcontroller:
Loading images according to the URL of the image:
Seven, set the fillet of ImageView:
Eight, change the program by default the first running controller:
Ix. Titlerectforconrect and Imagerectforcontrect
As long as the UIButton text changes, these two methods will be automatically called, and the last call, you can get UIButton text content, so you can calculate and return to the final layout contentrect
Ten, Uifont:
Links: http://deep-fish.iteye.com/blog/1678874
Summary of some common code