Files
UnrealEngineUWP/Engine/Source/Programs/IOS/UDKRemote/Classes/TextCell.m
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

43 lines
735 B
Objective-C

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
//
// TextCell.m
// UDKRemote
//
// Created by jadams on 8/2/10.
//
#import "TextCell.h"
@implementation TextCell
@synthesize TextField;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
if ((self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])) {
// Initialization code
}
return self;
}
/**
* When the cell is clicked, make the text field enter edit mode
*/
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
[super setSelected:selected animated:animated];
if (selected)
{
[TextField becomeFirstResponder];
}
}
- (void)dealloc {
[super dealloc];
}
@end