Get Updates By E-mail 

Article Written By:
Johann Dowa

Handy UIView Category Providing Layout Helper Methods (Z-Ordering, Absolute Positioning And More)

  •  
  •  
  •  
  •  
  •  

I’ve mentioned some handy helper libraries for working with UIView auto-layout such as FLKAutoLayout, and KeepLayout but there are many other issues that arise when laying out views, and sometimes auto-layout just doesn’t make sense.

Here’s an interesting UIView category that adds a number of helper methods that makes laying out views easier called MCUIViewLayout released by Mirego.

MCUIViewLayout helps to deal with common issues related to positioning views that would normally require you to use the CGGeometry functions.

MCUIViewLayout allows you to easily change the Z-ordering of your views with send to front, and send to back methods, allows you to change the size of your views while preserving positioning, absolute positioning of your views, and helpers for relative positioning based on other views.

You can find MCUIViewLayout on Github here.

A nice collection of UIView helpers.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments