I have a feed that lists news items, click on one and you get taken through to the detail view. I do this through the didSelectRowAtIndexPath
method where I declare the detail view controller etc.
Is it possible to have a mixed feed whereby some of the links will be videos and others will remain links through to the detail view. So if a user clicks on the link that's a video then the video player kicks in, otherwise it's business as ususal and they go through to the other view.
The source is a JSON feed so I would need to switch the destination based on reading one of the JSON nodes and seeing if the file ending was another page or a video file.