MCPcopy Create free account
hub / github.com/9miao/CrossApp / viewDidLoad

Method viewDidLoad

samples/Test/Classes/Control/TextViewTest.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void TextViewTest::viewDidLoad()
17{
18 this->getView()->setColor(CAColor_gray);
19
20 CATextView* textView = CATextView::createWithLayout(DLayout(DHorizontalLayout_L_R(100, 100), DVerticalLayout_T_B(100, 100)));
21 this->getView()->addSubview(textView);
22}
23
24void TextViewTest::viewDidUnload()
25{

Callers

nothing calls this directly

Calls 5

DHorizontalLayout_L_RFunction · 0.85
DVerticalLayout_T_BFunction · 0.85
getViewMethod · 0.80
setColorMethod · 0.45
addSubviewMethod · 0.45

Tested by

no test coverage detected