Monday, February 27, 2017

#1 2016-08-11 01:14:34 pm

FlameCoder
Member
From: USA
Registered: 2009-10-28
Posts: 79

Myriad Helpers

Rebuilding some apps from 10.8 to 10.11 and using XCode 7.3.1. I used Myriad Helpers in several of them but it looks like some functions have been deprecated that they used so I'm getting some warnings. Are there new versions of Myriad Helpers out there?

Thanks,

Offline

 

#2 2016-08-11 06:24:50 pm

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

Re: Myriad Helpers

It should still work, but it's been superseded by the BridgePlus script library. You can either add the framework from that to your project, or include it as a script library.


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

Offline

 

#3 2016-08-16 09:02:30 am

FlameCoder
Member
From: USA
Registered: 2009-10-28
Posts: 79

Re: Myriad Helpers

Okay I'm new to BridgePlus so in process of ordering Everyday Applescript third additions...
In short when I figure out how to add the framework to Xcode does this make the NSWindow+MyriadHelpers, NSOpenSave+MyriadHelpers, NSAlert+MyriadHelpers warnings go away or do I rewrite code to work with BridgePlus?

I'm stuck on adding BridgePlus.framework to my project and getting it to even build.

Thanks,

Offline

 

#4 2016-08-16 06:35:54 pm

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

Re: Myriad Helpers

I'm sorry, I've misled you -- BridgePlus and Myriad Helpers are unrelated.

Download the latest versions here:

www.macosxautomation.com/applescript/apps/helpers.html


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

Offline

 

#5 2016-08-17 01:09:12 pm

FlameCoder
Member
From: USA
Registered: 2009-10-28
Posts: 79

Re: Myriad Helpers

MyriadHelpers version 2.0.1 doesn't seem to have the upgrades needed for El Capitan.
Below are the warning I get...

NSWindow+MyriadHelpers.m
'beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated: first deprecated in OS X 10.10 - Use -[NSWindow beginSheet:completionHandler:] instead

NSOpenSave+MyriadHelpers.m
'kCFURLHFSPathStyle' is deprecated: first deprecated in OS X 10.9

NSAlert+MyriadHelpers.m
'beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated: first deprecated in OS X 10.10 - Use -beginSheetModalForWindow:completionHandler: instead

NSAlert+MyriadHelpers.m
'NSRunStoppedResponse' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseStop instead

Offline

 

#6 2016-08-17 06:46:46 pm

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

Re: Myriad Helpers

It looks like I haven't uploaded the latest version -- give me a day or so.

But you can safely ignore those warnings -- those methods still work fine. (and the day kCFURLHFSPathStyle disappears, HFS paths will stop working.)


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

Offline

 

#7 2016-08-18 02:59:15 am

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

Re: Myriad Helpers

OK, you can download Myriad Helpers version 2.0.2 here:

www.macosxautomation.com/applescript/apps/helpers.html


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

Offline

 

#8 2016-08-18 03:26:51 pm

FlameCoder
Member
From: USA
Registered: 2009-10-28
Posts: 79

Re: Myriad Helpers

Okay, thanks for supplying them! They are helpful.

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.029 seconds, 8 queries executed ]

RSS (new topics) RSS (active topics)