• 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
Modified date in CoreData model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modified date in CoreData model


  • Subject: Modified date in CoreData model
  • From: Aaron Wallis <email@hidden>
  • Date: Sat, 14 Jul 2007 15:43:46 +1000

Hi all.

I'm stuck in a bit of an infinite loop here guys,
I need to set a *modified date* value for a CoreData model i'm building. I've been using the following peice of code, but for obvious reasons, it causes an infinite loop.


- ( void ) didChangeValueForKey : ( NSString * ) key
{
	[self setValue:[NSDate date] forKey:@"modifiedDate"];
}

how would I go about doing such a thing?

ta

________________________/Az.________
http://isnot.tv



_______________________________________________

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: Modified date in CoreData model
      • From: "Marcus S. Zarra" <email@hidden>
  • Prev by Date: Re: Objective-C/Cocoa connectivity to Relational Databases
  • Next by Date: Re: Modified date in CoreData model
  • Previous by thread: Re: Format Drive as FAT in Cocoa (XCode)
  • Next by thread: Re: Modified date in CoreData model
  • Index(es):
    • Date
    • Thread