UITableView *myTableView = [[UITableView alloc] initWithFrame:CGRectZero
style:UITableViewStyleGrouped];
How to do this in Swift code?
UITableView *myTableView = [[UITableView alloc] initWithFrame:CGRectZero
style:UITableViewStyleGrouped];
How to do this in Swift code?
This is the code
var myTableView :UITableView = UITableView(frame: CGRectZero, style: UITableViewStyle.Grouped)
P.S: Probably you should take a swift tour.