Skip to content

Commit

Permalink
update some introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyu authored and zhangyu committed May 22, 2013
1 parent d59c913 commit cd288b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Example/CUSMainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ - (id)init
[self.dataItems addObject:[NSArray arrayWithObjects:@"LinnerLayout",@"流式布局:类似HTML中的布局或Android中的LinnerLayout",@"CUSLinnerLayoutSampleViewController", nil]];
[self.dataItems addObject:[NSArray arrayWithObjects:@"RowLayout",@"行列布局:子控件以行或列的形式布局,可设置折行、均匀等复杂操作",@"CUSRowLayoutSampleViewController", nil]];
[self.dataItems addObject:[NSArray arrayWithObjects:@"TableLayout",@"表格布局:类似HTML中使用Table标签控制布局",@"CUSTableLayoutSampleViewController", nil]];
[self.dataItems addObject:[NSArray arrayWithObjects:@"LayoutManager",@"布局设计器:可视化布局设计",@"CUSLayoutManagerSampleViewController", nil]];
[self.dataItems addObject:[NSArray arrayWithObjects:@"LayoutManager",@"布局设计器:Long press to drag",@"CUSLayoutManagerSampleViewController", nil]];

}
return self;
Expand Down Expand Up @@ -101,7 +101,7 @@ -(BOOL)loadViewWithClassName:(NSString*)name{
Class controllerClass=NSClassFromString(name);
if(controllerClass){
UIViewController* backController=[[controllerClass alloc]initWithNibName:name bundle:nil];
backController.title = @"演示";
backController.title = @"DEMO";
[self.navigationController pushViewController:backController animated:YES];
return YES;
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENGLISH
=========
Open source release of automatic layout framework for iOS,which is simlar to Android,SWT,SWING API.It solves the problem of iPhone, iPhone5, iPad, resolution, rotation etc.

CUSLayout for iOS managed positioning mechanism, the iOS SDK provides absolute positioning is very inconvenient to use, in addition to the emergence of 4-inch screen of the iPhone and iPad to make iOS developer need to spend more time in the layout, however iOS6.0 AutoLayout the mechanism is disappointing, I refer to Android, SWT, Swing layout mechanism, the preparation of for iOS CUSLayout, use CUSLayout has the following advantages:1.Simplify coding, you do not need to take into account the pixel level, only for regional programming, which greatly improves the efficiency of programming2.Good readability, layout type can be a preliminary understanding of layout intent and child controls roughly placed, eliminating the need for a very tedious restore coordinate steps3.When the the UIView container Flip, size change, supporting multiple resolutions, automatic processing4.CUSLayou UIView layout, perfect to migrate to any Application species, will not affect the original application5.The API is simple and easy-to-use, low cost learning through the sample program to preliminary masterFollow-up will launch a new type of layout and perfect layout algorithm, please pay attention to add Star, your support is my greatest motivation, thank you.To on github demand, advice and bugs
CUSLayout for iOS managed positioning mechanism, the iOS SDK provides absolute positioning is very inconvenient to use, in addition to the emergence of 4-inch screen of the iPhone and iPad to make iOS developer need to spend more time in the layout, however iOS6.0 AutoLayout the mechanism is disappointing, I refer to Android, SWT, Swing layout mechanism, the preparation of for iOS CUSLayout, use CUSLayout has the following advantages:<br>1.Simplify coding, you do not need to take into account the pixel level, only for regional programming, which greatly improves the efficiency of programming<br>2.Good readability, layout type can be a preliminary understanding of layout intent and child controls roughly placed, eliminating the need for a very tedious restore coordinate steps<br>3.When the the UIView container Flip, size change, supporting multiple resolutions, automatic processing<br>4.CUSLayou UIView layout, perfect to migrate to any Application species, will not affect the original application<br>5.The API is simple and easy-to-use, low cost learning through the sample program to preliminary master<br>Follow-up will launch a new type of layout and perfect layout algorithm, please pay attention to add Star, your support is my greatest motivation, thank you.<br>To on github demand, advice and bugs<br>
中文
=========
CUSLayout为iOS下提供托管定位机制,系统提供的绝对定位方式极不方便使用,另外iPhone的4寸屏幕的出现和iPad令iOS开发者在布局需要花更多的时间,然而iOS6.0提供的AutoLayout机制令人失望,所以笔者参考Android、SWT、SWING等布局机制,编写了适合iOS下使用的CUSLayout,使用CUSLayout有以下几个好处:<br>
Expand Down

0 comments on commit cd288b2

Please sign in to comment.