Re: NSFileWrapper
Re: NSFileWrapper
- Subject: Re: NSFileWrapper
- From: Jens Alfke <email@hidden>
- Date: Sun, 05 Jun 2016 11:31:11 -0700
> On Jun 4, 2016, at 11:52 PM, Charles Srstka <email@hidden> 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 the only place NSFileWrapper is needed is when displaying an image or file attachment in an NSTextView” … but I just went and looked at NSTextAttachment.h, and saw that last year they added API to use NSData instead, and documented it as the preferred mechanism. So I guess NSFileWrapper’s not popular on the AppKit team either :)
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden