Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class NewPostVC: UIViewController, UITableViewDataSource {
- @IBOutlet var tableView: UITableView!
- //MARK: Incoming Query
- func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
- return rows.count
- }
- func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
- return rows[indexPath.row]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement