Re: Radio buttons as table views

2016-04-27 Thread lorenzo
This ended up off-list. I’m reposting in case this might be of use to anyone. > On Apr 25, 2016, at 6:26 PM, Quincey Morris > wrote: > > (we’re off-list, as of your last message — not sure if this was accidental, > but feel free to repost to list if you wish) > > On Apr 25, 2016, at 12:33 ,

Re: nsopenpanel no title bar

2016-04-27 Thread Martin Wierschin
> Since 10.11 it seems the title bar no longer appears even when using > setTitle: does anyone know what happened and how to get the old behavior back? I don’t know anything about that, but you can always use -[NSOpenPanel setMessage:] to display relevant information to the user. ~Martin Wiersc

Can't code-signing validate an App's main executable, without its whole bundle.

2016-04-27 Thread Motti Shneor
The following simple code will validate the code-signing of any Mac executable file, or App-bundle, or any code-bundle etc. However, if handed a path to an executable which happens to be the main executable of an App bundle (example `/Applications/Mail.app/Contents/MacOS/Mail`) The SecStaticCod

Re: How to Truncate lines in NSScrollView/NSClipView/NSTextView Combo

2016-04-27 Thread Dave
> On 27 Apr 2016, at 09:01, Martin Wierschin wrote: > > This code is never going to work: > >> [[myTextView textStorage] addAttribute:NSParagraphStyleAttributeName >> value:[NSNumber numberWithInt:NSLineBreakByTruncatingTail] range:myRange]; >> >> But this results in nothing being displayed i

Re: How to Truncate lines in NSScrollView/NSClipView/NSTextView Combo

2016-04-27 Thread Martin Wierschin
This code is never going to work: > [[myTextView textStorage] addAttribute:NSParagraphStyleAttributeName > value:[NSNumber numberWithInt:NSLineBreakByTruncatingTail] range:myRange]; > > But this results in nothing being displayed in the ScrollView/TextView. In fact, using that code probably thr