Skip to content

Commit

Permalink
Setting the default example to the first one
Browse files Browse the repository at this point in the history
  • Loading branch information
Franklin Webber committed Sep 16, 2013
1 parent e478cb7 commit 92a475f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AwesomeMenu/AwesomeViewController.m
Expand Up @@ -49,7 +49,7 @@ - (void)viewDidLoad {
// this initialization. This is ideal if you have a simple set of data and no real need of using a DataSource.
//

// QuadCurveMenu *menu = [[QuadCurveMenu alloc] initWithFrame:self.view.bounds withArray:[NSArray arrayWithObjects:@"1",@"2",@"3", nil]];
QuadCurveMenu *menu = [[QuadCurveMenu alloc] initWithFrame:self.view.bounds withArray:[NSArray arrayWithObjects:@"1",@"2",@"3", nil]];

//
// BUILDING A MENU WITH CUSTOM IMAGES
Expand All @@ -64,10 +64,10 @@ - (void)viewDidLoad {
// which inspects the data source item for a property or value which would contain the image information.
//

QuadCurveMenu *menu = [[QuadCurveMenu alloc] initWithFrame:self.view.bounds mainMenuImage:@"facebook.png" menuItemImageArray:[NSArray arrayWithObjects:@"edmundo.jpeg",@"hector.jpeg",@"paul.jpeg", nil]];
// QuadCurveMenu *menu = [[QuadCurveMenu alloc] initWithFrame:self.view.bounds mainMenuImage:@"facebook.png" menuItemImageArray:[NSArray arrayWithObjects:@"edmundo.jpeg",@"hector.jpeg",@"paul.jpeg", nil]];

// Remove medallion effect from subitems
[menu setMenuItemFactory:[AwesomeMenuFactory new]];
// [menu setMenuItemFactory:[AwesomeMenuFactory new]];


//
Expand Down

0 comments on commit 92a475f

Please sign in to comment.