Skip to content

Commit

Permalink
Mark all of the AppBar implementation component examples as dragons. (#…
Browse files Browse the repository at this point in the history
…3596)

ButtonBar, FlexibleHeader, HeaderStackView, and NavigationBar are all implementation details of AppBar. While these components can be used on their own, in practice we expect most typical usage to rely on AppBar. FlexibleHeader is a bit blurry in that there is often value in relying on it solely, but because it is not a true concept in the spec and its behavioral demos largely overlap with AppBar's, it is now a dragons demo.

Pivotal story: https://www.pivotaltracker.com/story/show/156982162
  • Loading branch information
jverkoey committed May 1, 2018
1 parent a3ad2dd commit d0866fc
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 25 deletions.
Expand Up @@ -85,10 +85,6 @@ + (BOOL)catalogIsPrimaryDemo {
return NO;
}

+ (BOOL)catalogIsPresentable {
return YES;
}

@end

#pragma mark - Typical application code (not Material-specific)
Expand Down
4 changes: 0 additions & 4 deletions components/ButtonBar/examples/ButtonBarIconExample.m
Expand Up @@ -90,10 +90,6 @@ + (BOOL)catalogIsPrimaryDemo {
return NO;
}

+ (BOOL)catalogIsPresentable {
return YES;
}

@end

#pragma mark - Typical application code (not Material-specific)
Expand Down
4 changes: 0 additions & 4 deletions components/ButtonBar/examples/ButtonBarTypicalUseExample.m
Expand Up @@ -86,10 +86,6 @@ + (NSString *)catalogDescription {
" horizontally-aligned buttons.";
}

+ (BOOL)catalogIsPresentable {
return YES;
}

@end

#pragma mark - Typical application code (not Material-specific)
Expand Down
Expand Up @@ -40,7 +40,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -38,7 +38,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -36,7 +36,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Up @@ -38,7 +38,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -39,7 +39,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -41,7 +41,7 @@ + (BOOL)catalogIsPrimaryDemo {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -38,7 +38,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -36,7 +36,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -116,7 +116,7 @@ + (BOOL)catalogIsPrimaryDemo {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down
Expand Up @@ -135,7 +135,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Up @@ -220,7 +220,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Up @@ -108,7 +108,7 @@ - (BOOL)catalogShouldHideNavigation {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Up @@ -106,4 +106,8 @@ - (BOOL)catalogShouldHideNavigation {
return YES;
}

+ (BOOL)catalogIsPresentable {
return NO;
}

@end
Expand Up @@ -74,7 +74,7 @@ + (BOOL)catalogIsPrimaryDemo {
}

+ (BOOL)catalogIsPresentable {
return YES;
return NO;
}

@end
Expand Down

0 comments on commit d0866fc

Please sign in to comment.