Pergunta de entrevista da empresa Copper Digital

Whats fast enumeration? Whats the difference between frame and bounds?

Respostas da entrevista

Sigiloso

25 de abr. de 2012

Frame: UIView Rectangle Coordinates that defines location (x,y) and size (Height and width) relative to its SuperView Bounds: UIView Rectangle Coordinates that defines location (x,y) and size (Height and width) relative to its OwnView

Sigiloso

27 de dez. de 2013

Frames : co-ordinates system in terms of super view. when seen from outside. like moving or drawing and doing transformations. Bounds: in terms of view's own co-ordinate system. When you look any view from inside alway work from bound view system.