1.Xcode path from the lead file
/applications/xcode.app: Right-click application xcode-> Display Package Contents
/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/ Iphonesimulator7.1.sdk/system/library/frameworks/uikit.framework/headers
2. After modifying the system self-lead file, Xcode will error
Solution: Delete the cache of the following folder (Star is the user name of the computer)
Resource Library: Library
/users/star/Resource Library/developer/xcode/deriveddata
Or
/users/star/library/developer/xcode/deriveddata
3. To encapsulate a custom view using Xib
1> Create a custom view that inherits UIView, assuming the class name is called (Mjappview)
2> Create a new Mjappview.xib file to describe the structure inside the Mjappview
3> Modifying the type of UIView is Mjappview true Type
4> the inner child control with the Mjappview property connection
5> Mjappview provides a model property
6> overrides the set method of the Model property, because the model data passed in the set method can be obtained
7> The model data, setting the data to the corresponding sub-controls separately
8> Add: Provides a class method to create a mjappview that masks the code that reads the Xib file.
Xcode self-lead file modification and cache emptying