CAWaterfallViewCell

2018-09-08 15:35 更新

類說明

作為CAWaterfallViewCell添加進WaterfallView。


CAWaterfallViewCell 屬性(點擊查看方法介紹)

屬性說明
ContentView顯示圖像
BackgroundView背景圖像
ReuseIdentifier重用標識符
ItemIndex項目Index
ControlStateEffect控制狀態(tài)
AllowsSelected允許選擇


CAWaterfallViewCell 方法(點擊查看方法介紹)

方法說明
create創(chuàng)建
initWithReuseIdentifier重用標識符初始化


CAWaterfallViewCell 屬性說明

ContentView

類型:CAView*

解釋:顯示圖像,get{}。


BackgroundView

類型:CAView*

解釋:背景圖像,set/get{}。


ReuseIdentifier

類型:std::string

解釋:重用標識符,set/get{}。


ItemIndex

類型:unsigned int

解釋:項目Index,get{}。


ControlStateEffect

類型:bool

解釋:控制狀態(tài),is/set{}。


AllowsSelected

類型: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重用標識符

解釋:重用標識符初始化

以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號