With and Without Dot Notation?

Posted by fuzzygoat on Stack Overflow See other posts from Stack Overflow or by fuzzygoat
Published on 2010-06-16T15:27:25Z Indexed on 2010/06/16 15:52 UTC
Read the original article Hit count: 275

Filed under:
|
|

I am trying to write the following without using dot notation ...

[scrollView setMinimumZoomScale: scrollView.bounds.size.width / image.size.width];

Is this right?

[scrollView setMinimumZoomScale: [scrollView bounds].size.width / [image size].width];

cheers Gary.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c