s that. I just want to suggest that, in the future, you post
your questions with more descriptive subject titles. "Something is
wrong" is not very helpful.
Keep in mind that this list has a lot of traffic and not everyone is
interested in every subject. We all want to help one an
On Tue, Jul 28, 2009 at 12:44 PM, Agha Khan 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/iphon
Hi:
UIButton* pSomeBtn = [UIButton buttonWithType:UIButtonTypeInfoDark];
CGRect SomeBtnFrame = pSomeBtn.frame;
I am new to Objective-C
But I took granted and used -> for pointers.
Why this is working?
It should be
CGRect SomeBtnFrame = pSomeBtn->frame;
But many places it did not complain. No