First of all, go to File-> new β Cocoa Touch Class and create the UIViewCOntroller class. Name your class accordingly.

Xib Swift. Xib .

UITableView Xib 4- top = 0, bottom = 0, leadin = 0 trailing = 0. . .
File- > New- > Coucoa Touch Class UItableViewCell, Xib , .

Xib . Xib. , View .. swift . .
class func cellForTableView(tableView: UITableView, atIndexPath indexPath: NSIndexPath) -> YourCustomTableViewCell {
let kYourCustomTableViewCellIdentifier = "kYourCustomTableViewCellIdentifier"
tableView.registerNib(UINib(nibName: "YourCustomTableViewCell", bundle: NSBundle.mainBundle()), forCellReuseIdentifier: kYourCustomTableViewCellIdentifier)
let cell = tableView.dequeueReusableCellWithIdentifier(kYourCustomTableViewCellIdentifier, forIndexPath: indexPath) as! YourCustomTableViewCell
return cell
}
.
tableView cellForRowAtIndexPath , .
let cell = YourCustomTableViewCell.cellForTableView(tableView, atIndexPath: indexPath)
cell.myImageView.image = "something"
, . , - .