Re: 10.11 Issues?
Re: 10.11 Issues?
- Subject: Re: 10.11 Issues?
- From: Shane Stanley <email@hidden>
- Date: Sat, 13 Jun 2015 22:45:30 +1000
On 13 Jun 2015, at 10:10 pm, Doug Adams <email@hidden> wrote:
> NSTextAlignment values in things like setAlignment:(current application's NSCenterTextAlignment) are unrecognized and I have to use the integer values.
Yes, I noticed that too, after my last message. I've logged it as a bug -- I'm wondering if it's just the alignment enums, or AppKit enums generally.
>
> I'd been using NSApp's beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: and endSheet:, which were deprecated as of 10.9. I know Shane's Myriad Helpers uses these, too. In 10.11, considering the NSApp problem, I've switched to NSWindow's beginSheet:completionHandler and endSheet:. So far, OK.
It's a pity the same approach won't generally fly for alerts and open/save panels. FWIW, the latest Myriad Helpers uses the block method under 10.10, via "if ([self respondsToSelector:@selector(beginSheet:completionHandler:)])".
It's something I should really add to BridgePlus somehow.
>
> This may not be just an ApppleScript-related issue: an NSDatePicker, when set to display/select hours and minutes, doesn't show "6" and "9". For example, "10:26" looks like "10: 2", "11:49" displays as "11: 4", and so on.
Ouch.
Two others:
* Accessory views aren't appearing in open panels.
* Terminology is not being recognised in libs using .sdefs.
--
Shane Stanley <email@hidden>
<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