IOS开发入门教程

IOS开发入门教程

4 (96人评价)
  • 课时:(18)

  • 学员:(7252)

  • 浏览:(174481)

  • 加入课程

iOS开发中的设计模式的笔记

相关课时: 笔记详情:

Streamline Your App with Design Patterns:

1.A Design Pattern Is a Template for a Design That Solves a Programming Problem.

2.The Most Important Design Pattern: Model-View-Controller.

3.Solving Problems with Design Patterns:

a.Delegation: Acting on Behalf of Another (Framework) Object.

b.Protocol: Enabling Communication Between Objects Not Related by Inheritance.

c.Notification Center: Notifying Interested Observers of an Event.

d.Target-Action: Encapsulating a Message to Be Sent When an Event Occurs.

e.Key-Value Observing: Notifying an Observer When a Value Changes.

f.Other Framework Designs Based on Design Patterns:

(1).View hierarchy.

(2).Responder chain.

(3).View controller.

(4).Receptionist.

 

 

 

 

0 0

你感兴趣的课程

7万+浏览/ 804学员/ 4.8评分
免费
6万+浏览/ 241学员/ 4评分
免费
6万+浏览/ 731学员/ 4.3评分
免费