Re: NSFileWrapper

2016-06-05 Thread Kyle Sluder
On Sun, Jun 5, 2016, at 01:14 AM, Chris Ridd wrote: > > > On 4 Jun 2016, at 23:02, Daryle Walker wrote: > > > >> On Jun 4, 2016, at 12:18 PM, Peter Hudson wrote: > >> > >> Hi Mike > >> > >> You're right - I want the behaviour of a package. Do you happen to know > >> how I can achieve it? I

Re: NSFileWrapper

2016-06-05 Thread Graham Cox
> On 6 Jun 2016, at 4:31 AM, Jens Alfke wrote: > > So I guess NSFileWrapper’s not popular on the AppKit team either :) Seems a pity, as in some cases it’s handy to pass around something that mirrors the structure of a chunk of disk storage. If it loaded its content lazily it wouldn’t have thi

Re: NSFileWrapper

2016-06-05 Thread Jens Alfke
> On Jun 4, 2016, at 11:52 PM, Charles Srstka wrote: > > Every time I’ve ever tried to use NSFileWrapper, I’ve always ended up having > to switch to something else because of the memory issue that Jens mentions. > Never really understood the point of that class. I was going to say that "AFAIK

Re: How to implement a control/view that maps to a "String?" (in Swift)

2016-06-05 Thread Uli Kusterer
On 04 Jun 2016, at 21:43, Daryle Walker wrote: > I guess I could implement a “String” property with a NSTextView. What about > a “String?” though. NIL and empty strings are distinct in the model, and > I’ll like to reflect that in the document window too. (Although no one but > me would pick