Re: NSImageView gets stuck
Re: NSImageView gets stuck
- Subject: Re: NSImageView gets stuck
- From: Michael Rogers <email@hidden>
- Date: Sat, 06 Dec 2008 22:04:28 -0600
On 6 Dec, 2008, at 9:52 PM, email@hidden wrote:
Shot in the dark here...
I noticed you are using ballFrame in your timer event, but not in
your "reset" event.
Is that your issue?
That's a good idea, but I don't believe so: when I replaced my
[ball setFrameOrigin:NSMakePoint(125,125)];
line with these:
NSRect ballFrame = [ball frame];
ballFrame.origin.x=125; // move the ball
ballFrame.origin.y=125;
[ball setFrame:ballFrame];
I have the same outcome: the ball stays stuck.
Thanks for your reply, Jon.
Michael
_______________________________________________
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