• 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: Decoding a line of Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decoding a line of Objective-C


  • Subject: Re: Decoding a line of Objective-C
  • From: Thomas Engelmeier <email@hidden>
  • Date: Mon, 9 Jul 2007 13:22:52 +0200


Am 08.07.2007 um 22:23 schrieb Kevin Walzer:

I understand what this line signifies:

MyClass *MCLSSharedInstance;

*MCLSSShareInstance is a pointer to an instance variable of MyClass.

Implementation aside, this the Objective-C implementation of an Singleton pattern. (Which the author of <http://en.wikipedia.org/wiki/ Singleton_pattern> apparently didn't like too much...)
As a search term, that brings you quite some search results in the list archives and google.



Regards, Tom_E

_______________________________________________

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: 
 >Decoding a line of Objective-C (From: Kevin Walzer <email@hidden>)

  • Prev by Date: Re: NSImage representations
  • Next by Date: Multi-project solution in Xcode
  • Previous by thread: Re: Decoding a line of Objective-C
  • Next by thread: Anyone recognise this crash in loadNib?
  • Index(es):
    • Date
    • Thread