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.
评论
发表评论