Re: 10.11 Issues?
Re: 10.11 Issues?
- Subject: Re: 10.11 Issues?
- From: Doug Adams <email@hidden>
- Date: Sat, 13 Jun 2015 08:10:37 -0400
On Jun 12, 2015, at 7:26 PM, Shane Stanley wrote:
> "Further, Apple agrees that you will not be bound by the foregoing confidentiality terms with regard to technical information about Apple pre- release software, services and/or hardware disclosed by Apple at WWDC (Appleās Worldwide Developers Conference), except that you may not post screen shots of, write public reviews of, or redistribute any such materials."
> Two issues come to mind: NSApp isn't being recognised, and the bridging of NSURLs and NSDates mean any code that iterates through a list of them will need to be reworked to use array iteration instead.
Well, in that spirit:
NSTextAlignment values in things like setAlignment:(current application's NSCenterTextAlignment) are unrecognized and I have to use the integer values.
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.
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.
These issues apply to ASOC Xcode projects and Cocoa-AppleScript apps.
Doug
--
dougscripts.com
_______________________________________________
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