Hi Shane
As Stated above, its a barnd new ASOC project template, with no code in the newley added script file, other the script end script lines, and the newley added view xib file is as standard other than the blue cube object added, which is pointing to the empty of code new script class.
I’ve started this new standard ASOC project template to use as a test bed for this problem I’m struggling with, so that I can figure out what I need to do in the previously mentioned real project.
The only code added is in the AppDelegate script as listed below.
on applicationWillFinishLaunching:aNotification
my myClassScript's alloc()'s init()
end applicationWillFinishLaunching:
on applicationDidFinishLaunching:aNotification
current application's NSBundle's loadNibNamed:("OtherView") owner:(me)
end applicationDidFinishLaunching:
which initiates the newley added empty of code script class, and loads the newley added view xib file.
If I add a blue cube object in the project templates standard MainMenu.xib, ponting to the newley added script class, Xcode does not complain, but if you do the same thing in the newley added view xib file, Xcode does complain.
So in short I’m trying to figure out what the difference is between the standard MainMenu.xib file, and any newley added xib files.
And why you can add a reference to the AppDelegate script in any newley added xib files, but you can’t add the same type of reference to other script class files.
To duplicate this problem does not require any amount of code, you can simply start a new ASOC project, and add one new script class file, and one new view xib file.
Still scratching my head.
Regards Mark.