What is a singleton?



What is a singleton?..

Answer / maanya

A singleton class returns the same instance always, but take into account that there can exist only one instance of this class per process, are ideal to offer a general resource or service.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is ipad screen size?

0 Answers  


What is nonatomic?

0 Answers  


How core data differs from sqlite?

0 Answers  


Would I be able to keep in touch with some c++ work in the equivalent .m record? Will it compile? Assuming no, what changes would it be a good idea for me to do to compile it?

0 Answers  


Can you please explain the difference between nsarray and nsmutablearray?

0 Answers  






Explain the working of manual memory management?

0 Answers  


How do you check if your code has memory leaks?

0 Answers  


How to do upload of large sized video file to server ? while uploading user presses “Homebutton” How long will execute?

0 Answers  


What is the difference between weak and strong?

0 Answers  


What is view object in ios?

0 Answers  


Define fast enumeration?

0 Answers  


What is difference between weak and strong in ios?

0 Answers  


Categories