// import GeneralUtils import Foundation class AppUtils { static func getListCtruong() -> [CongTruong] { var result = [CongTruong]() var shootItems = [ShootItem]() shootItems.append(ShootItem(id: 7, name: "1", willShoot: 0)) shootItems.append(ShootItem(id: 6, name: "2", willShoot: 1)) var ctruong = CongTruong() ctruong.companyName = "company1" ctruong.constructionName = "ctruong1"; ctruong.noCaptured = 0 ctruong.noRemain = 2 ctruong.signboard = 0; ctruong.shootItems = shootItems result.append(ctruong) return result } }