Persistencelayer Project after compiling is frame persistencelayer.framework
What is a callback function (callback)?
You go to a shop to buy things, just what you want to have no goods, so you left your phone in the shop clerk, after a few days the store has goods, the clerk called you, and then you received a call to the store to pick up the goods. In this example, your phone number is called a callback function, you leave the phone to the clerk called the registration callback function, the store later in the goods called triggered the callback associated event, the clerk called you called Call callback function, you go to the store to fetch goods called response callback event.
The presentation layer asynchronously invokes the business logic layer, and after the business logic layer obtains the result, the callback method of the presentation layer is reversed;
The business logic layer invokes the data persistence layer asynchronously, and the data persistence layer gets the result, which in turn callbacks the method of the business logic layer
iOS knowledge points