You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
679 B

  1. //
  2. // FLEXArgumentInputNotSupportedView.m
  3. // Flipboard
  4. //
  5. // Created by Ryan Olson on 6/18/14.
  6. // Copyright (c) 2014 Flipboard. All rights reserved.
  7. //
  8. #import "FLEXArgumentInputNotSupportedView.h"
  9. @implementation FLEXArgumentInputNotSupportedView
  10. - (instancetype)initWithArgumentTypeEncoding:(const char *)typeEncoding
  11. {
  12. self = [super initWithArgumentTypeEncoding:typeEncoding];
  13. if (self) {
  14. self.inputTextView.userInteractionEnabled = NO;
  15. self.inputTextView.backgroundColor = [UIColor colorWithWhite:0.8 alpha:1.0];
  16. self.inputTextView.text = @"nil";
  17. self.targetSize = FLEXArgumentInputViewSizeSmall;
  18. }
  19. return self;
  20. }
  21. @end