Skip to content

Commit fb57281

Browse files
committed
typo fix
1 parent ff98b5e commit fb57281

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

BATInterview/BAT面试指南.pdf

-29 Bytes
Binary file not shown.

Effective OC/读书总结.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,15 @@ OC 的方法(本质上讲是消息)在运行时决定。使用函数调用
120120
## 24. 使用分类
121121

122122
1. 可以把所有的私有方法都归入名叫 Private 的分类中
123+
124+
## 25. 为第三方分类添加前缀
125+
126+
1. 分类中定义的方法可以多次互相覆盖,以最后一个分类为准
127+
2. 向第三方类中添加分类时,为分类名称和方法名称添加前缀
128+
129+
## 26. 分类中不要声明属性
130+
131+
1. 分类中无法创建实例变量
132+
2. 可以定义存取方法,但是不要定义属性
133+
134+

0 commit comments

Comments
 (0)