Re: Fixed pattern with colorWithPatternImage

2010-09-03 Thread Quincey Morris
On Sep 3, 2010, at 13:16, Pessoal wrote: > I have a custom view called HeaderView and I need to draw a pattern in this > view. The final result that I want to achieve is this: > http://cl.ly/2F5q > > And it's working but when I resize the window and my drawRect is called the > pattern change his

Re: isTemporaryID unrecognized selector - how do I debug this?

2010-09-03 Thread Gideon King
Brilliant! Found the problem and fixed it. The issue was that I was not registering the inverse of a relationship in a cache node for my atomic store. I was able to track it down by going to the maintainInverseRelationship:forProperty:oldDestination:newDestination: method call in the stack, and

Fixed pattern with colorWithPatternImage

2010-09-03 Thread Pessoal
Hello, It's my first post here and I'm starting with Cocoa (OSX, not iPhone yet). I'm working in a small project that need some customizations in the UI. I have a custom view called HeaderView and I need to draw a pattern in this view. The final result that I want to achieve is this: http://cl.l

iPad - UIScrollView - smooth scrolling

2010-09-03 Thread Robert Vojta
Hi all, I'm trying to optimize our application for smooth scrolling, but it looks like I'm at the end and I don't know what else I can try. Simple description of what I did so far ... Screen looks like ... - background image, which doesn't scroll and is below UIScrollView - UIScrollView, whic

Re: isTemporaryID unrecognized selector - how do I debug this?

2010-09-03 Thread Jerry Krinock
-isTemporaryID is implemented in NSManagedObjectID, not NSManagedObject. I presume that your NMTopicMapViewMO inherits from NSManagedObject. If you can't find any place in your code where you might be sending -isTemporaryID to a NMTopicMapViewMO, then of course it might be that when the manage

[Moderator] List Guidelines

2010-09-03 Thread Scott Anguish
A note: Do not debate these rules on the list. Direct emails to the admins address listed below and in every posting. This includes the moderator and the people who actually own the list. New Posters === A reminder that people who post for the first time are moderated. Messages should

Re: isTemporaryID unrecognized selector - how do I debug this?

