Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Some shorthand helper methods for UIViews

Instead of:

self.myUIView.frame = CGRectMake(self.myUIView.frame.origin.x,
				60,
			 	self.myUIView.frame.size.width,
				self.myUIView.frame.size.height);

You can just do:

self.myUIView.frameY = 60;

Other helpers:

self.myUIView.frameSize = CGSizeMake(200, 300);
self.myUIView.frameOrigin = CGPointMake(10, 50);

About

Shorthand methods for setting frame attributes of a iOS UIView

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages