Commit 4226526f authored by 曹云霄's avatar 曹云霄

优化通过storyboard创建控制器

parent 119c7d02
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
- (IBAction)ShoppingBagButtonClickAction:(UIButton *)sender { - (IBAction)ShoppingBagButtonClickAction:(UIButton *)sender {
sender.selected = YES; sender.selected = YES;
ShoppingBagViewController *shoppingBag = [ShoppingBagViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_LEARNINGCENTER]; ShoppingBagViewController *shoppingBag = [ShoppingBagViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_MAIN];
[shoppingBag setDismissBlock:^{ [shoppingBag setDismissBlock:^{
sender.selected = NO; sender.selected = NO;
}]; }];
......
...@@ -6477,7 +6477,7 @@ ...@@ -6477,7 +6477,7 @@
<!--Scene View Controller--> <!--Scene View Controller-->
<scene sceneID="Ezg-ab-G2Y"> <scene sceneID="Ezg-ab-G2Y">
<objects> <objects>
<viewController storyboardIdentifier="SceneController" id="oDx-32-j3R" customClass="SceneViewController" sceneMemberID="viewController"> <viewController storyboardIdentifier="SceneViewController" id="oDx-32-j3R" customClass="SceneViewController" sceneMemberID="viewController">
<layoutGuides> <layoutGuides>
<viewControllerLayoutGuide type="top" id="i7H-IF-E5e"/> <viewControllerLayoutGuide type="top" id="i7H-IF-E5e"/>
<viewControllerLayoutGuide type="bottom" id="iGh-DT-f1t"/> <viewControllerLayoutGuide type="bottom" id="iGh-DT-f1t"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment