瀏覽代碼

Add aspect fit example to example list controller

Michael Koukoullis 10 年之前
父節點
當前提交
26f9563e35
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Examples/Masonry iOS Examples/MASExampleListViewController.m

+ 3 - 0
Examples/Masonry iOS Examples/MASExampleListViewController.m

@@ -20,6 +20,7 @@
 #import "MASExampleLayoutGuideViewController.h"
 #import "MASExampleLayoutGuideViewController.h"
 #import "MASExampleArrayView.h"
 #import "MASExampleArrayView.h"
 #import "MASExampleAttributeChainingView.h"
 #import "MASExampleAttributeChainingView.h"
+#import "MASExampleAspectFitView.h"
 
 
 static NSString * const kMASCellReuseIdentifier = @"kMASCellReuseIdentifier";
 static NSString * const kMASCellReuseIdentifier = @"kMASCellReuseIdentifier";
 
 
@@ -48,6 +49,8 @@ static NSString * const kMASCellReuseIdentifier = @"kMASCellReuseIdentifier";
                                               viewClass:MASExampleConstantsView.class],
                                               viewClass:MASExampleConstantsView.class],
         [[MASExampleViewController alloc] initWithTitle:@"Composite Edges"
         [[MASExampleViewController alloc] initWithTitle:@"Composite Edges"
                                               viewClass:MASExampleSidesView.class],
                                               viewClass:MASExampleSidesView.class],
+        [[MASExampleViewController alloc] initWithTitle:@"Aspect Fit"
+                                              viewClass:MASExampleAspectFitView.class],
         [[MASExampleViewController alloc] initWithTitle:@"Basic Animated"
         [[MASExampleViewController alloc] initWithTitle:@"Basic Animated"
                                               viewClass:MASExampleAnimatedView.class],
                                               viewClass:MASExampleAnimatedView.class],
         [[MASExampleViewController alloc] initWithTitle:@"Debugging Helpers"
         [[MASExampleViewController alloc] initWithTitle:@"Debugging Helpers"