BaseDemoViewController.h 986 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright 2016 Google LLC. All rights reserved.
  3. *
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  6. * file except in compliance with the License. You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software distributed under
  11. * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
  12. * ANY KIND, either express or implied. See the License for the specific language governing
  13. * permissions and limitations under the License.
  14. */
  15. #import <UIKit/UIKit.h>
  16. /**
  17. * Base view controller for all demos in the Places Demo app. Provides some basic functionality
  18. * which is common across demos.
  19. */
  20. @interface BaseDemoViewController : UIViewController
  21. /**
  22. * The title of the demo. Displayed in lists and navigation bars.
  23. *
  24. * NOTE: This must be overridden by subclasses.
  25. */
  26. + (NSString *)demoTitle;
  27. @end