mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
28 lines
547 B
Objective-C
28 lines
547 B
Objective-C
//
|
|
// NKey.m
|
|
// KeymanEngine4Mac
|
|
//
|
|
// Created by Serkan Kurt on 22/06/2015.
|
|
// Copyright (c) 2017 SIL International. All rights reserved.
|
|
//
|
|
|
|
#import "NKey.h"
|
|
|
|
@implementation NKey
|
|
|
|
- (id)init {
|
|
self = [super init];
|
|
if (self) {
|
|
_text = @"";
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
- (NSString *)description {
|
|
NSString *format = @"<%@:%p F:%d S:%d VK:%d TXT:%@ BMP:%@>";
|
|
NSString *str = [NSString stringWithFormat:format, self.className, self, self.flags, self.shift, self.vkey, self.text, self.bitmap];
|
|
return str;
|
|
}
|
|
|
|
@end
|