Sunday, August 19, 2018

#1 2018-05-16 12:38:46 pm

jcwelch
Member
Registered: 2009-09-11
Posts: 48

Can't attach popup button to delegate

New project, trying to attach the popup button to a function. I have the popup button's value populated from a record via an arraycontroller, but if I try to attach the sent action to the delegate, it doesn't work. Delegate doesn't highlight at all, nothing.

I'm pretty sure I'm missing something simple here.

Offline

 

#2 2018-05-16 06:19:22 pm

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

Re: Can't attach popup button to delegate

Is the .applescript file saved with linefeeds for line breaks?


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

Offline

 

#3 2018-05-16 10:05:37 pm

jcwelch
Member
Registered: 2009-09-11
Posts: 48

Re: Can't attach popup button to delegate

it's all in Xcode, so I assume it's correct in terms of linefeeds.

Offline

 

#4 2018-05-16 10:23:42 pm

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

Re: Can't attach popup button to delegate

So you're control-dragging from the popup and the delegate icon isn't highlighting?

Is the project using storyboards?


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

Offline

 

#5 2018-05-17 08:42:54 am

jcwelch
Member
Registered: 2009-09-11
Posts: 48

Re: Can't attach popup button to delegate

No, unless Xcode snuck them in. I’m not clever enough for those.

Offline

 

#6 2018-05-17 03:34:53 pm

jcwelch
Member
Registered: 2009-09-11
Posts: 48

Re: Can't attach popup button to delegate

Sigh, never mind. Looks like the project was borked. I created a new project, it's all working correctly.

Offline

 
pornplaybb.com shemalevids.org macromastiavideo.com

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)