NSTextView-LineNumberView

码农软件 · 软件分类 · 其他开发相关 · 2019-10-20 09:27:37

软件介绍

NSTextView-LineNumberView 可以在 NSTextView 的实例中插入行数,行数视图是被作为 NSRulerView 的子类实现的。

示例:

import Cocoa
// Your view controller
class ViewController: NSViewController {
    // The text view you wish to add line number view to
    @IBOutlet var mainTextView: NSTextView!
    override func viewDidLoad() {
        super.viewDidLoad()
        mainTextView.lnv_setUpLineNumberView()
    }
}

Screenshot

本文地址:https://codercto.com/soft/d/17154.html

The Definitive Guide to HTML5 WebSocket

The Definitive Guide to HTML5 WebSocket

Vanessa Wang、Frank Salim、Peter Moskovits / Apress / 2013-3 / USD 26.30

The browser is, hands down, the most popular and ubiquitous deployment platform available to us today: virtually every computer, smartphone, tablet, and just about every other form factor imaginable c......一起来看看 《The Definitive Guide to HTML5 WebSocket》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具