RACGroupedSignal.m 455 B

1234567891011121314151617181920212223242526
  1. //
  2. // RACGroupedSignal.m
  3. // ReactiveObjC
  4. //
  5. // Created by Josh Abernathy on 5/2/12.
  6. // Copyright (c) 2012 GitHub, Inc. All rights reserved.
  7. //
  8. #import "RACGroupedSignal.h"
  9. @interface RACGroupedSignal ()
  10. @property (nonatomic, copy) id<NSCopying> key;
  11. @end
  12. @implementation RACGroupedSignal
  13. #pragma mark API
  14. + (instancetype)signalWithKey:(id<NSCopying>)key {
  15. RACGroupedSignal *subject = [self subject];
  16. subject.key = key;
  17. return subject;
  18. }
  19. @end