1. Describe your understanding of MVC?
MVC is an architectural design. It considers three objects: Model (object), View (Attempt object), controller (trying to control)
(1) Model: Responsible for storing, defining and manipulating data
(2) View: Used to display data to users and users to interact with the operation
(3) The controller is the coordinator of M and V, the controller obtains the data and gives the data to the view to show
2. What are some of the ways to describe the value of controllers in a simple description?
(1) Attribute passing value
(2) Block transfer value
(3) Proxy value
(4) Single-case pass-through value
(5) Notification value: Who wants to monitor is worth the change. Who will register notice
3. How do I understand the sandbox mechanism in iOS?
The sandbox mechanism (sanbox) in iOS is a security system that specifies that an application can only read text within a directory created for that application.
, do not access the contents of other places, all non-code files are stored in this place. Analogy: Picture. Sound, text, attribute columns
Table.
(1) Each application is in its own sandbox
(2) You cannot cross your own sandbox to visit other applications in sandbox content
(3) The application requests or accepts data to be authenticated by permission
How to implement multiple inheritance in 4.OC with no multiple inheritance
(1) No multiple inheritance.
(2) All classes in cocoa are subclasses of NSObject, many of which are implemented by PROTOCL entrusted agents.
(3) The object-oriented language is a large part of single inheritance, such as: Java, C #
(4) C + + is to support multiple inheritance
IOS talking about MVC design pattern and the method of controllers