• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 10.11 Issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.11 Issues?


  • Subject: Re: 10.11 Issues?
  • From: Doug Adams <email@hidden>
  • Date: Sat, 13 Jun 2015 11:32:11 -0400

> On Jun 13, 2015, at 8:45 AM, Shane Stanley 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.

So far, I have only seen it for the alignment enums.

>>
>> 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:)])".

To be clear: NSApp's beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: seems to still work. I also use your showOver: handlers which still seem to work. But NSApp's endSheet:someSheet does not.

> * Accessory views aren't appearing in open panels.

That's an ouch. And come to think of it, I think I saw this occasionally in Yosemite, too. I seem to remember removing the text of a TextField used as an accessoryView into the setMessage text to get around it.

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


References: 
 >10.11 Issues? (From: Doug Adams <email@hidden>)
 >Re: 10.11 Issues? (From: Shane Stanley <email@hidden>)
 >Re: 10.11 Issues? (From: Doug Adams <email@hidden>)
 >Re: 10.11 Issues? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: 10.11 Issues?
  • Next by Date: Re: 10.11 Issues
  • Previous by thread: Re: 10.11 Issues?
  • Next by thread: Re: 10.11 Issues?
  • Index(es):
    • Date
    • Thread