FLEXGlobalsTableViewControllerEntry.m 734 B

12345678910111213141516171819202122232425
  1. //
  2. // FLEXGlobalsTableViewControllerEntry.m
  3. // UICatalog
  4. //
  5. // Created by Javier Soto on 7/26/14.
  6. // Copyright (c) 2014 f. All rights reserved.
  7. //
  8. #import "FLEXGlobalsTableViewControllerEntry.h"
  9. @implementation FLEXGlobalsTableViewControllerEntry
  10. + (instancetype)entryWithNameFuture:(FLEXGlobalsTableViewControllerEntryNameFuture)nameFuture viewControllerFuture:(FLEXGlobalsTableViewControllerViewControllerFuture)viewControllerFuture
  11. {
  12. NSParameterAssert(nameFuture);
  13. NSParameterAssert(viewControllerFuture);
  14. FLEXGlobalsTableViewControllerEntry *entry = [[self alloc] init];
  15. entry->_entryNameFuture = [nameFuture copy];
  16. entry->_viewControllerFuture = [viewControllerFuture copy];
  17. return entry;
  18. }
  19. @end