• 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: Releasing Object belonging to Core Data transient attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Releasing Object belonging to Core Data transient attribute


  • Subject: Re: Releasing Object belonging to Core Data transient attribute
  • From: Greg Herlihy <email@hidden>
  • Date: Mon, 13 Mar 2006 23:48:47 -0800
  • Thread-topic: Releasing Object belonging to Core Data transient attribute

Setting the transient attribute value to nil for an object should release
the value object (if there is one) which that attribute currently holds:

     [myCoreDataObject setValue:nil forKey:@"myTransientAttribute"];

Note that this operation effectively clears the value of the object's
attribute, so any subsequent valueForKey:@"myTransientAttribute" message
sent to that object will return nil.

Greg

On 3/13/06 10:53 PM, "David Chan" <email@hidden> wrote:

> Hi all, I am working Core Data and one of my entity has a transient
> attribute that temporarily store binary data. I understand that this
> transient attribute's object will be released when I quit my application.
> But is there a way I can release them immediately whenever I have no use for
> the object anymore? Thanks..
>
> Regards
> David
>  _______________________________________________
> 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


 _______________________________________________
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: Releasing Object belonging to Core Data transient attribute
      • From: "David Chan" <email@hidden>
    • Re: Releasing Object belonging to Core Data transient attribute
      • From: mmalcolm crawford <email@hidden>
References: 
 >Releasing Object belonging to Core Data transient attribute (From: "David Chan" <email@hidden>)

  • Prev by Date: Still having problem with timeout on NSURLConnection _not_ resulting in connection failure
  • Next by Date: Re: Releasing Object belonging to Core Data transient attribute
  • Previous by thread: Re: Releasing Object belonging to Core Data transient attribute
  • Next by thread: Re: Releasing Object belonging to Core Data transient attribute
  • Index(es):
    • Date
    • Thread