Skip to content

Instantly share code, notes, and snippets.

@terrybu
Created November 4, 2015 22:13
Show Gist options
  • Save terrybu/45cc7e04f32eae36e29f to your computer and use it in GitHub Desktop.
Save terrybu/45cc7e04f32eae36e29f to your computer and use it in GitHub Desktop.
registering a uitableviewcell with identifier (when using XIBs instead of storyboard) in the viewdidload of your viewcontroller with tableview in it
tableView.registerNib(UINib(nibName: "CommunicationsTableViewCell", bundle: nil), forCellReuseIdentifier: "CommunicationsCell")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment