FBXMLGenerationOptions.m 650 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import "FBXMLGenerationOptions.h"
  10. @implementation FBXMLGenerationOptions
  11. - (FBXMLGenerationOptions *)withScope:(NSString *)scope
  12. {
  13. self.scope = scope;
  14. return self;
  15. }
  16. - (FBXMLGenerationOptions *)withExcludedAttributes:(NSArray<NSString *> *)excludedAttributes
  17. {
  18. self.excludedAttributes = excludedAttributes;
  19. return self;
  20. }
  21. @end