• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileWrapper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSFileWrapper
      • From: Graham Cox <email@hidden>
References: 
 >NSFileWrapper (From: Peter Hudson <email@hidden>)
 >Re: NSFileWrapper (From: Mike Abdullah <email@hidden>)
 >Re: NSFileWrapper (From: Peter Hudson <email@hidden>)
 >Re: NSFileWrapper (From: Daryle Walker <email@hidden>)
 >Re: NSFileWrapper (From: Graham Cox <email@hidden>)
 >Re: NSFileWrapper (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: How to implement a control/view that maps to a "String?" (in Swift)
  • Next by Date: Re: NSFileWrapper
  • Previous by thread: Re: NSFileWrapper
  • Next by thread: Re: NSFileWrapper
  • Index(es):
    • Date
    • Thread