• 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
File system caching of - xxxxWithContentsOfFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File system caching of - xxxxWithContentsOfFile:


  • Subject: File system caching of - xxxxWithContentsOfFile:
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 18 Aug 2010 15:10:01 +0100

The following classes implement either -initWithContentsOfFile: or an appropriate similar factory method.

NSData
NSArray
NSCharacterSet
NSImageRep
NSSound
NSString

Only NSData provides a method which allows an option to control file read caching - dataWithContentsOfFile:options:error:

For non NSData classes does calling  -initWithContentsOfFile: result in data being cached by the file system?

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com







_______________________________________________

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: File system caching of - xxxxWithContentsOfFile:
      • From: Ken Ferry <email@hidden>
  • Prev by Date: Re: Losing my memory - a caching problem?
  • Next by Date: Re: Losing my memory - a caching problem?
  • Previous by thread: Select and edit filename field in NSSavePanel
  • Next by thread: Re: File system caching of - xxxxWithContentsOfFile:
  • Index(es):
    • Date
    • Thread