• 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
Core Data won't accept this string...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data won't accept this string...


  • Subject: Core Data won't accept this string...
  • From: James Cicenia <email@hidden>
  • Date: Tue, 03 Apr 2012 12:11:49 -0500

Hello -

I am trying to import data into Core Data. I am trying to set the value of one the attributes to the following string:

 MeasureID = 2376;
    Property =     {
        root =         {
            ExtendedProperties =             {
                item =                 {
                    "@id" = PhotoRequired;
                    text = 0;
                };
            };
        };
    };


It takes the MeasureID but no matter what I do it won't take the String in Property?

And worse, the following code:  [self setValue:value forKey:attribute];

Just swallows it and doesn't throw any errors ?

Is the fact that it looks like an array or dictionary throwing off NSManagedObject?

Banging my head,
James



_______________________________________________

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: Core Data won't accept this string...
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: iOS App - crash when clearing a UITableDetailView
  • Next by Date: Core Data and ARC crasher and workaround
  • Previous by thread: Re: iOS App - crash when clearing a UITableDetailView
  • Next by thread: Re: Core Data won't accept this string...
  • Index(es):
    • Date
    • Thread