W3Cschool
恭喜您成為首批注冊用戶
獲得88經驗值獎勵
類說明
作為CAWaterfallViewCell添加進WaterfallView。
CAWaterfallViewCell 屬性(點擊查看方法介紹)
屬性 | 說明 |
ContentView | 顯示圖像 |
BackgroundView | 背景圖像 |
ReuseIdentifier | 重用標識符 |
ItemIndex | 項目Index |
ControlStateEffect | 控制狀態(tài) |
AllowsSelected | 允許選擇 |
CAWaterfallViewCell 方法(點擊查看方法介紹)
方法 | 說明 |
create | 創(chuàng)建 |
initWithReuseIdentifier | 重用標識符初始化 |
CAWaterfallViewCell 屬性說明
類型:CAView*
解釋:顯示圖像,get{}。
類型:CAView*
解釋:背景圖像,set/get{}。
類型:std::string
解釋:重用標識符,set/get{}。
類型:unsigned int
解釋:項目Index,get{}。
類型:bool
解釋:控制狀態(tài),is/set{}。
類型:bool
解釋:允許選擇,is/set{}。
CAWaterfallViewCell 方法說明
static CAWaterfallViewCell* create(const std::string& reuseIdentifier);
返回值:CAWaterfallViewCell*
參數(shù):
類型 | 參數(shù)名 | 說明 |
const std::string& | reuseIdentifier | 重用標識符 |
解釋:創(chuàng)建
virtual bool initWithReuseIdentifier(const std::string& reuseIdentifier);
返回值:bool
參數(shù):
類型 | 參數(shù)名 | 說明 |
const std::string& | reuseIdentifier | 重用標識符 |
解釋:重用標識符初始化
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: