mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 19:38:54 -04:00
26 lines
743 B
Objective-C
26 lines
743 B
Objective-C
//
|
|
// FLEXArgumentInputNotSupportedView.m
|
|
// Flipboard
|
|
//
|
|
// Created by Ryan Olson on 6/18/14.
|
|
// Copyright (c) 2020 FLEX Team. All rights reserved.
|
|
//
|
|
|
|
#import "FLEXArgumentInputNotSupportedView.h"
|
|
#import "FLEXColor.h"
|
|
|
|
@implementation FLEXArgumentInputNotSupportedView
|
|
|
|
- (instancetype)initWithArgumentTypeEncoding:(const char *)typeEncoding {
|
|
self = [super initWithArgumentTypeEncoding:typeEncoding];
|
|
if (self) {
|
|
self.inputTextView.userInteractionEnabled = NO;
|
|
self.inputTextView.backgroundColor = [FLEXColor secondaryGroupedBackgroundColorWithAlpha:0.5];
|
|
self.inputPlaceholderText = @"nil (type not supported)";
|
|
self.targetSize = FLEXArgumentInputViewSizeSmall;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|