Question regarding SharedInstance
问题 Hey guys, I wanna ask, what is sharedInstance actually? I mean what is the usage? Currently I'm having some problem in communicating between 2 different files. Here's my question: I have 1 file call A.h/A.m and another file call B.h/B.m A.h need to access some of the data in B.h, so .... is there any possible way I could achieve what I want? Just wonder is it "SharedInstance" able to solve my problem? Looking for reply :) 回答1: sharedInstance could be used for several ways. For example you can