Files
UnrealEngineUWP/Engine/Source/Programs/IOS/UDKRemote/Classes/TextCell.m
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -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