Updated comments and minor fixes.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
//
|
||||
// MTLabel.swift
|
||||
// MathRenderSwift
|
||||
//
|
||||
// Created by Mike Griebling on 2022-12-31.
|
||||
// Translated from an Objective-C implementation by 安志钢.
|
||||
//
|
||||
// This software may be modified and distributed under the terms of the
|
||||
// MIT license. See the LICENSE file for details.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
@@ -25,6 +26,7 @@ public class MTLabel : NSTextField {
|
||||
super.init(coder: coder)
|
||||
}
|
||||
|
||||
// MARK: - Customized getter and setter methods for property text.
|
||||
var text:String? {
|
||||
get { super.stringValue }
|
||||
set { super.stringValue = newValue! }
|
||||
|
||||
Reference in New Issue
Block a user