I hope this helps . Have the app delegate broadcast an app-specific notification center notification (on the main thread). Have the view controller that contains your table view listen for that notification and update the cell in question as needed. That way you don't contaminate your app delegate. The app delegate should only deal with system level app stuff, not business logic.
With these it helps As others have noted, you can use the Notification framework to do this from within your view controller so your appDelegate does not need to reference your view controller. Add a line like this in your controller:
To fix this issue I am currently implementing Facebook login in my app, and I just came to notice that after the Swift 3 update, the code in AppDelegate has slightly changed since the last time I added Facebook login to my app. I am struggling with this function (this is Swift 2.2) here: , try this :-