Re: Mixed-state checkboxes

2016-07-08 Thread Ken Thomases
On Jul 8, 2016, at 7:36 AM, Jonathan Taylor wrote: > > I'm trying to work out the correct way to handle a mixed-state checkbox > (NSButton checkbox with allowsMixedState=YES), bound to a property on my > controller. I am intending it to serve as an "applies to all" type control at > the head

Re: Mixed-state checkboxes

2016-07-08 Thread Quincey Morris
On Jul 8, 2016, at 11:44 , Jonathan Taylor wrote: > > I get an error: "this class is not key value coding-compliant for the key > globalChannelEnableState" It may well be that for the checkbox to be editable/actionable for the user, the underlying property must be settable. I think you could

Re: Mixed-state checkboxes

2016-07-08 Thread Jonathan Taylor
Thanks Quincey, that makes sense what you're saying about it being more an action method, and your suggested approach sounds nice. However, I have not managed to quite get things working based on what I think you were describing. I have set up an action on the checkbox, and based on your comme

Re: Mixed-state checkboxes

2016-07-08 Thread Quincey Morris
On Jul 8, 2016, at 05:36 , Jonathan Taylor wrote: > > My setter code currently looks like this: > > -(void)setGlobalChannelEnableState:(NSInteger)state In the circumstances you describe, a setter method is effectively an action method, not a setter — that is, it becomes a method that’s called

Re: Emailing from a daemon process

2016-07-08 Thread Jens Alfke
> On Jul 8, 2016, at 8:44 AM, Alastair Houghton > wrote: > > It has a very high probability of being marked as spam, whatever headers you > use, because it’ll be delivered direct to the recipient’s mail server Oh — I hadn’t thought of that. I sent my test email to myself, so of course it con

Re: Emailing from a daemon process

2016-07-08 Thread Alastair Houghton
On 8 Jul 2016, at 16:13, Sal Conigliaro wrote: > > You can send mail using sendmail without having to configure Postfix or > Sendmail. > > Out of the box OS X can use sendmail to send messages. You can test it by > doing: > > echo “Subject: Email from OX“ | /usr/sbin/sendmail recipi...@domain.c

Re: Emailing from a daemon process

2016-07-08 Thread Jens Alfke
> On Jul 8, 2016, at 8:13 AM, Sal Conigliaro wrote: > > You can send mail using sendmail without having to configure Postfix or > Sendmail. > Out of the box OS X can use sendmail to send messages. I didn’t think this would actually work, but I tried it and it does. It relayed to the SMTP server

Re: Emailing from a daemon process

2016-07-08 Thread Sal Conigliaro
You can send mail using sendmail without having to configure Postfix or Sendmail. Out of the box OS X can use sendmail to send messages. You can test it by doing: echo “Subject: Email from OX“ | /usr/sbin/sendmail recipi...@domain.com (You’ll have to actually include more email headers so it has

Mixed-state checkboxes

2016-07-08 Thread Jonathan Taylor
Hi all, I'm trying to work out the correct way to handle a mixed-state checkbox (NSButton checkbox with allowsMixedState=YES), bound to a property on my controller. I am intending it to serve as an "applies to all" type control at the head of a column of checkboxes - so if other checkboxes in t

WKWebView and Mobile Safari and cookie sharing

2016-07-08 Thread Torsten Curdt
I am finding conflicting information on this on the interwebs - and nothing in the docs. Is the WKWebView sharing cookies with Safari or not? My tests resulted in a "not sharing" but people e.g. on StackOverflow claim the opposite. What is it? cheers, Torsten