• 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: nsbundle and nspersistentdocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nsbundle and nspersistentdocument


  • Subject: Re: nsbundle and nspersistentdocument
  • From: Cornelius Jaeger <email@hidden>
  • Date: Thu, 26 May 2005 09:30:45 +0200

hi mmalc,

thx for the info, gonna use a data entity to keep my data and load it lazily.
is there any way i can have a data entity and refer to it by path, rather than load the nsdata into memory.
if i load an image using initWIthContentsOfURL: i have the data in memory once, till i release, correct?
if i reference a data entity i load the data into memory and then init my image with initWithData: i have the data in memory twice?
this is the situation i'm trying to avoid.
do you know how to do this using the core data framework. i was hoping to keep an assets folder in my filewrapper to copy any images to.
this doesn't seem to be much of an option right now.

thx

cornelius


On May 25, 2005, at 7:30 PM, mmalcolm crawford wrote:

If your aim is to use file wrappers, then unfortunately NSPersistentDocument will not help.  You may be able to support file wrappers by subclassing NSDocument and setting up your own persistence stack etc. but this has not yet been "officially" investigated...


mmalc


Cornelius Jaeger,

Member of Visual FOOD GmbH - Software and Multimedia Solutions


http://www.screenfood.ch

http://www.visualfood.ch

Moosstrasse 7

CH-6003 Lucerne

SWITZERLAND


Fon: +41 (0)41 21 0 21 41

Fax: +41 (0)41 21 0 21 43


iChat or AIM email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: nsbundle and nspersistentdocument
      • From: mmalcolm crawford <email@hidden>
References: 
 >nsbundle and nspersistentdocument (From: Cornelius Jaeger <email@hidden>)
 >Re: nsbundle and nspersistentdocument (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Very Newb Question about saving with NSDocument
  • Next by Date: NSImageView and custom cells....
  • Previous by thread: Re: nsbundle and nspersistentdocument
  • Next by thread: Re: nsbundle and nspersistentdocument
  • Index(es):
    • Date
    • Thread