Ok I am trying one thing but it does not seem to work. I have set it up so this line is run in applescript
Code:
on awake from nib theObject
call method "awake"
end awake from nib
This runs fine as when I remove the brackets it errors.
However the Code does not execute. I think its something wrong with the way I set the code up.
Code:
- (void)awake
{
NSLog(@"awake");
}
The actual stuff that does the work is cut out. However that code is placed in my custom class in between @implemention and @end. I think it should work. Its probably something really straight forward. It in the custom class called customWindow. What am I doing wrong?