Re: frustration with Xcode 4.1
Re: frustration with Xcode 4.1
- Subject: Re: frustration with Xcode 4.1
- From: Shane Stanley <email@hidden>
- Date: Tue, 02 Aug 2011 12:28:32 +1000
- Thread-topic: frustration with Xcode 4.1
On 2/8/11 12:01 PM, "Brian Christmas" <email@hidden> wrote:
> Yes, but I've since trashed and restarted, and typed it in, to no avail.
My guess is that you've typed in a name for the script in the script
declaration that doesn't match the file name.
Assuming your script still starts off with:
script ListerAppDelegate
go to the MainMenu.xib, and click on the blue cube on the left called
something like Lister App Delegate. Show the Identity Inspector, and make
sure that what appears in Class *exactly* matches what's in your script
declaration. Type it again, if necessary.
Then control-click on it, and make sure it has a Referencing Outlet of
delegate, set to File's Owner. If you have lost that, control-click on
File's Owner, and drag from the circle next to delegate, across to the app
delegate blue cube.
> Also,
> the text in the script editor is not formatting as I save it. Should it? Could
> there be something wrong with the editor?
No, that's just the crazy way it works in Xcode 4.
> Under the file inspector, 'Identity and type', you can set the location. Just
> wondered if it made a difference to ListerAppDelegate.applescript.
I know there's a temptation to just try fiddling with everything you see,
but don't. There are too many places you can stuff things, and you just make
it impossible for someone to help you.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden