Files
GitHawk/Local Pods/SlackTextViewController/Examples/Messenger-Shared/MessageTextView.m
James Sherlock c28c088629 Initial repository spring clean (#415)
* Move SwipeCellKit & SlackTextViewController to Local Pods directory

* Move playgrounds to own folder

* Create podspec for MMMarkdown and move to Local Pods
2017-09-24 18:35:05 -04:00

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