Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> TableViewCell
- {
- let cell = tableView.dequeueReusableCellWithIdentifier("CellidQ", forIndexPath: indexPath) as! TableViewCell
- var quest = quests[indexPath.row]
- cell.questTextView.text=quest.text
- cell.tag=indexPath.row
- cell.delegate=self
- cell.questTextView.editable=false
- cell.questTextView.userInteractionEnabled=false
- cell.questTextView.delegate=self
- cell.questTextView.tag=indexPath.row
- return cell
- }
- let cell = yourcellclassname(style: UITableViewCellStyle.Default, reuseIdentifier: "Cell")
- cell.textLabel?.text = cellContent[indexPath.row]
- cell.imageview?.image = cellContent[indexPath.row]
- hope it helps.!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement