I used this simple tutorial to create my singleton class. Everything works fine. One thing it doesn’t say in the tutorial, how to create methods in that class, so I can access them from other classes (e.g. other ViewControllers or the AppDelegate.)
How can I do it?
Thanks a lot in advance!
You will define methods just like you do in any other Objective-C file. Add a definition to the header for public methods and then implement them in the implementation (.m) file.
Usage: