Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

read me update

  • Loading branch information...
commit debea3825d4cf4f7c9eb634d3cc2196067a08276 1 parent 8fdf91c
@many20 authored
View
BIN  ...xcodeproj/project.xcworkspace/xcuserdata/Mario.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
43 README.md
@@ -1 +1,42 @@
-# MALayoutManager
+# MALayoutManager
+
+---
+
+My goal was to make a class that can store the frame propertys of the view hierarchy of a view or a nib file as a layout and to switch between this layouts.
+
+with this class you can do:
+
+- store the frame propertys from a view hierarchy or from a nib file
+- set the frame propertys of the current view to switch the layout
+- modify the layouts in the LayoutManager
+
+# VERSION HISTORY
+
+---
+### 0.1
+
+- the modify methods are not fully implemented
+
+
+# EXAMPLE
+
+---
+
+### generate it:
+
+ layoutManager = [[MALayoutManager alloc] initLayoutWithName:@"portraiLayout" fromView:self.view];
+ [layoutManager addLayoutWithName:@"landscapeLayout" fromNib:@"iPhone_landscapeLayout"];
+
+### change layout:
+
+ [layoutManager changeToLayoutWithName:@"landscapeLayout1"];
+
+# LICENSE
+
+---
+
+Copyright 2012 Mario Adrian
+Released under the MIT Licenses
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.