Is there a way to access other controller square's other icons programmatically?

2017-03-23 Thread Daryle Walker
I used to use a single view controller, in a storyboard, with all the controls/views laid out, including any object/array controllers in the top bar along with the view-controller reference and the first responder icon. Now I moved to a network of view controllers, i.e. split- and

How do I set a NSTextView's font in Interface Builder?

2017-03-23 Thread Daryle Walker
I have the NSTextView selected in its storyboard scene. And I have the Attributes Inspector active. The entry for the font is empty. Clicking the squared-T gives a pop-up with a “Custom” font and changing it to one of the fixed selections (User, fixed) doesn’t do any actual change. This makes

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread davelist
> On Mar 23, 2017, at 12:24 PM, David Duncan wrote: > > I just want to remind everyone I’m *not* a file system’s engineer – I’m just > trying to help Dave (and anyone else caught in this) make sure their app can > find their files. > >> On Mar 23, 2017, at 1:53 AM,

Re: Printing in Swift

2017-03-23 Thread corbin dunn
> On Mar 21, 2017, at 7:45 AM, David Delmonte wrote: > > Hello Group. > > I have an NSView-based app (i.e. not document-based), and I’d like to bolt on > a printing subsystem. I can get NSViews in my main controller to print ok. > However, I want to have a special view

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Alastair Houghton
On 23 Mar 2017, at 17:57, Ed Wynne wrote: > >> Shouldn’t the VFS layer actually be doing this? It is part of its whole >> raison d’être, no? Just have -[NSURL fileSystemRepresentation] normalize >> things according to the correct Unicode rules, and let the VFS layer >>

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Jens Alfke
> On Mar 22, 2017, at 2:25 PM, davel...@mac.com wrote: > > "Engineering has the following feedback for you: > > iOS HFS Normalized UNICODE names , APFS now treats all files as a bag of > bytes on iOS . We are requesting that Applications developers call the > correct Normalization routines to

Re: programmatically tell when spotlight/mds is indexing

2017-03-23 Thread corbin dunn
Also, please log bugs requesting for public API to do this. Thanks! corbin > On Mar 23, 2017, at 9:53 AM, Saagar Jha wrote: > > I couldn’t find a public API, but Metadata.framework defines > _MDConfigCopyStoreInformation(NSString *path). It returns an dictionary >

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Ed Wynne
> On Mar 23, 2017, at 1:40 PM, Charles Srstka wrote: > >> On Mar 23, 2017, at 3:50 AM, Alastair Houghton >> wrote: >> >> On 22 Mar 2017, at 19:13, Chris Ridd > > wrote: >>> On 22 Mar

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Charles Srstka
> On Mar 23, 2017, at 3:50 AM, Alastair Houghton > wrote: > > On 22 Mar 2017, at 19:13, Chris Ridd > wrote: >> >>> On 22 Mar 2017, at 09:05, Alastair Houghton >>

Re: programmatically tell when spotlight/mds is indexing

2017-03-23 Thread Saagar Jha
I couldn’t find a public API, but Metadata.framework defines _MDConfigCopyStoreInformation(NSString *path). It returns an dictionary containing the key “CurrentlyScanning”, which you might find useful. Saagar Jha > On Mar 18, 2017, at 09:37, sqwarqDev wrote: > > >> On

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread David Duncan
I just want to remind everyone I’m *not* a file system’s engineer – I’m just trying to help Dave (and anyone else caught in this) make sure their app can find their files. > On Mar 23, 2017, at 1:53 AM, Alastair Houghton > wrote: > > On 22 Mar 2017, at 18:00,

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Alastair Houghton
On 22 Mar 2017, at 18:00, David Duncan wrote: > > So there was another explanation posted on the bug that I’m not certain you > got, but which I think may explain. > > Basically the concept is that since APFS doesn’t normalize file names, if you > store file names in

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Alastair Houghton
On 22 Mar 2017, at 19:13, Chris Ridd wrote: > >> On 22 Mar 2017, at 09:05, Alastair Houghton >> wrote: >> >> In the context of filesystems (and specifically filenames), the phrases “bag >> of bytes” and “bunch of bytes” have a fairly specific

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-23 Thread Quincey Morris
On Mar 22, 2017, at 14:25 , davel...@mac.com wrote: > > On Mar 22, 2017, at 2:00 PM, David Duncan > wrote: >> >> So there was another explanation posted on the bug that I’m not certain you >> got, but which I think may explain. >> >>

Re: programmatically tell when spotlight/mds is indexing

2017-03-23 Thread Rob Petrovec
I’m not sure there is a way to tell if it is indexing other then to check for the existence of the mdworker process. But that won’t tell you if you are in the middle of a full index. It will just say that Spotlight is importing something, somewhere, for some reason which it does all the time.