• 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: Store NSPredicate in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Store NSPredicate in Core Data


  • Subject: Re: Store NSPredicate in Core Data
  • From: Ivan C Myrvold <email@hidden>
  • Date: Sun, 17 Oct 2010 14:18:59 +0200

After some thought I found out that I can use NSkeyedArchiver and NSKeyedUnarchiver to make an NSData and back to NSPredicate instance. Then it is possible to store NSData into Core Data.


Den 17. okt. 2010 kl. 12.48 skrev Ivan C Myrvold:

> I am building an application where I am using an NSPredicateEditor. Now I would like to store the resulting NSPredicate from the NSPredicateEditor in Core Data. I am not sure how to accomplish that.
> I was thinking about using NSCoder, but not sure how to use NSCoder for this as it usually is used to archive directly to disk and not with Core Data.
>
> Do anyone have any hint?
>
> _______________________________________________
>
> 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
>


_______________________________________________

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: Store NSPredicate in Core Data
      • From: Martin Hewitson <email@hidden>
References: 
 >Store NSPredicate in Core Data (From: Ivan C Myrvold <email@hidden>)

  • Prev by Date: Store NSPredicate in Core Data
  • Next by Date: Codesign additional items within an app bundle
  • Previous by thread: Store NSPredicate in Core Data
  • Next by thread: Re: Store NSPredicate in Core Data
  • Index(es):
    • Date
    • Thread