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: 274
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