mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-25 01:12:24 +08:00
35 lines
783 B
Objective-C
Executable File
35 lines
783 B
Objective-C
Executable File
//
|
|
// MessageTextView.m
|
|
// Messenger
|
|
//
|
|
// Created by Ignacio Romero Z. on 1/20/15.
|
|
// Copyright (c) 2015 Slack Technologies, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "MessageTextView.h"
|
|
|
|
@implementation MessageTextView
|
|
|
|
- (instancetype)init
|
|
{
|
|
if (self = [super init]) {
|
|
// Do something
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)willMoveToSuperview:(UIView *)newSuperview
|
|
{
|
|
[super willMoveToSuperview:newSuperview];
|
|
|
|
self.backgroundColor = [UIColor whiteColor];
|
|
|
|
self.placeholder = NSLocalizedString(@"Message", nil);
|
|
self.placeholderColor = [UIColor lightGrayColor];
|
|
self.pastableMediaTypes = SLKPastableMediaTypeAll;
|
|
|
|
self.layer.borderColor = [UIColor colorWithRed:217.0/255.0 green:217.0/255.0 blue:217.0/255.0 alpha:1.0].CGColor;
|
|
}
|
|
|
|
@end
|