Delegate

Each delegate is responsible for a specific role or task to keep the system simple and clean.Whenever an object needs to perform a certain task, it depends on another object to handle it. This is usually known as “separation of concerns” in software design.

评论

此博客中的热门博文

使__attribute__((annotate("xxx")))能作用于OC函数

viewWillAppear不执行的解决办法

iOS中使用xpc/xpc.h