• 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: NSImageView gets stuck
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >cocoa class diagram (From: "macdev" <email@hidden>)
 >Re: cocoa class diagram (From: "Kyle Sluder" <email@hidden>)
 >NSImageView gets stuck (From: Michael Rogers <email@hidden>)
 >Re: NSImageView gets stuck (From: email@hidden)

  • Prev by Date: Re: Array Controller Add method question
  • Next by Date: Re: NSImageView gets stuck
  • Previous by thread: Re: NSImageView gets stuck
  • Next by thread: Cleanup inside a failed init method
  • Index(es):
    • Date
    • Thread