• 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: Accessing a managedObject property from within an accessor of another property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing a managedObject property from within an accessor of another property


  • Subject: Re: Accessing a managedObject property from within an accessor of another property
  • From: Brad Stone <email@hidden>
  • Date: Tue, 22 Feb 2011 15:21:56 -0500

The category gets changed  properly:
(gdb) po [self note]
<Note> uid:319991742678124
 category:HELLO WORLD
 isEncrypted:0
(gdb) po thisNote


Then, after I try to set isEncrypted to [NSNumber numberWithBool:YES] I get this after I po thisNote.

I'm assuming since I can successfully change the string in category my reference to [self note] is OK.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffd80
0x00007fff843748d7 in _CFArrayReplaceValues ()
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off"
Evaluation of the expression containing the function (_NSPrintForDebugger) will be abandoned.
(gdb) _______________________________________________

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: Accessing a managedObject property from within an accessor of another property
      • From: Quincey Morris <email@hidden>
References: 
 >Accessing a managedObject property from within an accessor of another property (From: Brad Stone <email@hidden>)
 >Re: Accessing a managedObject property from within an accessor of another property (From: Quincey Morris <email@hidden>)
 >Re: Accessing a managedObject property from within an accessor of another property (From: Brad Stone <email@hidden>)
 >Re: Accessing a managedObject property from within an accessor of another property (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Accessing a managedObject property from within an accessor of another property
  • Next by Date: Re: iOS: Calling up numeric keypad
  • Previous by thread: Re: Accessing a managedObject property from within an accessor of another property
  • Next by thread: Re: Accessing a managedObject property from within an accessor of another property
  • Index(es):
    • Date
    • Thread