• 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: Singleton or class methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Singleton or class methods?


  • Subject: Re: Singleton or class methods?
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 13 Sep 2014 08:51:13 -0500

On Sep 13, 2014, at 7:45 AM, Trygve Inda <email@hidden> wrote:

> These methods are used to convert between an NSScreen, CGDirectDisplayID,
> io_service_t, and a few other ways of dealing with screen identification. So
> a category on NSScreen is not going to work since in some cases an NSScreen
> is not known/used.

A category can add class methods.

Regards,
Ken


_______________________________________________

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: 
 >Singleton or class methods? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Singleton or class methods?
  • Next by Date: Re: Singleton or class methods?
  • Previous by thread: Re: Singleton or class methods?
  • Next by thread: Re: Singleton or class methods?
  • Index(es):
    • Date
    • Thread