Le 22 nov. 2010 à 00:38, Dave Zwerdling a écrit :
> I have a fetcher which provides managed objects into the persistent store. I
> also have a class which needs to read the objects from another MOC because it
> is being run in a background thread.
You've somehow run into the same issue than
> Try overriding NSCell - drawWithFrame:inView:
> IIRC this is called before - drawInteriorWithFrame:InView:
> The default implementation of - drawWithFrame:inView: is perhaps the source
> of your unwanted drawing.
> Regards
> Jonathan Mitchell
Thanks Jonathan for your reply. I've tried replac
On Nov 21, 2010, at 2:47 PM, Kyle Sluder wrote:
> On Sun, Nov 21, 2010 at 2:32 PM, Dave Zwerdling wrote:
>>
>> On Nov 21, 2010, at 11:37 AM, vincent habchi wrote:
>>
>>> Le 21 nov. 2010 à 20:09, Dave Zwerdling a écrit :
>>>
The issue lies in this: I have a background-thread reader of ent
On Sun, Nov 21, 2010 at 2:32 PM, Dave Zwerdling wrote:
>
> On Nov 21, 2010, at 11:37 AM, vincent habchi wrote:
>
> > Le 21 nov. 2010 à 20:09, Dave Zwerdling a écrit :
> >
> >> The issue lies in this: I have a background-thread reader of entities.
> >> Because it is multithreaded, it uses a separ
On Nov 21, 2010, at 11:37 AM, vincent habchi wrote:
> Le 21 nov. 2010 à 20:09, Dave Zwerdling a écrit :
>
>> The issue lies in this: I have a background-thread reader of entities.
>> Because it is multithreaded, it uses a separate MOC for the entities to be
>> read. These MOCs have their per
Quincey:
> I think the point is that it's far *less* complex because the code to deal
> with a second MOC should be a lot simpler than the thread locking code. Plus,
> the chances are that your locking code is wrong. :) (Trust me, that's not a
> dig at you personally. But multithreading interlo
On Nov 21, 2010, at 12:50, vincent habchi wrote:
> Exactly, that's why I want to change. Note that my needs are fairly basic, so
> I didn't see the point of entering into a more complex scheme.
I think the point is that it's far *less* complex because the code to deal with
a second MOC should b
Hi everyone,
Here's the context:
I have a Core-Data document-based application. There is an importer which
creates new data to be imported into the document. When the user specifies,
particular entities are then moved into the document's MOC. Because the
imported can run prior to a document's
Le 21 nov. 2010 à 21:39, Quincey Morris a écrit :
> It's not an ivar, it's a property.
You're perfectly right.
> You can't modify a NSSet. I suspect you mean "modify this relationship", but
> the ambiguity leads me to wonder if you're trying to do something funky here.
> Not that it's relevant
On Nov 21, 2010, at 11:47, vincent habchi wrote:
> briefly speaking, I have a Core Data Entity bearing a to-many relationship
> (therefore an NSSet * iVar).
It's not an ivar, it's a property.
> A dialog on the main thread can modify this set,
You can't modify a NSSet. I suspect you mean "modif
Le 21 nov. 2010 à 20:09, Dave Zwerdling a écrit :
> The issue lies in this: I have a background-thread reader of entities.
> Because it is multithreaded, it uses a separate MOC for the entities to be
> read. These MOCs have their persistent store coordinator the same as the
> document. The b
Hi there,
briefly speaking, I have a Core Data Entity bearing a to-many relationship
(therefore an NSSet * iVar). A dialog on the main thread can modify this set,
while it may be simultaneously enumerated on a background GCD thread. I have
therefore used the managed object context provided mute
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rounak Jain wrote:
>> As Jerry pointed out, you need to learn the basics; please read up on the
>> basics to include memory management.
>
> I am using Garbage collector. ___
The previous comments still sta
> As Jerry pointed out, you need to learn the basics; please read up on the
> basics to include memory management.
I am using Garbage collector. ___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comm
On Nov 21, 2010, at 2:59 AM, Rounak Jain wrote:
> Thanks Jerry,
> I have used the dictionaryWithObjectsAndKeys: method.
> I have implemented your suggestions regarding "convenience constructors" and
> myKeys object. Regarding your comment about making everything "mutable", I
> think, at the mom
Another option would be to make your code mimic whatever NSExpression is
doing on that machine, by evaluating 2 ** 3 ** 2 (once, and caching the result)
and seeing whether it comes out as 64 or 512. That way if/when Apple fixes
their bug, your code will seamlessly follow suit.
Which of the
On 20 Nov 2010, at 07:24, Josh Yu wrote:
>
>
> A call to NSTableView setNeedsDisplay:YES will always solve the
> problem however too inefficient.
>
> Can anyone please suggest if there's anything might be done to fix that up?
>
> kjoika
> ___
>
Try
Thanks Jerry,
I have used the dictionaryWithObjectsAndKeys: method.
I have implemented your suggestions regarding "convenience constructors" and
myKeys object. Regarding your comment about making everything "mutable", I
think, at the moment, it has to be that way.
What's next?
#import
@inter
I'd use either NSWorkspaceDidMountNotification or
DARegisterDiskAppearedCallback() of the DiskArbitration framework.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
On Wed, Nov 17, 2010 at 9:53 AM, Bilel Mhedhbi wrote:
>
> I want my application to be notified when a CD-ROM is inserted.
Watch for NSWorkspaceDidMountNotification notifications.
See: <
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Clas
hello,
I m using Web Services Core framework to access a https based SOAP-
Web service .I am getting a error as
"/FaultCode" = -65794;
"/FaultExtra" = {
domain = -1;
error = -65795;
msg = "No valid XML data in response";
};
Hey guys I was implementing a customised NSCell into NSTableView and
it leaves dirty traces while scrolling up bit by bit.
The cell was subclassed from NSTextFieldCell, using
drawInteriorWithFrame: and coordinates to locate and place elements
inside (drawInRect for NSStrings whatever).
The NSTabl
I would like to add an item to my window's toolbar that is a custom view
containing other standard views. For example a popup button and a static text
field. If possible I would like to do this in interface builder, without
implementing NSToolbarDelegate.
So to clarify..
I have a window with a
Hi
I m using Web Services Core framework to access a https based SOAP-
Web service .But I am getting a error as
"/FaultCode" = -65794;
"/FaultExtra" = {
domain = -1;
error = -65795;
msg = "No valid XML data in response";
};
For what it's worth, that framework is definitely fine on iOS. I've used it
successfully myself at least twice.
On Wed, Nov 17, 2010 at 2:07 PM, Conrad Shultz <
con...@synthetiqsolutions.com> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 11/17/10 1:33 PM, Geoffrey Holden wrote:
Hello
I create my IB plug-in, and can't resolve next task. I need detect
when happens connecting the outlet between objects. I cant find, what
message goes to object (or Inspector class or else ) to notify them
about connecting outlet, at design time of course. (I'm sure this is
not
On Nov 12, 2010, at 3:15 PM, Kenny Leung wrote:
Hi All.
I'm working on accessibility in an app, and would like to have a
view pop up on screen and immediately become the focused item so
that its text will be spoken. There seems to be no call to
"becomeAccessibilityFocus" like there is "b
Hi there,
I want my application to be notified when a CD-ROM is inserted. I came with two
solutions: watching /etc/fstab (but the os doesn't use it) and watching the
/Volumes/ directory.
What can you advice me??
Thanks! ___
Cocoa-dev mailing list (C
28 matches
Mail list logo