I am building a browser in xcode and am struggling with setting up dynamic tab titles based on the webpage titles, I am somewhat of a beginner, and have built this entire project essentially using stackoverflow.
The Problem:
Currently, all tabs are named after the window controller, if I change its name in storyboard, the tab names change but every method I have tried to use in order to display the webpage title has failed.
Screenshot when window controller title is blank
Screenshot when window controller title is filled (This One is useful for identifying issue)
As I am a beginner, I would appreciate if you explained the problem or solution to what I am trying to achieve in detail.
If this is a duplicate please provide a link to the near exact clone question.