• 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: UIImageView Animation Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIImageView Animation Question


  • Subject: Re: UIImageView Animation Question
  • From: David Duncan <email@hidden>
  • Date: Fri, 27 Nov 2009 15:53:30 -0800

On Nov 27, 2009, at 2:02 PM, Matt Neuburg wrote:

> It's really another case of a poor choice of terminology, isn't it? (By
> "another" I am referring to my recent critique on this list of the confusing
> over-use of the term "key" throughout the animation stuff.) Here we are in a
> graphics world, so the user must be forgiven for supposing that "context" is
> asking for a graphics context. If the name-mongers had used "contextInfo" as
> elsewhere in Cocoa, the purpose of this parameter would have been much more
> obvious. m.


I'm not a name monger by any means, but in this case I would say that since the type of the parameter is void* implies that there is no relation. If the parameter had been meant to always be a CGContextRef, then it would have been typed as such. Similarly, if it was meant to always be an object type, it would be at least of type id. And of course, its purpose is spelled out clearly from the documentation :).
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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: 
 >Re: UIImageView Animation Question (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: dynamic NSPointArray allocation
  • Next by Date: Fwd: Apache Module
  • Previous by thread: Re: UIImageView Animation Question
  • Next by thread: Re: UIImageView Animation Question
  • Index(es):
    • Date
    • Thread