Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func numberOfSectionsInTableView(tableView: UITableView) -> Int
- func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int
- override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
- let cell = tableView.dequeueReusableCellWithIdentifier("myCell", forIndexPath: indexPath) as UITableViewCell
- // Configure the cell...
- // add some UILabels or UIImageViews here.
- return cell
- }
- func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)
- self.navigationController?.presentViewController(myViewControllerToPresent, animated: true, completion: { () -> Void in
- // some code to do after the presentatioin is ready
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement