Can you explain what is singleton class in iPhone?
Describe it with real time example...
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 13, 2012, 4:52 AM EST
Sachin BhardwajRank #155 · 15K reputationPosted Dec 14, 2012, 1:20 AM EST
A singleton class is such a class from which no more that one instance can be created. So there will always be single instance created throughout the program.
Ex UIApplication.