• 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: Jumpy unsynchronized movement with NSViewAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jumpy unsynchronized movement with NSViewAnimation


  • Subject: Re: Jumpy unsynchronized movement with NSViewAnimation
  • From: Jonathon Mah <email@hidden>
  • Date: Fri, 1 Jun 2007 00:42:06 +0930

Hi Shamyl,

On 2007-05-31, at 23:30, Shamyl Zakariya wrote:

I'm writing a "help bubble" for providing feedback for custom NSFormatters I've written, since my formatters require fairly strict input and I want meaningul feedback to the user to explain what he'she entered wrong ). So when a user enters something the formatter doesn't approve of, a little bubble appears beneath the control with the error message from my formatter.

Wow, that looks pretty cool. Will you make the code available? :)

In the shrink-phase, you can see all the text drops about 1 pixel as the bubble resizes, and then pops back to the correct position at the end.

Are you subclassing NSAnimation? In my experience, that's really what you have to do; delegate methods don't work very well for that class. Which is a shame, because of the lack of inner classes in Objective-C.


Also, how are you setting the positions of the labels? The best way to do it would be to use the standard "sticks and springs" autosizing stuff, instead of adjusting the positions yourself.

I'd be happy to take a look at the code if you'd like.




Jonathon Mah email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Jumpy unsynchronized movement with NSViewAnimation
      • From: Shamyl Zakariya <email@hidden>
References: 
 >Jumpy unsynchronized movement with NSViewAnimation (From: Shamyl Zakariya <email@hidden>)

  • Prev by Date: Re: String Contains String
  • Next by Date: Re: String Contains String
  • Previous by thread: Jumpy unsynchronized movement with NSViewAnimation
  • Next by thread: Re: Jumpy unsynchronized movement with NSViewAnimation
  • Index(es):
    • Date
    • Thread