你這段應該是出自StephenCategories G. Kochan的《Programming in Objective-C》一書
本小節(jié)應該是(我們可以稱作類目、分類)的某些注意事項
我認為這段的知識點如果不明白可以pass掉,編譯器會提醒你的分類是否使用正確
Also, object/category named pairs must be unique.
同樣的,對象/分類命名對必須是唯一的. 【應該指的是類似這樣的@interface NSString(Utilities)】
Only one NSString Name Utili-
ties category can exist in a given Objective-C namespace.
在給定的Objective-C命名空間中,只能存在一個NSString(私有的)分類.
This can be tricky because the
Objective-C namespace is shared between the program code and all the libraries, frame-
works, and plug-ins.
這樣做會比較復雜,因為Objective-C命名空間共享于程序代碼和所有庫、框架、插件之間.
This is especially important for Objective-C programmers writing
screensavers, preference panes, and other plug-ins because their code will be injected into application or framework code that they do not control.
這對于編寫屏保、偏好設置面板和其他插件的oc程序員尤為重要,因為這些代碼將插入到他們無法控制的應用程序或框架中
求懂objective-c的大神解釋下面這段話
求懂objective-c的大神解釋下面這段話
Also,object/category named pairs must be unique.Only one NSString Name Utili-
ties category can exist in a given Objective-C namespace.This can be tricky because the
Objective-C namespace is shared between the program code and all the libraries,frame-
works,and plug-ins.This is especially important for Objective-C programmers writing
screensavers,preference panes,and other plug-ins because their code will be injected intoapplication or framework code that they do not control.
Also,object/category named pairs must be unique.Only one NSString Name Utili-
ties category can exist in a given Objective-C namespace.This can be tricky because the
Objective-C namespace is shared between the program code and all the libraries,frame-
works,and plug-ins.This is especially important for Objective-C programmers writing
screensavers,preference panes,and other plug-ins because their code will be injected intoapplication or framework code that they do not control.
其他人氣:734 ℃時間:2020-06-02 09:09:50
優(yōu)質解答
我來回答
類似推薦
- cosAcosB+sinAsinB=1 可得到什么
- 作文:游大夫山350字
- 計算:666×778+333×444=_.
- n個數的和的各個數位的和,等于這幾個數字各數位的和嗎
- We should _______ ______ _______them.我們應該友好的對待他們.
- 3fe2+ +2s2o3 2- +o2+xoH-1====fe3o4+S4O6 2- +2H2O 為什么說每生成1MOLfe3o4反應轉移的電子數為 4MOL
- 仰角的概念
- be blessed with 的意思及用法
- 3分之2比五分之四是否等于3比2=4比5
- 物體所受的合外力越大,
- 描寫顏色的詞語 如雪白的衣裳
- 6.28*(-23.3)-3.14*35.2-1.57*36.4 的簡便算法
猜你喜歡
- 1英語翻譯
- 2中國當前的主要矛盾,是人們日益增長的物質和文化生活和落后的社會生產之間的矛盾,具體表現在我們生活的哪些方面呢?
- 3如圖是一個平分角的儀器,其中AB=AD,BC=DC,將點A放在角的頂點,AB和AD沿著角的兩邊放正,沿AC畫一條射線AE,AE就是角平分線,請說明它的道理.
- 4what are you busy ( ) i'm busy ( )my homework
- 5我賭你等不起怎么翻譯
- 61×3/1+3×5/1+5×7/1+...+99×101/1 的值
- 7沙塵暴給人類的危害
- 8求有“蒼穹”二字的詩詞成語
- 9四十五分之十四除以(五分之一加三分之一)
- 1026414: finally, don't panic, think about what you can achieve, not what you can't. positive thinking is important !
- 11成語中的名人故事的由來?
- 12向醋酸溶液中加水稀釋,參考書上說氫離子濃度增加,這是怎么回事?