Hey, I need help!
I've found places online asking the same question and none of the books I bought cover this.
I have a class I made called someclass.m, someclass.h, and I am in anotherclass.m . All I'm trying to do is call method1 from someclass.m
So I try doing this:
It doesn't work...
So I try making an IBOutlet connecting the two classes together. Then I try calling the method [madeclass method1] Still does not work. Hope someone can help me before I shoot myself. thanks.
I've found places online asking the same question and none of the books I bought cover this.
I have a class I made called someclass.m, someclass.h, and I am in anotherclass.m . All I'm trying to do is call method1 from someclass.m
So I try doing this:
Code:
someclass *makeClass;
makeClass = [someclass alloc];
[makeclass method1];
So I try making an IBOutlet connecting the two classes together. Then I try calling the method [madeclass method1] Still does not work. Hope someone can help me before I shoot myself. thanks.