Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MWMBookmarkNameCell.mm « Classes « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b65539df480887bc84f66290c787161ee4aa7e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import "MWMBookmarkNameCell.h"

@interface MWMBookmarkNameCell ()

@property (weak, nonatomic) IBOutlet UITextField * nameField;

@end

@implementation MWMBookmarkNameCell

- (void)configWithName:(NSString *)name delegate:(id<UITextFieldDelegate>)delegate
{
  self.nameField.text = name;
  self.nameField.delegate = delegate;
}

- (NSString *)currentName
{
  return self.nameField.text;
}

@end