Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
Yes, that seems the right way to do it. Thanks! -- Rick Mann rm...@latencyzero.com > On Jun 27, 2017, at 16:07, Charles Srstka wrote: > >>> On Jun 27, 2017, at 4:45 PM, Rick Mann wrote: >>> >>> On Jun 27, 2017, at 14:30 , Charles Srstka

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Charles Srstka
> On Jun 27, 2017, at 4:45 PM, Rick Mann wrote: > >> >> On Jun 27, 2017, at 14:30 , Charles Srstka > > wrote: >> >>> On Jun 27, 2017, at 4:17 PM, Rick Mann >>

Re: help! (book)

2017-06-27 Thread Jerome Krinock
> On 2017 Jun 26, at 08:36, J.E. Schotsman wrote: > > Hello, > > I still cannot get my help book anchors to work programmatically (using > NSHelpManager.shared().openHelpAnchor). For some reason, in my apps, I use the method which also passes the help book name, and it

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
> On Jun 27, 2017, at 14:30 , Charles Srstka wrote: > >> On Jun 27, 2017, at 4:17 PM, Rick Mann wrote: >> >> Thanks for that, Charles! >> >> I wasn't sure because of the existence of the clonefile() call in >> , implying that operation was

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Charles Srstka
> On Jun 27, 2017, at 4:17 PM, Rick Mann wrote: > > Thanks for that, Charles! > > I wasn't sure because of the existence of the clonefile() call in > , implying that operation was different from copyfile(), but > looking more closely at the sample code, I see that you

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Rick Mann
Thanks for that, Charles! I wasn't sure because of the existence of the clonefile() call in , implying that operation was different from copyfile(), but looking more closely at the sample code, I see that you can call copyfile() with COPYFILE_CLONE, which seems like it will clone if possible

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Charles Srstka
> On Jun 27, 2017, at 12:28 AM, Jens Alfke wrote: > >> On Jun 26, 2017, at 7:38 PM, Rick Mann > > wrote: >> >> But there's actually a POSIX "clone" API, and so I wonder if a copy is >> different from a clone. > > The

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-27 Thread Quincey Morris
On Jun 27, 2017, at 06:57 , Navneet Kumar wrote: > > A custom view when overlapped with a transparent view (subview to window’s > contentView) and a subview on top of transparent view, also shows the custom > cursor and tooltip assigned to the custom view. Even when the

Re: file encription/decriptoin iOS

2017-06-27 Thread Jens Alfke
> On Jun 26, 2017, at 10:24 PM, Jens Alfke wrote: > > There’s some use in a scenario like this, and it could be a nice feature to > add to apps … if there were a convenient and trustworthy file encryption API > available. But there doesn’t seem to be. I just remembered

Re: file encription/decriptoin iOS

2017-06-27 Thread Jens Alfke
> On Jun 27, 2017, at 5:18 AM, Alex Zavatone wrote: > > We had 3 programmers each with 6 years of iOS development who couldn’t figure > that out. We got bitten bad because of that. Not sure what to say about that … it’s all there in the docs. But it’s a pretty frequently

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-27 Thread Navneet Kumar
Hi everyone, The problem is still there. The problem is everywhere in my project. A custom view when overlapped with a transparent view (subview to window’s contentView) and a subview on top of transparent view, also shows the custom cursor and tooltip assigned to the custom view. Even when the

Re: file encription/decriptoin iOS

2017-06-27 Thread Alex Zavatone
> On Jun 26, 2017, at 12:59 PM, Jens Alfke wrote: > > >> On Jun 26, 2017, at 9:50 AM, Alex Zavatone > > wrote: >> >> You can use the iExplore app to look in the Documents folder of any device >> you attach to your Mac. > > But you

Re: file encription/decriptoin iOS

2017-06-27 Thread Sandor Szatmari
Jens, Sandor > On Jun 27, 2017, at 01:24, Jens Alfke wrote: > > >> On Jun 26, 2017, at 7:25 PM, Sandor Szatmari >> wrote: >> >> This is an interesting thread. The OP's original question made me think of >> the functionality Apple

Re: Is cloning the same as copying in APFS?

2017-06-27 Thread Alastair Houghton
On 27 Jun 2017, at 06:28, Jens Alfke wrote: > >> On Jun 26, 2017, at 7:38 PM, Rick Mann wrote: >> >> But there's actually a POSIX "clone" API, and so I wonder if a copy is >> different from a clone. > > The low level file copying API that I’m aware

Re: file encription/decriptoin iOS

2017-06-27 Thread Alastair Houghton
On 27 Jun 2017, at 03:25, Sandor Szatmari wrote: > > This is an interesting thread. The OP's original question made me think of > the functionality Apple recently (how recently I'm not sure) added to the iOS > Notes app. It allows you to selectively 'encrypt'