Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-29 Thread David Duncan
> On Mar 22, 2017, at 2:25 PM, davel...@mac.com wrote: > >> >> On Mar 22, 2017, at 2:00 PM, David Duncan wrote: >> >>> >>> On Mar 22, 2017, at 4:15 AM, davel...@mac.com wrote: >>> On Mar 22, 2017, at 5:05 AM, Alastair Houghton

Re: Unicode filenames with Apple File System and UIManagedDocument

2017-03-29 Thread David Duncan
> On Mar 22, 2017, at 4:15 AM, davel...@mac.com wrote: > >> >> On Mar 22, 2017, at 5:05 AM, Alastair Houghton >> wrote: >> >> On 21 Mar 2017, at 20:49, Quincey Morris >> wrote: >>> >>> On Mar 20, 2017, at 14:23 ,

Re: Can't use +initialize, now what?

2017-03-29 Thread Charles Srstka
> On Mar 29, 2017, at 3:41 PM, Greg Parker wrote: > >> On Mar 29, 2017, at 9:02 AM, Charles Srstka > > wrote: >> >>> On Mar 29, 2017, at 10:51 AM, Jens Alfke >> >

Re: Can't use +initialize, now what?

2017-03-29 Thread Greg Parker
> On Mar 29, 2017, at 10:52 AM, Quincey Morris > wrote: > > Incidentally, there have always been other problems with using +initialize. > You don’t know how many times it will be called, since it’s called once for > each class, and it may be inherited

Re: Can't use +initialize, now what?

2017-03-29 Thread Greg Parker
> On Mar 29, 2017, at 9:02 AM, Charles Srstka wrote: > >> On Mar 29, 2017, at 10:51 AM, Jens Alfke wrote: >> >>> On Mar 29, 2017, at 6:57 AM, Daryle Walker >> > wrote: >>> >>> Now the new Xcode release

Re: Can't use +initialize, now what?

2017-03-29 Thread Jens Alfke
> On Mar 29, 2017, at 10:52 AM, Quincey Morris > wrote: > > If willFinishLaunching is not early enough, then you can put code in your > “main” function, but I don’t know how feasible that is in Swift. Another trick to run stuff earlier at launch is to add

Re: How to make a NSText​Find​Bar​Container client.

2017-03-29 Thread corbin dunn
> On Mar 28, 2017, at 1:45 PM, Daryle Walker wrote: > > It seems that I’ll be the first American in general & GitHub open-source > history to ever make a NSText​Find​Bar​Container subclass. The window > controller shows two views in a split view. The top half is a NSTableView

Re: Can't use +initialize, now what?

2017-03-29 Thread Quincey Morris
On Mar 29, 2017, at 06:57 , Daryle Walker wrote: > > Sometimes, I see something in Apple’s AppKit/Foundation reference site that > mentions that their technique should be loaded early in the program by > putting it in the class’s “+initiallize” method. So there are actually

Re: Can't use +initialize, now what?

2017-03-29 Thread Charles Srstka
> On Mar 29, 2017, at 10:51 AM, Jens Alfke wrote: > >> On Mar 29, 2017, at 6:57 AM, Daryle Walker > > wrote: >> >> Sometimes, I see something in Apple’s AppKit/Foundation reference site that >> mentions that their technique should

Re: Can't use +initialize, now what?

2017-03-29 Thread Jens Alfke
> On Mar 29, 2017, at 6:57 AM, Daryle Walker wrote: > > Sometimes, I see something in Apple’s AppKit/Foundation reference site that > mentions that their technique should be loaded early in the program by > putting it in the class’s “+initiallize” method. A +initialize

Can't use +initialize, now what?

2017-03-29 Thread Daryle Walker
Sometimes, I see something in Apple’s AppKit/Foundation reference site that mentions that their technique should be loaded early in the program by putting it in the class’s “+initiallize” method. Now the new Xcode release notes say that “• Swift now warns when an NSObject subclass attempts to