• 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
[Q] inconsistent naming for Core Graphics and Foundation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] inconsistent naming for Core Graphics and Foundation?


  • Subject: [Q] inconsistent naming for Core Graphics and Foundation?
  • From: JongAm Park <email@hidden>
  • Date: Sat, 14 Mar 2009 23:43:54 -0700

Hello, all

I'm just curious about the naming convention for Core Graphics and Foundation.
For example, NSMakeRect and CGRectMake are similar but different about where the "Rect" is in its method name.
What is even worse is NSPointInRect and CGRectContainsPoint.
So, if a person is used to the Foundation convention, it is not intuitive to find proper method in Core Graphics.


Is there any reason they are named like that?

Thank you.

_______________________________________________

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


  • Follow-Ups:
    • Re: [Q] inconsistent naming for Core Graphics and Foundation?
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: iPhone UIWebView height?
  • Next by Date: Re: [Q] inconsistent naming for Core Graphics and Foundation?
  • Previous by thread: Re: Custom NSManagedObject Class Initializer
  • Next by thread: Re: [Q] inconsistent naming for Core Graphics and Foundation?
  • Index(es):
    • Date
    • Thread