• 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: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior


  • Subject: Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
  • From: Karolis Ramanauskas <email@hidden>
  • Date: Wed, 25 Feb 2009 11:42:31 -0600

> Is locationY the model attribute which you "have to" change?  If so, I
> suggest that this is not rightfully a model or managed object attribute.
>  Obviously, it's more of a 'view' thing than a 'model' thing.  Remove it
> from your data model.  Make it a regular instance variable instead or,
> better yet, remove it entirely from your model class and calculate it in
> your view class when you need to draw.  Thousands of apps do it that way --
> it will work for your app too!

All this time thinking, concocting amazingly elaborate schemes how I
will make this work using several notifications, etc... This never
occurred to me! Thanks! It's true, I always dynamically calculate
this... Thanks again.
_______________________________________________

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

References: 
 >Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Karolis Ramanauskas <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Jerry Krinock <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Dave Fernandes <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Karolis Ramanauskas <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Jerry Krinock <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Karolis Ramanauskas <email@hidden>)
 >Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • Next by Date: Re: do i need to create autorelease pool?
  • Previous by thread: Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
  • Next by thread: Observing Managed Object Changes. Was: Strange ... behavior
  • Index(es):
    • Date
    • Thread