Logo

ZLB



SC Hint #2 - get the Rect with the size of View

If you have a view and you want to get a Rect with it’s width and height you can do:

Rect(0,0,view.bounds.width,view.bounds.height)

But it’s more compact to do:

view.bounds.extent.asRect

Tags: ,

Leave a Reply


info_at_friendlyvirus.org
sales_at_friendlyvirus.org
www.myspace.com/friendlyvirus/