Here is an example and tutorial: http://www.galloway.me.uk/tutorials/singleton-classes/
Here is another one: How to create singleton class in objective C
Singleton contains global variables and global functions.It’s an extremely powerful way to share data between different parts of code without having to pass the data around manually.