2010-09-03 Thread Gideon King
Thanks Jerry If I do a PO on the object that it says the message is being sent to, it shows the object that I deleted: 2010-09-04 13:16:35.818 NovaMind5TP[39867:a0f] -[NMTopicMapViewMO isTemporaryID]: unrecognized selector sent to instance 0x1046f51c0 (gdb) po 0x1046f51c0 (entity: TopicMapVie

[Moderator] Now = undocumented API

2010-09-03 Thread Scott Anguish
On Sep 3, 2010, at 3:38 PM, Shawn Bakhtiar wrote: > However, to moderate the list because someone references an undocumented API, > is simply wrong. <- note the period at the end of this sentence. This is not up for discussion on this list. This is Apple policy. This thread is closed.

Re: isTemporaryID unrecognized selector - how do I debug this?

2010-09-03 Thread Jerry Krinock
On 2010 Sep 03, at 18:43, Gideon King wrote: > Hi, I have a custom NSManagedObject subclass that I am having a problem with. > When I delete the object, I get the "isTemporaryID unrecognized selector sent > to instance" message being sent to the object being deleted I'm not quite sure of that.

isTemporaryID unrecognized selector - how do I debug this?

2010-09-03 Thread Gideon King
Hi, I have a custom NSManagedObject subclass that I am having a problem with. When I delete the object, I get the "isTemporaryID unrecognized selector sent to instance" message being sent to the object being deleted - but ONLY if the object has been loaded from a file. If I have created it and t

Re: CALayer instant content update

2010-09-03 Thread Markus Spoettl
On Sep 3, 2010, at 1:44 PM, David Duncan wrote: > On Sep 3, 2010, at 10:36 AM, Markus Spoettl wrote: > >> I have delegate-drawn layers (on the main thread) whose content I want to >> change without animation, I don't want to a change transition of any kind in >> some situations. Up until now I'm

Re: CALayer -drawInContext and GCD

2010-09-03 Thread vincent habchi
After much (private) talk with David, we are both at the loss with this issue. I'll investigate further but, meanwhile, does somebody here on the list have tried to refresh CALayer within GCD blocks? If yes, does it work? Thanks, Vincent___ Cocoa-dev

[JOB] iPhone Developer - New York City

2010-09-03 Thread Beau Gould
This is a full time, on-site, salaried iPhone Developer position located in New York City paying $90,000-120,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates only. Thank you. My New York City client is a 4-person

[Moderator - undocumented API discussion and this thread] Re: iTunes 10 UI

2010-09-03 Thread Scott Anguish
> I think I looked into this ages ago and managed to get something working by > defining this undocumented method in the parent view: > > > Obviously, with it being undocumented, the usual caveats apply. > Including that undocumented methods are not to be discussed here, period. That should

Re: CALayer instant content update

2010-09-03 Thread David Duncan
On Sep 3, 2010, at 10:36 AM, Markus Spoettl wrote: > I have delegate-drawn layers (on the main thread) whose content I want to > change without animation, I don't want to a change transition of any kind in > some situations. Up until now I'm using this: If you want to have a layer that doesn't

CALayer instant content update

2010-09-03 Thread Markus Spoettl
Hello, during the recent discussion "CALayer -drawInContext and GCD" it came up that you should not use [CATransation flush] and the argument made a point that it wasn't necessary and should be avoided because of negative consequences. I'm a little confused now as it seems -flush does help me

Re: UIView animation

2010-09-03 Thread Erik Buck
I would add that any graph of objects that implements the protocol can also be trivially copied. Interface Builder encodes and decodes object graphs when saving the xib/nib files and also when entering test interface mode. As a blatant plug: See "Cocoa Design Patterns" ISBN: 0-321-53502-2 Chap

Re: where are the CALayer struts and springs on iPhone?

2010-09-03 Thread Matt Neuburg
On Fri, 03 Sep 2010 08:44:05 -0700, Matt Neuburg said: >On Tue, Sorry about that. Every once in a while my email program sends out an incomplete message like that, and I don't know why (or even whether the problem is the email program or something further down the line, like the server). What I

Re: UIView animation

2010-09-03 Thread Matt Neuburg
On Fri, 03 Sep 2010 00:11:43 +0200, Christian Ziegler said: >Hi all, > >I could use your help because I'm running out of ideas! > >Here's the situation. I got this custom view on screen which I want to remove from the screen by moving it outside the left border of the screen. However at the same t

Re: CALayer -drawInContext and GCD

2010-09-03 Thread vincent habchi
David, Yes. I have put a NSLog in both -display and -drawInContext. The first is run, the second never... Vincent ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: where are the CALayer struts and springs on iPhone?

2010-09-03 Thread Matt Neuburg
On Tue, ___ 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-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.

Re: CALayer -drawInContext and GCD

2010-09-03 Thread David Duncan
On Sep 3, 2010, at 7:50 AM, Vincent Habchi wrote: >> I have implemented what you suggested. I get a strange behavior: the first >> time I enqueue a request for display, everything is fine. But then I cannot >> draw any further: any subsequent call, albeit correctly enqueued in the >> block, doe

Re: CALayer -drawInContext and GCD

2010-09-03 Thread Vincent Habchi
> I have implemented what you suggested. I get a strange behavior: the first > time I enqueue a request for display, everything is fine. But then I cannot > draw any further: any subsequent call, albeit correctly enqueued in the > block, does nothing: the -(void)display Read: "at any subsequen

Re: CALayer -drawInContext and GCD

2010-09-03 Thread Vincent Habchi
Le 3 sept. 2010 à 00:17, David Duncan a écrit : > Doing so would cause you all manners of pain and suffering, the most common > of which is things "mostly" working but occasionally your drawing going into > the wrong view. Basically *never* use the context given to you in > -drawInContext: outs

Re: UIView animation

2010-09-03 Thread Christian Ziegler
Hi again! Just wanted to let you know that it works now. Thanks for the tip! Cheers Chris On Sep 3, 2010, at 8:25 AM, Christian Ziegler wrote: > Hi! > > Thanks Wyatt and Ricky for your answers. > > The views have to visible at the same time. I thought of making an image out > of this view

Re: IrDA protocols

2010-09-03 Thread Vincent Habchi
Le 3 sept. 2010 à 07:15, kirankumar a écrit : > Mac os x does not support IrDA protocols (IrLAP, IrLMP, IrNET).why? I don't think this list is the right place to ask such a question! Besides, isn't IrDA dead anyway? Cheers Vincent ___ Cocoa-dev mail

Re: NSTimer not working in a multithreaded application

2010-09-03 Thread Greg Guerin
Abhijeet Singh wrote: Hi,I am working on a multithreaded software that runs on a medical instrument. The software has 2 parts. GUI and worker threads (worker threads sends commands to instrument). The GUI is developed using ObjectiveC and Cocoa. Worker threads are all in C and Carbon.It i

Re[2]: NSTimer not working in a multithreaded application

2010-09-03 Thread Oleksiy Gorelov
Hello! Probably you created your time in the worker thread. You should not use for this usual method invocations, NSNotificationCenter or performSelector: withObject:. Try to use - (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait; and create the time