I am using twitter fabric and have a table view being populated with a 'tweetsWithJSONArray'.
I am trying to add the showAction boolean to my tweet cells in my tableview func cellForRowAtIndexPath method like so:
let tweet = tweets[indexPath.row]
let cell = feedTableView.dequeueReusableCellWithIdentifier(tweetTableReuseIdentifier, forIndexPath: indexPath) as! TWTRTweetTableViewCell
cell.configureWithTweet(tweet)
self.feedTableView.allowsSelection = true
cell.tweetView.delegate = self
cell.tweetView.showActionButtons = true
But I'm getting the error that TWTRTweetView dos not have a member named showActionButtons
. I am a bit confused by this as the example on the fabric docs looks as follows:
let tweetView = TWTRTweetView(tweet: newlyLoadedTweet)
tweetView.showActionButtons = true
self.addSubview(tweetView)
link:
https://docs.fabric.io/ios/twitter/show-tweets.html
I realise I have it done a bit differently but I'm still unsure how to apply the showActionBoolean in the right way in my case. My tableview has an attached segment control and only when the final segment is selected do I populate my table with a tweetsWithJsonArray, that is why I couldn't take the example from the docs as is.