1.IBAction:
1> can guarantee that the method can be wired
2> equivalent to void
2.IBOutlet:
1> can ensure that attributes can be wired
3. Common errors
Setvalue:forundefinedkey:]: This class was not key value coding
The reason for the error is: the connection problem
Some suggestions for 4.XCODE5 start
The methods and properties used for wiring are declared in the class extension of the. m file, guaranteeing its encapsulation.
5.frame\center\bounds
1> frame: Can modify position and size
2> Center: Can modify position
3> bounds: Can modify the size (X\y is generally 0)
6.NSBundle
1> a nsbundle represents a folder, with NSBundle access to the corresponding folder
2> can access any resource in the software resource bundle using Mainbundle
Installation path for the 3> emulator application
/users/aplle/Resource Library/application Support/iphone simulator/7.1/applications
7.UIImageView and UIButton
1> Use occasions
* Uiimageview: If you only display pictures, do not need to listen to the image of the click
* UIButton: Both display the picture, but also listen to the image of the click
2> same: can display picture
3> different points
* UIButton can handle click events, Uiimageview cannot handle click events
* UIButton can display both picture and text
* UIButton can display two pictures at the same time
* UIButton inherits from Uicontrol, so events can be handled by default
* Uiimageview inherits from UIView, so events cannot be handled by default
8.Xcode Document Installation Path
/applications/xcode.app/contents/developer/documentation/docsets
9.Xcode Simulator Installation path
/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks
ios--Summary Series One