Objective-C call function on another class?
(I’ll assume loggedIn is an instance method taking no parameters.) First, several terminology issues: They’re not functions, they’re methods (same idea, though). You don’t call methods, you send messages (usually same idea, though). Most importantly, we usually send messages not to classes, but to instances of those classes. (If you can’t visualize the difference, imagine … Read more