Skip to content

dymv/FrameAccessor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Easy access to view's frame.

Use

view.x = 15;
view.width = 167;

instead

CGRect newFrame = view.frame;
newFrame.origin.x = 15;
newFrame.size.width = 167;
view.frame = newFrame;

You can access x, y, width, height, origin or size like properties.

About

Easy access to view's frame.

Resources

Stars

Watchers

Forks

Packages

No packages published