--As of April 11, 2008 5:31:08 PM -0700, Kevin Ferguson is alleged to have
said:
Now, I'm entirely self-taught in Cocoa, so this may be something more
obvious than I think. Is there a reason for this occurrence? I assume
it's got something to do with the +, but not knowing what the + means, or
You have to create actual objects of that class:
MyClass * obj = [[MyClass alloc] init];
then send your '-' messages to that object:
[obj myAction:arg];
You might want to read up some more on object oriented programming so
you know the difference between an object and its class. A class is
Greetings!
This is a rather odd (and I'm sure simple) question, but I cannot seem
to find a suitable explanation anywhere I look.
So, my code initializes a menu with an action "myAction:", whose
target is "myClass".
Now, I've noticed through trial and error that the only way to get my
m