Wednesday, June 28, 2017

#1 2017-01-30 11:08:59 am

robdut
Member
Registered: 2009-09-02
Posts: 293

more Xcode woes... can't connectthsi time

I seem to be struggling with Xcode at the moment.

So I add an IBAction to my script. I add a blue cube object and link it up to my script class, or just use the delegate object, and the action is not recognized by the button when I drag over to the script object.

Just to test this I made a new project, ASOC, added the same handler and script object and when I drag from button the blue cube won't even  register for me to link it up.

Applescript:

on testMe_(sender)
display dialog "It works of course!"
end testMe_

What is this. I have done this thousands of times. I am on Xcode 8.1 on two different machines. project build fine, everything good but can't link?

Thanks,  Rob

Offline

 

#2 2017-01-30 05:03:06 pm

Shane Stanley
Member
From: Australia
Registered: 2002-12-07
Posts: 5023

Re: more Xcode woes... can't connectthsi time

Are you control-dragging?


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2017-01-30 06:44:22 pm

robdut
Member
Registered: 2009-09-02
Posts: 293

Re: more Xcode woes... can't connectthsi time

Yes as always. I started a new test project this time and hand typed in the IBAction handlers and they connect!

Odd it seems that when I pasted in  a bunch of code it wouldn't be recognized. Am wondering if this is the case in my larger scripts where I still can't get new handlers to be seen. Though sometimes it would workout mostly not....

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.036 seconds, 10 queries executed ]

RSS (new topics) RSS (active topics)