mirror of
https://github.com/XITRIX/NXKit.git
synced 2026-05-30 11:46:52 +00:00
23 lines
569 B
C++
23 lines
569 B
C++
//
|
|
// Created by Daniil Vinogradov on 28/01/2025.
|
|
//
|
|
|
|
#include "IBTestController.h"
|
|
|
|
IBTestController::IBTestController() {
|
|
setTitle("IB Test VC");
|
|
}
|
|
|
|
void IBTestController::loadView() {
|
|
auto nib = UINib::fromRes("Layout/TestScreen.xml");
|
|
setView(nib->instantiate(&idStorage));
|
|
}
|
|
|
|
void IBTestController::viewDidLoad() {
|
|
// text()->setText("BLAH BLAH BLAH BLAH");
|
|
// text()->setFontSize(24);
|
|
// text()->setTextColor(UIColor::systemOrange);
|
|
button()->setTintColor(UIColor::systemOrange);
|
|
button()->applyStyle(NXKit::UIButtonStyle::filled);
|
|
}
|