extent of the "scratch pad" nature of a Core Data managed object context

2010-05-09 Thread Mark Sanvitale
d objects? What about the pending, indirectly deleted objects? It is my belief that the scratch pad nature of the moc does not extend into the full reaches of pending deletions. Thanks in advance. Mark Sanvitale Real Networks___ Cocoa-dev mail

Re: predicate for a Core Data fetch request rejected by SQL

2010-03-05 Thread Mark Sanvitale
Thanks all for the sharing of thoughts. Glad someone could confirm that what I was attempting did not make sense from the SQL perspective (which I am a newbie to). But, like Sean wrote, Core Data seems to be presented as an abstraction ABOVE the layer which implements the actual storage/retrie

predicate for a Core Data fetch request rejected by SQL

2010-03-05 Thread Mark Sanvitale
s, I can fetch all entities from the DB and then do an in-memory search amongst the paths. Just hoping I could have the fetch do all the work. Mark Sanvitale Real Networks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSScrollView & its width

2010-02-04 Thread Mark Sanvitale
e, width-sync'd relationship. (I repeat, this is only a somewhat educated stab-in-the-dark, i.e. I have used NSTextContainer's setWidthTracksTextView method. More informed people should still be encouraged to reply.) Good luck. Mark Sanvitale On Feb 4, 2010, at 1:45 PM, Knut Loren

Re: CoreAnimation "breaks" when switching from NSView to NSBox

2010-02-02 Thread Mark Sanvitale
. On Feb 2, 2010, at 2:56 PM, Mark Sanvitale wrote: > Hi Mark, > > You probably want to set the animations on the box's contentView in addition > to the box itself. > > Box forwards modifications to its subviews array to its contentView. > However, this is somethi

CoreAnimation "breaks" when switching from NSView to NSBox

2010-02-02 Thread Mark Sanvitale
sub-class and doing my own binding-friendly fill color. Thanks in advance. Mark Sanvitale ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-

can NSCollectionView be made to ask for properties in a lazy manner

2010-01-28 Thread Mark Sanvitale
before the associated row appears on-screen. The image property is calculated on-demand and it is better performance and memory usage to NOT pre-calculate every image. Do I have to hack away or can the collection be convinced to operate in this (I think, obvious/superior) "lazy loading&quo

Re: compiler warning for not fully implementing protocol

2008-08-01 Thread Mark Sanvitale
ings are harmless and can even be avoided with the elegant: - (id)displayCapture { return [super displayCapture]; } I will just write a bug and see what the powers that be think. Thanks. On Jul 31, 2008, at 8:13 PM, Adam R. Maxwell wrote: On Jul 31, 2008, at 4:14 PM, Mark Sanvitale

Re: compiler warning for not fully implementing protocol

2008-07-31 Thread Mark Sanvitale
g? On Jul 31, 2008, at 1:13 PM, Bill Bumgarner wrote: On Jul 31, 2008, at 11:36 AM, Mark Sanvitale wrote: I have a formal protocol that declares two methods. I have a class that adopts this protocol. This class implements one of the protocol methods. This class inherits from another c

compiler warning for not fully implementing protocol

2008-07-31 Thread Mark Sanvitale
quot;. I think the compiler is wrong. Or is this "by design" according to some strict rule(s) of Objective-C? Am I expected to redefine the method I inherit from my super class if the method is part of a protocol I adopt? Mark Sanvitale Exbiblio [EMAIL PROTECTED] _

Re: custom NSButtonCell behaves different/wrong on Leopard

2008-07-15 Thread Mark Sanvitale
to different configurations of the showsStateBy and highlightsBy masks. A 'momentary change' button has NSContentsCellMask set in its highlightsBy mask and a 'toggle' button has NSContentsCellMask in its showsStateBy mask. -Ken On Tue, Jul 15, 2008 at 12:39 AM, Mark Sanvitale &

custom NSButtonCell behaves different/wrong on Leopard

2008-07-15 Thread Mark Sanvitale
(beyond the obvious confusion as to why such a tactic is even necessary) whereby the dimming of the image does not happen on mouse-down but, rather, happens on roll-over when the button is in the alternate state. I'm at a loss. Please help me. Mark Sanvitale Exbiblio [EMAIL PROT