RE: Accessing method from another class

2009-08-20 Thread bryscomat
I found your solution. In Application.m, at the end of the setSlim: method, add this line: [[NSApp delegate] resetTextAndBar:self]; And at the top of the file, import the BeastCloneAppDelegate.h file to suppress the warning. This will work since you are accessing a "CLASS" set as NSApplicat

Re: Accessing method from another class

2009-08-20 Thread bryscomat
I found your solution. In Application.m, at the end of the setSlim: method, add this line: [[NSApp delegate] resetTextAndBar:self]; And at the top of the file, import the BeastCloneAppDelegate.h file to suppress the warning. This will work since you are accessing a function set as NSApplicat

Re: Accessing method from another class

2009-08-20 Thread Eric E. Dolecki
I'd like to know how I can get a property from a ViewController class (that I don't instantiate myself with a pointer) - I've tried importing the view's .h and I set a getter for the variable (say a BOOL), and when I try to read it from another viewController's class it tells me it's not part of th

Re: Accessing method from another class

2009-08-20 Thread PCWiz
Sorry, it has no colon, just updateText. And I get no build warnings or errors at all. Thanks On 2009-08-20, at 2:11 PM, Steve Christensen wrote: If your logging code is displaying a message on entry to resetTextAndBar:, but nothing after that, it sounds like you're taking an exception. In

Re: Accessing method from another class

2009-08-20 Thread Steve Christensen
If your logging code is displaying a message on entry to resetTextAndBar:, but nothing after that, it sounds like you're taking an exception. In your code snippet below, you're calling [self updateText], but in the last sentence of your problem description, you mention a method called updat