Skip to content
Browse files

update README

  • Loading branch information...
1 parent ec9f709 commit 72625ec597ada52e914d1d8c98bae7ec688f7c9f @many20 committed Mar 23, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
9 README.md
@@ -10,23 +10,24 @@ with this class you can do:
- switch the layout of the current view
- modify the layouts in the LayoutManager
-Full **ARC** support
+Full **ARC** support
+support for ios 4.0
# TODO
---
- the modify methods are not fully implemented
-- ARC compatibility for ios 4.0 are missing, currently it only supports ios 5.0
+
# How to use
---
### generate it:
- layoutManager = [[MALayoutManager alloc] initLayoutWithName:@"portraiLayout" fromView:self.view];
+ layoutManager = [[MALayoutManager alloc] initLayoutWithName:@"portraiLayout" fromView:self.view withBaseView:NO];
[layoutManager addLayoutWithName:@"landscapeLayout" fromNib:@"iPhone_landscapeLayout"];
-
+
### change layout:
[layoutManager changeToLayoutWithName:@"landscapeLayout"];

0 comments on commit 72625ec

Please sign in to comment.
Something went wrong with that request. Please try again.