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