主要是CocoStudio里面的UI编辑:
local text =widget:getChildByTag(5)--文本
local button =widget:getChildByTag(202)--按钮
local checkbox =widget:getChildByTag(203)--选框
local imageview =widget:getChildByTag(204)--图片
local loadingBar=widget:getChildByTag(205)--进度条
local sliderBar = widget:getChildByTag(206)--滑动条
local textFiled = widget:getChildByTag(208)--输入框
local imageview1 =widget:getChildByTag(210):getChildByTag(211):getChildByTag(212)
local button1 =widget:getChildByName("layer1"):getChildByName("layer2"):getChildByName("Button1")--按钮