Set font on NSTextView that uses bindings?

2016-05-18 Thread Rick Mann
I seem to be unable to set the font used in an NSTextView that uses bindings to set the text content. The property it's bound to creates a plain NSString (no attributes). I've tried setting the font, setting the typing attributes, setting the font on textStorage, all to no avail. Any ideas?

Re: Decide which mail app to use for mailto: links

2016-05-18 Thread Alex Zavatone
What if you preceded that mailto url with another url scheme that could be mapped to your app? Sent from my iPhone > On May 18, 2016, at 1:04 PM, Paul Brown wrote: > > I wrote a Mac app that is a little directory lookup tool. You search for a > name (or partial name), it

Re: Decide which mail app to use for mailto: links

2016-05-18 Thread Jens Alfke
> On May 18, 2016, at 10:04 AM, Paul Brown wrote: > > Is it possible to have the user select their preferred mail application that > will respond to this? The Launch Services framework has C functions that allow you to (a) find applications that register a handler for a

Decide which mail app to use for mailto: links

2016-05-18 Thread Paul Brown
I wrote a Mac app that is a little directory lookup tool. You search for a name (or partial name), it pulls user info from a database and shows the results in a table view. One of the columns is for Email Address. It is a button that shows the address on hover, and when clicked, it opens the

Re: Application Activation Problem

2016-05-18 Thread Dave
Hi Again, My curiosity got the better of me and I looked at NSWorkspace again and found the activeApplication but it was deprecated in 10.11, however when I looked for closely I found frontmostApplication which is (I think) exactly what I want! Thanks for the tip. All the Best Dave

Re: Application Activation Problem

2016-05-18 Thread Dave
Hi Uli, I got side-tracked with some other issues and will be taking another look at this on Friday and I will certainly have a good look at the available methods/properties of NSWorkspace, but from memory I don’t think there is a method that returns the currently active application, although

Re: Codesigning pain, god it hurts!

2016-05-18 Thread Jonathan Mitchell
> On 18 May 2016, at 04:29, Quincey Morris > wrote: > > Yes, it’s awful. > I agree. Screwing it up is easy. I use the following project archive scheme post action script to run a Gatekeeper security check on archive builds. This provides decent