• 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: Something is wrong
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Something is wrong


  • Subject: Re: Something is wrong
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 28 Jul 2009 13:01:24 -0700

On Tue, Jul 28, 2009 at 12:44 PM, Agha Khan<email@hidden> wrote:
> UIButton* pSomeBtn   = [UIButton buttonWithType:UIButtonTypeInfoDark];
> CGRect SomeBtnFrame  = pSomeBtn.frame;
> Why this is working?

This is known as "dot syntax".  Read the Objective-C 2.0 Language
Reference: http://developer.apple.com/iphone/library/documentation/cocoa/conceptual/objectivec/Articles/ocObjectsClasses.html

--Kyle Sluder
_______________________________________________

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: 
 >Something is wrong (From: Agha Khan <email@hidden>)

  • Prev by Date: Something is wrong
  • Next by Date: Re: How do I insure that my NSDocument subclass is not initialized before I open a document?
  • Previous by thread: Something is wrong
  • Next by thread: Re: Something is wrong
  • Index(es):
    • Date
    • Thread