• 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: Detecting Managed Object Property Change From Undo Redo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Managed Object Property Change From Undo Redo


  • Subject: Re: Detecting Managed Object Property Change From Undo Redo
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 27 Jan 2015 08:52:56 -0800

> On 2015 Jan 27, at 06:46, Keary Suska <email@hidden> wrote:
>
> Better, however, to have a property declaration, which would also synthesize an ivar in modern LLVMs (as of Xcode 5?).

You mean the property declaration would synthesize the ivar.  I didn’t try that.  I agree it would be better.

>> It still persists!
>
> It will if you modeled it, which I didn't notice, but must be the case.

Yes, the data model has a ‘rating’ property.

> If we stop and think a moment, why would calling super ever work? This is still Objective-C, and calling super is only valid when the class' superclass implements the method. And I bet NSManagedObject doesn't…

Indeed, it crashed when I invoked it.

> Primitive methods … There is absolutely nothing magical about them, because they need to be entirely un-magical to escape CD's notice.


> Therefore it is really hard to break anything unless you deliberately do so (or deliberately ignore compiler warnings).

I don’t think it warned me about defining a primitive setter without a primitive getter, although it might have because I tried it in a project that is currently giving me 60 warnings due to major work in progress


_______________________________________________

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: Detecting Managed Object Property Change From Undo Redo
      • From: Keary Suska <email@hidden>
References: 
 >Detecting Managed Object Property Change From Undo Redo (From: Richard Charles <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Mike Abdullah <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Jerry Krinock <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Richard Charles <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Jerry Krinock <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Richard Charles <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Jerry Krinock <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Jerry Krinock <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Quincey Morris <email@hidden>)
 >Re: Detecting Managed Object Property Change From Undo Redo (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: NSTableCellView Constraints?
  • Next by Date: Re: NSTableCellView Constraints?
  • Previous by thread: Re: Detecting Managed Object Property Change From Undo Redo
  • Next by thread: Re: Detecting Managed Object Property Change From Undo Redo
  • Index(es):
    • Date
    • Thread