而使用 Category 只能針對既有元件再新增或者覆寫函式,並不能像繼承一樣新增成員變數。以下是 Category 的實做。 @interface 原Class名稱(Category Name) ...
確定! 回上一頁