Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

scott455

macrumors member
Original poster
Jun 5, 2022
40
0
Hi,
I like to revise my request. In Objective-c, Is there any example of singleton ClassA and a wrapper classB which is used by an app to execute methods in classA?. Could be simple examples to illustrate the concept. The reason behind singleton is that only one instance of the classA could be created. I am new.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.